diff options
author | Björn Gustavsson <[email protected]> | 2010-02-02 17:55:47 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-02-02 17:56:54 +0100 |
commit | cfd2ba46158ad1ac6798e48150d18c969966a152 (patch) | |
tree | 6c552b0cdd0e88cbcc2a60f0d7b2f5f8b2b05a66 /lib/wx | |
parent | 5b585a4ab588f851902298263630caed458e7021 (diff) | |
download | otp-cfd2ba46158ad1ac6798e48150d18c969966a152.tar.gz otp-cfd2ba46158ad1ac6798e48150d18c969966a152.tar.bz2 otp-cfd2ba46158ad1ac6798e48150d18c969966a152.zip |
Generate without trailing spaces
Diffstat (limited to 'lib/wx')
205 files changed, 8577 insertions, 8577 deletions
diff --git a/lib/wx/c_src/gen/wxe_derived_dest.h b/lib/wx/c_src/gen/wxe_derived_dest.h index b8ff8519f1..57b0faa2cb 100644 --- a/lib/wx/c_src/gen/wxe_derived_dest.h +++ b/lib/wx/c_src/gen/wxe_derived_dest.h @@ -17,219 +17,219 @@ * %CopyrightEnd% */ -/***** This file is generated do not edit ****/ +/***** This file is generated do not edit ****/ -class EwxWindow : public wxWindow { - public: ~EwxWindow() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxWindow : public wxWindow { + public: ~EwxWindow() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxWindow(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxWindow(parent,id,pos,size,style) {}; EwxWindow() : wxWindow() {}; -}; +}; -class EwxFrame : public wxFrame { - public: ~EwxFrame() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxFrame : public wxFrame { + public: ~EwxFrame() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxFrame(wxWindow * parent,wxWindowID id,const wxString& title,const wxPoint& pos,const wxSize& size,long style) : wxFrame(parent,id,title,pos,size,style) {}; EwxFrame() : wxFrame() {}; -}; +}; -class EwxMiniFrame : public wxMiniFrame { - public: ~EwxMiniFrame() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxMiniFrame : public wxMiniFrame { + public: ~EwxMiniFrame() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxMiniFrame(wxWindow * parent,wxWindowID id,const wxString& title,const wxPoint& pos,const wxSize& size,long style) : wxMiniFrame(parent,id,title,pos,size,style) {}; EwxMiniFrame() : wxMiniFrame() {}; -}; +}; -class EwxSplashScreen : public wxSplashScreen { - public: ~EwxSplashScreen() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxSplashScreen : public wxSplashScreen { + public: ~EwxSplashScreen() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxSplashScreen(const wxBitmap& bitmap,long splashStyle,int milliseconds,wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxSplashScreen(bitmap,splashStyle,milliseconds,parent,id,pos,size,style) {}; EwxSplashScreen() : wxSplashScreen() {}; -}; +}; -class EwxPanel : public wxPanel { - public: ~EwxPanel() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxPanel : public wxPanel { + public: ~EwxPanel() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxPanel(wxWindow * parent,int x,int y,int width,int height,long style) : wxPanel(parent,x,y,width,height,style) {}; EwxPanel(wxWindow * parent,wxWindowID winid,const wxPoint& pos,const wxSize& size,long style) : wxPanel(parent,winid,pos,size,style) {}; EwxPanel() : wxPanel() {}; -}; +}; -class EwxScrolledWindow : public wxScrolledWindow { - public: ~EwxScrolledWindow() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxScrolledWindow : public wxScrolledWindow { + public: ~EwxScrolledWindow() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxScrolledWindow(wxWindow * parent,wxWindowID winid,const wxPoint& pos,const wxSize& size,long style) : wxScrolledWindow(parent,winid,pos,size,style) {}; EwxScrolledWindow() : wxScrolledWindow() {}; -}; +}; -class EwxSashWindow : public wxSashWindow { - public: ~EwxSashWindow() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxSashWindow : public wxSashWindow { + public: ~EwxSashWindow() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxSashWindow(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxSashWindow(parent,id,pos,size,style) {}; EwxSashWindow() : wxSashWindow() {}; -}; +}; -class EwxSashLayoutWindow : public wxSashLayoutWindow { - public: ~EwxSashLayoutWindow() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxSashLayoutWindow : public wxSashLayoutWindow { + public: ~EwxSashLayoutWindow() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxSashLayoutWindow(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxSashLayoutWindow(parent,id,pos,size,style) {}; EwxSashLayoutWindow() : wxSashLayoutWindow() {}; -}; +}; -class EwxGrid : public wxGrid { - public: ~EwxGrid() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxGrid : public wxGrid { + public: ~EwxGrid() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxGrid(wxWindow * parent,int x,int y,int w,int h,long style) : wxGrid(parent,x,y,w,h,style) {}; EwxGrid(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxGrid(parent,id,pos,size,style) {}; EwxGrid() : wxGrid() {}; -}; +}; -class EwxMirrorDC : public wxMirrorDC { - public: ~EwxMirrorDC() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxMirrorDC : public wxMirrorDC { + public: ~EwxMirrorDC() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxMirrorDC(wxDC& dc,bool mirror) : wxMirrorDC(dc,mirror) {}; -}; +}; -class EwxScreenDC : public wxScreenDC { - public: ~EwxScreenDC() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxScreenDC : public wxScreenDC { + public: ~EwxScreenDC() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxScreenDC() : wxScreenDC() {}; -}; +}; -class EwxPostScriptDC : public wxPostScriptDC { - public: ~EwxPostScriptDC() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxPostScriptDC : public wxPostScriptDC { + public: ~EwxPostScriptDC() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxPostScriptDC(const wxPrintData& printData) : wxPostScriptDC(printData) {}; EwxPostScriptDC() : wxPostScriptDC() {}; -}; +}; -class EwxWindowDC : public wxWindowDC { - public: ~EwxWindowDC() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxWindowDC : public wxWindowDC { + public: ~EwxWindowDC() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxWindowDC(wxWindow * win) : wxWindowDC(win) {}; EwxWindowDC() : wxWindowDC() {}; -}; +}; -class EwxClientDC : public wxClientDC { - public: ~EwxClientDC() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxClientDC : public wxClientDC { + public: ~EwxClientDC() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxClientDC(wxWindow * win) : wxClientDC(win) {}; EwxClientDC() : wxClientDC() {}; -}; +}; -class EwxPaintDC : public wxPaintDC { - public: ~EwxPaintDC() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxPaintDC : public wxPaintDC { + public: ~EwxPaintDC() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxPaintDC(wxWindow * win) : wxPaintDC(win) {}; EwxPaintDC() : wxPaintDC() {}; -}; +}; -class EwxMemoryDC : public wxMemoryDC { - public: ~EwxMemoryDC() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxMemoryDC : public wxMemoryDC { + public: ~EwxMemoryDC() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxMemoryDC(wxDC * dc) : wxMemoryDC(dc) {}; EwxMemoryDC(wxBitmap& dc) : wxMemoryDC(dc) {}; EwxMemoryDC() : wxMemoryDC() {}; -}; +}; -class EwxBufferedDC : public wxBufferedDC { - public: ~EwxBufferedDC() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxBufferedDC : public wxBufferedDC { + public: ~EwxBufferedDC() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxBufferedDC(wxDC * dc,const wxSize& area,int style) : wxBufferedDC(dc,area,style) {}; EwxBufferedDC(wxDC * dc,wxBitmap& buffer,int style) : wxBufferedDC(dc,buffer,style) {}; EwxBufferedDC() : wxBufferedDC() {}; -}; +}; -class EwxBufferedPaintDC : public wxBufferedPaintDC { - public: ~EwxBufferedPaintDC() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxBufferedPaintDC : public wxBufferedPaintDC { + public: ~EwxBufferedPaintDC() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxBufferedPaintDC(wxWindow * window,wxBitmap& buffer,int style) : wxBufferedPaintDC(window,buffer,style) {}; EwxBufferedPaintDC(wxWindow * window,int style) : wxBufferedPaintDC(window,style) {}; -}; +}; -class EwxMenuBar : public wxMenuBar { - public: ~EwxMenuBar() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxMenuBar : public wxMenuBar { + public: ~EwxMenuBar() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxMenuBar(long style) : wxMenuBar(style) {}; EwxMenuBar() : wxMenuBar() {}; -}; +}; -class EwxMenu : public wxMenu { - public: ~EwxMenu() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxMenu : public wxMenu { + public: ~EwxMenu() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxMenu(const wxString& title,long style) : wxMenu(title,style) {}; EwxMenu(long style) : wxMenu(style) {}; -}; +}; -class EwxMenuItem : public wxMenuItem { - public: ~EwxMenuItem() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxMenuItem : public wxMenuItem { + public: ~EwxMenuItem() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxMenuItem(wxMenu * parentMenu,int id,const wxString& text,const wxString& help,wxItemKind kind,wxMenu * subMenu) : wxMenuItem(parentMenu,id,text,help,kind,subMenu) {}; -}; +}; -class EwxStatusBar : public wxStatusBar { - public: ~EwxStatusBar() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxStatusBar : public wxStatusBar { + public: ~EwxStatusBar() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxStatusBar(wxWindow * parent,wxWindowID winid,long style) : wxStatusBar(parent,winid,style) {}; EwxStatusBar() : wxStatusBar() {}; -}; +}; -class EwxBitmap : public wxBitmap { - public: ~EwxBitmap() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxBitmap : public wxBitmap { + public: ~EwxBitmap() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxBitmap(const char * bits,int width,int height,int depth) : wxBitmap(bits,width,height,depth) {}; EwxBitmap(int width,int height,int depth) : wxBitmap(width,height,depth) {}; EwxBitmap(const wxString& filename,wxBitmapType type) : wxBitmap(filename,type) {}; EwxBitmap(const wxImage& image,int depth) : wxBitmap(image,depth) {}; EwxBitmap() : wxBitmap() {}; -}; +}; -class EwxIcon : public wxIcon { - public: ~EwxIcon() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxIcon : public wxIcon { + public: ~EwxIcon() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxIcon(const wxString& filename,wxBitmapType type,int desiredWidth,int desiredHeight) : wxIcon(filename,type,desiredWidth,desiredHeight) {}; EwxIcon(const wxIconLocation& loc) : wxIcon(loc) {}; EwxIcon() : wxIcon() {}; -}; +}; -class EwxCursor : public wxCursor { - public: ~EwxCursor() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxCursor : public wxCursor { + public: ~EwxCursor() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxCursor(const char * bits,int width,int height,int hotSpotX,int hotSpotY) : wxCursor(bits,width,height,hotSpotX,hotSpotY) {}; EwxCursor(int cursorId) : wxCursor(cursorId) {}; EwxCursor(const wxImage& image) : wxCursor(image) {}; EwxCursor() : wxCursor() {}; -}; +}; -class EwxMask : public wxMask { - public: ~EwxMask() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxMask : public wxMask { + public: ~EwxMask() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxMask(const wxBitmap& bitmap,int paletteIndex) : wxMask(bitmap,paletteIndex) {}; EwxMask(const wxBitmap& bitmap,const wxColour& colour) : wxMask(bitmap,colour) {}; EwxMask(const wxBitmap& bitmap) : wxMask(bitmap) {}; EwxMask() : wxMask() {}; -}; +}; -class EwxImage : public wxImage { - public: ~EwxImage() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxImage : public wxImage { + public: ~EwxImage() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxImage(int width,int height,unsigned char * data,unsigned char * alpha,bool static_data) : wxImage(width,height,data,alpha,static_data) {}; EwxImage(int width,int height,unsigned char * data,bool static_data) : wxImage(width,height,data,static_data) {}; EwxImage(int width,int height,bool clear) : wxImage(width,height,clear) {}; EwxImage(const wxString& name,const wxString& mimetype,int index) : wxImage(name,mimetype,index) {}; EwxImage(const wxString& name,long type,int index) : wxImage(name,type,index) {}; EwxImage() : wxImage() {}; -}; +}; -class EwxBrush : public wxBrush { - public: ~EwxBrush() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxBrush : public wxBrush { + public: ~EwxBrush() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxBrush(const wxColour& colour,int style) : wxBrush(colour,style) {}; EwxBrush(const wxBitmap& stippleBitmap) : wxBrush(stippleBitmap) {}; EwxBrush() : wxBrush() {}; -}; +}; -class EwxPen : public wxPen { - public: ~EwxPen() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxPen : public wxPen { + public: ~EwxPen() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxPen(const wxColour& colour,int width,int style) : wxPen(colour,width,style) {}; EwxPen() : wxPen() {}; -}; +}; -class EwxRegion : public wxRegion { - public: ~EwxRegion() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxRegion : public wxRegion { + public: ~EwxRegion() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxRegion(wxCoord x,wxCoord y,wxCoord w,wxCoord h) : wxRegion(x,y,w,h) {}; EwxRegion(const wxPoint& topLeft,const wxPoint& bottomRight) : wxRegion(topLeft,bottomRight) {}; EwxRegion(const wxBitmap& bmp) : wxRegion(bmp) {}; EwxRegion(const wxRect& rect) : wxRegion(rect) {}; EwxRegion() : wxRegion() {}; -}; +}; -class EwxAcceleratorTable : public wxAcceleratorTable { - public: ~EwxAcceleratorTable() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxAcceleratorTable : public wxAcceleratorTable { + public: ~EwxAcceleratorTable() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxAcceleratorTable(int n,const wxAcceleratorEntry * entries) : wxAcceleratorTable(n,entries) {}; EwxAcceleratorTable() : wxAcceleratorTable() {}; -}; +}; -class EwxCaret : public wxCaret { - public: ~EwxCaret() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxCaret : public wxCaret { + public: ~EwxCaret() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxCaret(wxWindow * window,int width,int height) : wxCaret(window,width,height) {}; EwxCaret(wxWindow * window,const wxSize& size) : wxCaret(window,size) {}; -}; +}; -class EwxSizerItem : public wxSizerItem { - public: ~EwxSizerItem() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxSizerItem : public wxSizerItem { + public: ~EwxSizerItem() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxSizerItem(int width,int height,int proportion,int flag,int border,wxObject * userData) : wxSizerItem(width,height,proportion,flag,border,userData) {}; EwxSizerItem(wxWindow * window,int proportion,int flag,int border,wxObject * userData) : wxSizerItem(window,proportion,flag,border,userData) {}; EwxSizerItem(wxSizer * window,int proportion,int flag,int border,wxObject * userData) : wxSizerItem(window,proportion,flag,border,userData) {}; @@ -237,483 +237,483 @@ class EwxSizerItem : public wxSizerItem { EwxSizerItem(wxWindow * window,const wxSizerFlags& flags) : wxSizerItem(window,flags) {}; EwxSizerItem(wxSizer * window,const wxSizerFlags& flags) : wxSizerItem(window,flags) {}; EwxSizerItem() : wxSizerItem() {}; -}; +}; -class EwxBoxSizer : public wxBoxSizer { - public: ~EwxBoxSizer() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxBoxSizer : public wxBoxSizer { + public: ~EwxBoxSizer() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxBoxSizer(int orient) : wxBoxSizer(orient) {}; -}; +}; -class EwxStaticBoxSizer : public wxStaticBoxSizer { - public: ~EwxStaticBoxSizer() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxStaticBoxSizer : public wxStaticBoxSizer { + public: ~EwxStaticBoxSizer() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxStaticBoxSizer(int orient,wxWindow * win,const wxString& label) : wxStaticBoxSizer(orient,win,label) {}; EwxStaticBoxSizer(wxStaticBox * box,int orient) : wxStaticBoxSizer(box,orient) {}; -}; +}; -class EwxGridSizer : public wxGridSizer { - public: ~EwxGridSizer() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxGridSizer : public wxGridSizer { + public: ~EwxGridSizer() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxGridSizer(int rows,int cols,int vgap,int hgap) : wxGridSizer(rows,cols,vgap,hgap) {}; EwxGridSizer(int cols,int vgap,int hgap) : wxGridSizer(cols,vgap,hgap) {}; -}; +}; -class EwxFlexGridSizer : public wxFlexGridSizer { - public: ~EwxFlexGridSizer() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxFlexGridSizer : public wxFlexGridSizer { + public: ~EwxFlexGridSizer() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxFlexGridSizer(int rows,int cols,int vgap,int hgap) : wxFlexGridSizer(rows,cols,vgap,hgap) {}; EwxFlexGridSizer(int cols,int vgap,int hgap) : wxFlexGridSizer(cols,vgap,hgap) {}; -}; +}; -class EwxGridBagSizer : public wxGridBagSizer { - public: ~EwxGridBagSizer() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxGridBagSizer : public wxGridBagSizer { + public: ~EwxGridBagSizer() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxGridBagSizer(int vgap,int hgap) : wxGridBagSizer(vgap,hgap) {}; -}; +}; -class EwxStdDialogButtonSizer : public wxStdDialogButtonSizer { - public: ~EwxStdDialogButtonSizer() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxStdDialogButtonSizer : public wxStdDialogButtonSizer { + public: ~EwxStdDialogButtonSizer() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxStdDialogButtonSizer() : wxStdDialogButtonSizer() {}; -}; +}; -class EwxFont : public wxFont { - public: ~EwxFont() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxFont : public wxFont { + public: ~EwxFont() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxFont(int size,int family,int style,int weight,bool underlined,const wxString& face,wxFontEncoding encoding) : wxFont(size,family,style,weight,underlined,face,encoding) {}; EwxFont(const wxString& fontname) : wxFont(fontname) {}; EwxFont() : wxFont() {}; -}; +}; -class EwxToolTip : public wxToolTip { - public: ~EwxToolTip() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxToolTip : public wxToolTip { + public: ~EwxToolTip() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxToolTip(const wxString& tip) : wxToolTip(tip) {}; -}; +}; -class EwxButton : public wxButton { - public: ~EwxButton() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxButton : public wxButton { + public: ~EwxButton() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxButton(wxWindow * parent,wxWindowID id,const wxString& label,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxButton(parent,id,label,pos,size,style,validator) {}; EwxButton() : wxButton() {}; -}; +}; -class EwxBitmapButton : public wxBitmapButton { - public: ~EwxBitmapButton() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxBitmapButton : public wxBitmapButton { + public: ~EwxBitmapButton() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxBitmapButton(wxWindow * parent,wxWindowID id,const wxBitmap& bitmap,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxBitmapButton(parent,id,bitmap,pos,size,style,validator) {}; EwxBitmapButton() : wxBitmapButton() {}; -}; +}; -class EwxToggleButton : public wxToggleButton { - public: ~EwxToggleButton() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxToggleButton : public wxToggleButton { + public: ~EwxToggleButton() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxToggleButton(wxWindow * parent,wxWindowID id,const wxString& label,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxToggleButton(parent,id,label,pos,size,style,validator) {}; EwxToggleButton() : wxToggleButton() {}; -}; +}; -class EwxCalendarCtrl : public wxCalendarCtrl { - public: ~EwxCalendarCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxCalendarCtrl : public wxCalendarCtrl { + public: ~EwxCalendarCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxCalendarCtrl(wxWindow * parent,wxWindowID id,const wxDateTime& date,const wxPoint& pos,const wxSize& size,long style) : wxCalendarCtrl(parent,id,date,pos,size,style) {}; EwxCalendarCtrl() : wxCalendarCtrl() {}; -}; +}; -class EwxCheckBox : public wxCheckBox { - public: ~EwxCheckBox() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxCheckBox : public wxCheckBox { + public: ~EwxCheckBox() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxCheckBox(wxWindow * parent,wxWindowID id,const wxString& label,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxCheckBox(parent,id,label,pos,size,style,validator) {}; EwxCheckBox() : wxCheckBox() {}; -}; +}; -class EwxCheckListBox : public wxCheckListBox { - public: ~EwxCheckListBox() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxCheckListBox : public wxCheckListBox { + public: ~EwxCheckListBox() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxCheckListBox(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,const wxArrayString& choices,long style,const wxValidator& validator) : wxCheckListBox(parent,id,pos,size,choices,style,validator) {}; EwxCheckListBox() : wxCheckListBox() {}; -}; +}; -class EwxChoice : public wxChoice { - public: ~EwxChoice() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxChoice : public wxChoice { + public: ~EwxChoice() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxChoice(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,const wxArrayString& choices,long style,const wxValidator& validator) : wxChoice(parent,id,pos,size,choices,style,validator) {}; EwxChoice() : wxChoice() {}; -}; +}; -class EwxComboBox : public wxComboBox { - public: ~EwxComboBox() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxComboBox : public wxComboBox { + public: ~EwxComboBox() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxComboBox(wxWindow * parent,wxWindowID id,const wxString& value,const wxPoint& pos,const wxSize& size,const wxArrayString& choices,long style,const wxValidator& validator) : wxComboBox(parent,id,value,pos,size,choices,style,validator) {}; EwxComboBox() : wxComboBox() {}; -}; +}; -class EwxGauge : public wxGauge { - public: ~EwxGauge() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxGauge : public wxGauge { + public: ~EwxGauge() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxGauge(wxWindow * parent,wxWindowID id,int range,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxGauge(parent,id,range,pos,size,style,validator) {}; EwxGauge() : wxGauge() {}; -}; +}; -class EwxGenericDirCtrl : public wxGenericDirCtrl { - public: ~EwxGenericDirCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxGenericDirCtrl : public wxGenericDirCtrl { + public: ~EwxGenericDirCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxGenericDirCtrl(wxWindow * parent,const wxWindowID id,const wxString& dir,const wxPoint& pos,const wxSize& size,long style,const wxString& filter,int defaultFilter) : wxGenericDirCtrl(parent,id,dir,pos,size,style,filter,defaultFilter) {}; EwxGenericDirCtrl() : wxGenericDirCtrl() {}; -}; +}; -class EwxStaticBox : public wxStaticBox { - public: ~EwxStaticBox() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxStaticBox : public wxStaticBox { + public: ~EwxStaticBox() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxStaticBox(wxWindow * parent,wxWindowID id,const wxString& label,const wxPoint& pos,const wxSize& size,long style) : wxStaticBox(parent,id,label,pos,size,style) {}; EwxStaticBox() : wxStaticBox() {}; -}; +}; -class EwxStaticLine : public wxStaticLine { - public: ~EwxStaticLine() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxStaticLine : public wxStaticLine { + public: ~EwxStaticLine() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxStaticLine(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxStaticLine(parent,id,pos,size,style) {}; EwxStaticLine() : wxStaticLine() {}; -}; +}; -class EwxListBox : public wxListBox { - public: ~EwxListBox() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxListBox : public wxListBox { + public: ~EwxListBox() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxListBox(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,const wxArrayString& choices,long style,const wxValidator& validator) : wxListBox(parent,id,pos,size,choices,style,validator) {}; EwxListBox() : wxListBox() {}; -}; +}; -class EwxListCtrl : public wxListCtrl { - public: ~EwxListCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxListCtrl : public wxListCtrl { + public: ~EwxListCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxListCtrl(wxWindow * parent,wxWindowID winid,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxListCtrl(parent,winid,pos,size,style,validator) {}; EwxListCtrl() : wxListCtrl() {}; -}; +}; -class EwxListItem : public wxListItem { - public: ~EwxListItem() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxListItem : public wxListItem { + public: ~EwxListItem() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxListItem(const wxListItem& item) : wxListItem(item) {}; EwxListItem() : wxListItem() {}; -}; +}; -class EwxImageList : public wxImageList { - public: ~EwxImageList() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxImageList : public wxImageList { + public: ~EwxImageList() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxImageList(int width,int height,bool mask,int initialCount) : wxImageList(width,height,mask,initialCount) {}; EwxImageList() : wxImageList() {}; -}; +}; -class EwxTextCtrl : public wxTextCtrl { - public: ~EwxTextCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxTextCtrl : public wxTextCtrl { + public: ~EwxTextCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxTextCtrl(wxWindow * parent,wxWindowID id,const wxString& value,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxTextCtrl(parent,id,value,pos,size,style,validator) {}; EwxTextCtrl() : wxTextCtrl() {}; -}; +}; -class EwxNotebook : public wxNotebook { - public: ~EwxNotebook() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxNotebook : public wxNotebook { + public: ~EwxNotebook() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxNotebook(wxWindow * parent,wxWindowID winid,const wxPoint& pos,const wxSize& size,long style) : wxNotebook(parent,winid,pos,size,style) {}; EwxNotebook() : wxNotebook() {}; -}; +}; -class EwxChoicebook : public wxChoicebook { - public: ~EwxChoicebook() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxChoicebook : public wxChoicebook { + public: ~EwxChoicebook() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxChoicebook(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxChoicebook(parent,id,pos,size,style) {}; EwxChoicebook() : wxChoicebook() {}; -}; +}; -class EwxToolbook : public wxToolbook { - public: ~EwxToolbook() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxToolbook : public wxToolbook { + public: ~EwxToolbook() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxToolbook(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxToolbook(parent,id,pos,size,style) {}; EwxToolbook() : wxToolbook() {}; -}; +}; -class EwxListbook : public wxListbook { - public: ~EwxListbook() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxListbook : public wxListbook { + public: ~EwxListbook() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxListbook(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxListbook(parent,id,pos,size,style) {}; EwxListbook() : wxListbook() {}; -}; +}; -class EwxTreebook : public wxTreebook { - public: ~EwxTreebook() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxTreebook : public wxTreebook { + public: ~EwxTreebook() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxTreebook(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxTreebook(parent,id,pos,size,style) {}; EwxTreebook() : wxTreebook() {}; -}; +}; -class EwxTreeCtrl : public wxTreeCtrl { - public: ~EwxTreeCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxTreeCtrl : public wxTreeCtrl { + public: ~EwxTreeCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxTreeCtrl(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxTreeCtrl(parent,id,pos,size,style,validator) {}; EwxTreeCtrl() : wxTreeCtrl() {}; -}; +}; -class EwxScrollBar : public wxScrollBar { - public: ~EwxScrollBar() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxScrollBar : public wxScrollBar { + public: ~EwxScrollBar() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxScrollBar(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxScrollBar(parent,id,pos,size,style,validator) {}; EwxScrollBar() : wxScrollBar() {}; -}; +}; -class EwxSpinButton : public wxSpinButton { - public: ~EwxSpinButton() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxSpinButton : public wxSpinButton { + public: ~EwxSpinButton() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxSpinButton(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxSpinButton(parent,id,pos,size,style) {}; EwxSpinButton() : wxSpinButton() {}; -}; +}; -class EwxSpinCtrl : public wxSpinCtrl { - public: ~EwxSpinCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxSpinCtrl : public wxSpinCtrl { + public: ~EwxSpinCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxSpinCtrl(wxWindow * parent,wxWindowID id,const wxString& value,const wxPoint& pos,const wxSize& size,long style,int min,int max,int initial) : wxSpinCtrl(parent,id,value,pos,size,style,min,max,initial) {}; EwxSpinCtrl() : wxSpinCtrl() {}; -}; +}; -class EwxStaticText : public wxStaticText { - public: ~EwxStaticText() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxStaticText : public wxStaticText { + public: ~EwxStaticText() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxStaticText(wxWindow * parent,wxWindowID id,const wxString& label,const wxPoint& pos,const wxSize& size,long style) : wxStaticText(parent,id,label,pos,size,style) {}; EwxStaticText() : wxStaticText() {}; -}; +}; -class EwxStaticBitmap : public wxStaticBitmap { - public: ~EwxStaticBitmap() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxStaticBitmap : public wxStaticBitmap { + public: ~EwxStaticBitmap() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxStaticBitmap(wxWindow * parent,wxWindowID id,const wxBitmap& label,const wxPoint& pos,const wxSize& size,long style) : wxStaticBitmap(parent,id,label,pos,size,style) {}; EwxStaticBitmap() : wxStaticBitmap() {}; -}; +}; -class EwxRadioBox : public wxRadioBox { - public: ~EwxRadioBox() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxRadioBox : public wxRadioBox { + public: ~EwxRadioBox() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxRadioBox(wxWindow * parent,wxWindowID id,const wxString& title,const wxPoint& pos,const wxSize& size,const wxArrayString& choices,int majorDim,long style,const wxValidator& val) : wxRadioBox(parent,id,title,pos,size,choices,majorDim,style,val) {}; -}; +}; -class EwxRadioButton : public wxRadioButton { - public: ~EwxRadioButton() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxRadioButton : public wxRadioButton { + public: ~EwxRadioButton() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxRadioButton(wxWindow * parent,wxWindowID id,const wxString& label,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxRadioButton(parent,id,label,pos,size,style,validator) {}; EwxRadioButton() : wxRadioButton() {}; -}; +}; -class EwxSlider : public wxSlider { - public: ~EwxSlider() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxSlider : public wxSlider { + public: ~EwxSlider() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxSlider(wxWindow * parent,wxWindowID id,int value,int minValue,int maxValue,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxSlider(parent,id,value,minValue,maxValue,pos,size,style,validator) {}; EwxSlider() : wxSlider() {}; -}; +}; -class EwxDialog : public wxDialog { - public: ~EwxDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxDialog : public wxDialog { + public: ~EwxDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxDialog(wxWindow * parent,wxWindowID id,const wxString& title,const wxPoint& pos,const wxSize& size,long style) : wxDialog(parent,id,title,pos,size,style) {}; EwxDialog() : wxDialog() {}; -}; +}; -class EwxColourDialog : public wxColourDialog { - public: ~EwxColourDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxColourDialog : public wxColourDialog { + public: ~EwxColourDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxColourDialog(wxWindow * parent,wxColourData * data) : wxColourDialog(parent,data) {}; EwxColourDialog() : wxColourDialog() {}; -}; +}; -class EwxColourData : public wxColourData { - public: ~EwxColourData() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxColourData : public wxColourData { + public: ~EwxColourData() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxColourData(const wxColourData& data) : wxColourData(data) {}; EwxColourData() : wxColourData() {}; -}; +}; -class EwxPalette : public wxPalette { - public: ~EwxPalette() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxPalette : public wxPalette { + public: ~EwxPalette() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxPalette(int n,const unsigned char * red,const unsigned char * green,const unsigned char * blue) : wxPalette(n,red,green,blue) {}; EwxPalette() : wxPalette() {}; -}; +}; -class EwxDirDialog : public wxDirDialog { - public: ~EwxDirDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxDirDialog : public wxDirDialog { + public: ~EwxDirDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxDirDialog(wxWindow * parent,const wxString& title,const wxString& defaultPath,long style,const wxPoint& pos,const wxSize& sz) : wxDirDialog(parent,title,defaultPath,style,pos,sz) {}; -}; +}; -class EwxFileDialog : public wxFileDialog { - public: ~EwxFileDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxFileDialog : public wxFileDialog { + public: ~EwxFileDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxFileDialog(wxWindow * parent,const wxString& message,const wxString& defaultDir,const wxString& defaultFile,const wxString& wildCard,long style,const wxPoint& pos,const wxSize& sz) : wxFileDialog(parent,message,defaultDir,defaultFile,wildCard,style,pos,sz) {}; -}; +}; -class EwxFilePickerCtrl : public wxFilePickerCtrl { - public: ~EwxFilePickerCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxFilePickerCtrl : public wxFilePickerCtrl { + public: ~EwxFilePickerCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxFilePickerCtrl(wxWindow * parent,wxWindowID id,const wxString& path,const wxString& message,const wxString& wildcard,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxFilePickerCtrl(parent,id,path,message,wildcard,pos,size,style,validator) {}; EwxFilePickerCtrl() : wxFilePickerCtrl() {}; -}; +}; -class EwxDirPickerCtrl : public wxDirPickerCtrl { - public: ~EwxDirPickerCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxDirPickerCtrl : public wxDirPickerCtrl { + public: ~EwxDirPickerCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxDirPickerCtrl(wxWindow * parent,wxWindowID id,const wxString& path,const wxString& message,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxDirPickerCtrl(parent,id,path,message,pos,size,style,validator) {}; EwxDirPickerCtrl() : wxDirPickerCtrl() {}; -}; +}; -class EwxColourPickerCtrl : public wxColourPickerCtrl { - public: ~EwxColourPickerCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxColourPickerCtrl : public wxColourPickerCtrl { + public: ~EwxColourPickerCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxColourPickerCtrl(wxWindow * parent,wxWindowID id,const wxColour& col,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxColourPickerCtrl(parent,id,col,pos,size,style,validator) {}; EwxColourPickerCtrl() : wxColourPickerCtrl() {}; -}; +}; -class EwxDatePickerCtrl : public wxDatePickerCtrl { - public: ~EwxDatePickerCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxDatePickerCtrl : public wxDatePickerCtrl { + public: ~EwxDatePickerCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxDatePickerCtrl(wxWindow * parent,wxWindowID id,const wxDateTime& date,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxDatePickerCtrl(parent,id,date,pos,size,style,validator) {}; EwxDatePickerCtrl() : wxDatePickerCtrl() {}; -}; +}; -class EwxFontPickerCtrl : public wxFontPickerCtrl { - public: ~EwxFontPickerCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxFontPickerCtrl : public wxFontPickerCtrl { + public: ~EwxFontPickerCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxFontPickerCtrl(wxWindow * parent,wxWindowID id,const wxFont& initial,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxFontPickerCtrl(parent,id,initial,pos,size,style,validator) {}; EwxFontPickerCtrl() : wxFontPickerCtrl() {}; -}; +}; -class EwxFindReplaceDialog : public wxFindReplaceDialog { - public: ~EwxFindReplaceDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxFindReplaceDialog : public wxFindReplaceDialog { + public: ~EwxFindReplaceDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxFindReplaceDialog(wxWindow * parent,wxFindReplaceData * data,const wxString& title,int style) : wxFindReplaceDialog(parent,data,title,style) {}; EwxFindReplaceDialog() : wxFindReplaceDialog() {}; -}; +}; -class EwxFindReplaceData : public wxFindReplaceData { - public: ~EwxFindReplaceData() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxFindReplaceData : public wxFindReplaceData { + public: ~EwxFindReplaceData() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxFindReplaceData(unsigned int flags) : wxFindReplaceData(flags) {}; EwxFindReplaceData() : wxFindReplaceData() {}; -}; +}; -class EwxMultiChoiceDialog : public wxMultiChoiceDialog { - public: ~EwxMultiChoiceDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxMultiChoiceDialog : public wxMultiChoiceDialog { + public: ~EwxMultiChoiceDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxMultiChoiceDialog(wxWindow * parent,const wxString& message,const wxString& caption,const wxArrayString& choices,long style,const wxPoint& pos) : wxMultiChoiceDialog(parent,message,caption,choices,style,pos) {}; EwxMultiChoiceDialog() : wxMultiChoiceDialog() {}; -}; +}; -class EwxSingleChoiceDialog : public wxSingleChoiceDialog { - public: ~EwxSingleChoiceDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxSingleChoiceDialog : public wxSingleChoiceDialog { + public: ~EwxSingleChoiceDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxSingleChoiceDialog(wxWindow * parent,const wxString& message,const wxString& caption,const wxArrayString& choices,char ** clientData,long style,const wxPoint& pos) : wxSingleChoiceDialog(parent,message,caption,choices,clientData,style,pos) {}; EwxSingleChoiceDialog() : wxSingleChoiceDialog() {}; -}; +}; -class EwxTextEntryDialog : public wxTextEntryDialog { - public: ~EwxTextEntryDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxTextEntryDialog : public wxTextEntryDialog { + public: ~EwxTextEntryDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxTextEntryDialog(wxWindow * parent,const wxString& message,const wxString& caption,const wxString& value,long style,const wxPoint& pos) : wxTextEntryDialog(parent,message,caption,value,style,pos) {}; -}; +}; -class EwxPasswordEntryDialog : public wxPasswordEntryDialog { - public: ~EwxPasswordEntryDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxPasswordEntryDialog : public wxPasswordEntryDialog { + public: ~EwxPasswordEntryDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxPasswordEntryDialog(wxWindow * parent,const wxString& message,const wxString& caption,const wxString& value,long style,const wxPoint& pos) : wxPasswordEntryDialog(parent,message,caption,value,style,pos) {}; -}; +}; -class EwxFontData : public wxFontData { - public: ~EwxFontData() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxFontData : public wxFontData { + public: ~EwxFontData() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxFontData(const wxFontData& data) : wxFontData(data) {}; EwxFontData() : wxFontData() {}; -}; +}; -class EwxFontDialog : public wxFontDialog { - public: ~EwxFontDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxFontDialog : public wxFontDialog { + public: ~EwxFontDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxFontDialog(wxWindow * parent,const wxFontData& data) : wxFontDialog(parent,data) {}; EwxFontDialog() : wxFontDialog() {}; -}; +}; -class EwxProgressDialog : public wxProgressDialog { - public: ~EwxProgressDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxProgressDialog : public wxProgressDialog { + public: ~EwxProgressDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxProgressDialog(const wxString& title,const wxString& message,int maximum,wxWindow * parent,int style) : wxProgressDialog(title,message,maximum,parent,style) {}; -}; +}; -class EwxMessageDialog : public wxMessageDialog { - public: ~EwxMessageDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxMessageDialog : public wxMessageDialog { + public: ~EwxMessageDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxMessageDialog(wxWindow * parent,const wxString& message,const wxString& caption,long style,const wxPoint& pos) : wxMessageDialog(parent,message,caption,style,pos) {}; -}; +}; -class EwxPageSetupDialog : public wxPageSetupDialog { - public: ~EwxPageSetupDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxPageSetupDialog : public wxPageSetupDialog { + public: ~EwxPageSetupDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxPageSetupDialog(wxWindow * parent,wxPageSetupDialogData * data) : wxPageSetupDialog(parent,data) {}; -}; +}; -class EwxPageSetupDialogData : public wxPageSetupDialogData { - public: ~EwxPageSetupDialogData() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxPageSetupDialogData : public wxPageSetupDialogData { + public: ~EwxPageSetupDialogData() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxPageSetupDialogData(const wxPrintData& printData) : wxPageSetupDialogData(printData) {}; EwxPageSetupDialogData(const wxPageSetupDialogData& printData) : wxPageSetupDialogData(printData) {}; EwxPageSetupDialogData() : wxPageSetupDialogData() {}; -}; +}; -class EwxPrintDialog : public wxPrintDialog { - public: ~EwxPrintDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxPrintDialog : public wxPrintDialog { + public: ~EwxPrintDialog() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxPrintDialog(wxWindow * parent,wxPrintDialogData * data) : wxPrintDialog(parent,data) {}; EwxPrintDialog(wxWindow * parent,wxPrintData * data) : wxPrintDialog(parent,data) {}; -}; +}; -class EwxPrintDialogData : public wxPrintDialogData { - public: ~EwxPrintDialogData() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxPrintDialogData : public wxPrintDialogData { + public: ~EwxPrintDialogData() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxPrintDialogData(const wxPrintDialogData& dialogData) : wxPrintDialogData(dialogData) {}; EwxPrintDialogData(const wxPrintData& dialogData) : wxPrintDialogData(dialogData) {}; EwxPrintDialogData() : wxPrintDialogData() {}; -}; +}; -class EwxPrintData : public wxPrintData { - public: ~EwxPrintData() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxPrintData : public wxPrintData { + public: ~EwxPrintData() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxPrintData(const wxPrintData& printData) : wxPrintData(printData) {}; EwxPrintData() : wxPrintData() {}; -}; +}; -class EwxPrintPreview : public wxPrintPreview { - public: ~EwxPrintPreview() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxPrintPreview : public wxPrintPreview { + public: ~EwxPrintPreview() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxPrintPreview(wxPrintout * printout,wxPrintout * printoutForPrinting,wxPrintData * data) : wxPrintPreview(printout,printoutForPrinting,data) {}; EwxPrintPreview(wxPrintout * printout,wxPrintout * printoutForPrinting,wxPrintDialogData * data) : wxPrintPreview(printout,printoutForPrinting,data) {}; -}; +}; -class EwxPreviewFrame : public wxPreviewFrame { - public: ~EwxPreviewFrame() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxPreviewFrame : public wxPreviewFrame { + public: ~EwxPreviewFrame() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxPreviewFrame(wxPrintPreview * preview,wxWindow * parent,const wxString& title,const wxPoint& pos,const wxSize& size,long style) : wxPreviewFrame(preview,parent,title,pos,size,style) {}; -}; +}; -class EwxPreviewControlBar : public wxPreviewControlBar { - public: ~EwxPreviewControlBar() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxPreviewControlBar : public wxPreviewControlBar { + public: ~EwxPreviewControlBar() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxPreviewControlBar(wxPrintPreview * preview,long buttons,wxWindow * parent,const wxPoint& pos,const wxSize& size,long style) : wxPreviewControlBar(preview,buttons,parent,pos,size,style) {}; -}; +}; -class EwxPrinter : public wxPrinter { - public: ~EwxPrinter() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxPrinter : public wxPrinter { + public: ~EwxPrinter() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxPrinter(wxPrintDialogData * data) : wxPrinter(data) {}; -}; +}; -class EwxXmlResource : public wxXmlResource { - public: ~EwxXmlResource() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxXmlResource : public wxXmlResource { + public: ~EwxXmlResource() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxXmlResource(const wxString& filemask,int flags,const wxString& domain) : wxXmlResource(filemask,flags,domain) {}; EwxXmlResource(int flags,const wxString& domain) : wxXmlResource(flags,domain) {}; -}; +}; -class EwxHtmlEasyPrinting : public wxHtmlEasyPrinting { - public: ~EwxHtmlEasyPrinting() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxHtmlEasyPrinting : public wxHtmlEasyPrinting { + public: ~EwxHtmlEasyPrinting() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxHtmlEasyPrinting(const wxString& name,wxWindow * parentWindow) : wxHtmlEasyPrinting(name,parentWindow) {}; -}; +}; -class EwxGLCanvas : public wxGLCanvas { - public: ~EwxGLCanvas() {deleteActiveGL(this);((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxGLCanvas : public wxGLCanvas { + public: ~EwxGLCanvas() {deleteActiveGL(this);((WxeApp *)wxTheApp)->clearPtr(this);}; EwxGLCanvas(wxWindow * parent,const wxGLContext * shared,wxWindowID id,const wxPoint& pos,const wxSize& size,long style,const wxString& name,int * attribList,const wxPalette& palette) : wxGLCanvas(parent,shared,id,pos,size,style,name,attribList,palette) {}; EwxGLCanvas(wxWindow * parent,const wxGLCanvas * shared,wxWindowID id,const wxPoint& pos,const wxSize& size,long style,const wxString& name,int * attribList,const wxPalette& palette) : wxGLCanvas(parent,shared,id,pos,size,style,name,attribList,palette) {}; EwxGLCanvas(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style,const wxString& name,int * attribList,const wxPalette& palette) : wxGLCanvas(parent,id,pos,size,style,name,attribList,palette) {}; -}; +}; -class EwxAuiManager : public wxAuiManager { - public: ~EwxAuiManager() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxAuiManager : public wxAuiManager { + public: ~EwxAuiManager() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxAuiManager(wxWindow * managed_wnd,unsigned int flags) : wxAuiManager(managed_wnd,flags) {}; -}; +}; -class EwxAuiNotebook : public wxAuiNotebook { - public: ~EwxAuiNotebook() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxAuiNotebook : public wxAuiNotebook { + public: ~EwxAuiNotebook() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxAuiNotebook(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxAuiNotebook(parent,id,pos,size,style) {}; EwxAuiNotebook() : wxAuiNotebook() {}; -}; +}; -class EwxMDIParentFrame : public wxMDIParentFrame { - public: ~EwxMDIParentFrame() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxMDIParentFrame : public wxMDIParentFrame { + public: ~EwxMDIParentFrame() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxMDIParentFrame(wxWindow * parent,wxWindowID id,const wxString& title,const wxPoint& pos,const wxSize& size,long style) : wxMDIParentFrame(parent,id,title,pos,size,style) {}; EwxMDIParentFrame() : wxMDIParentFrame() {}; -}; +}; -class EwxMDIChildFrame : public wxMDIChildFrame { - public: ~EwxMDIChildFrame() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxMDIChildFrame : public wxMDIChildFrame { + public: ~EwxMDIChildFrame() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxMDIChildFrame(wxMDIParentFrame * parent,wxWindowID id,const wxString& title,const wxPoint& pos,const wxSize& size,long style) : wxMDIChildFrame(parent,id,title,pos,size,style) {}; EwxMDIChildFrame() : wxMDIChildFrame() {}; -}; +}; -class EwxMDIClientWindow : public wxMDIClientWindow { - public: ~EwxMDIClientWindow() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxMDIClientWindow : public wxMDIClientWindow { + public: ~EwxMDIClientWindow() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxMDIClientWindow(wxMDIParentFrame * parent,long style) : wxMDIClientWindow(parent,style) {}; EwxMDIClientWindow() : wxMDIClientWindow() {}; -}; +}; -class EwxLayoutAlgorithm : public wxLayoutAlgorithm { - public: ~EwxLayoutAlgorithm() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxLayoutAlgorithm : public wxLayoutAlgorithm { + public: ~EwxLayoutAlgorithm() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxLayoutAlgorithm() : wxLayoutAlgorithm() {}; -}; +}; -class EwxPrintout : public wxPrintout { - public: ~EwxPrintout() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxPrintout : public wxPrintout { + public: ~EwxPrintout() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxPrintout(const wxString& title) : wxPrintout(title) {}; -}; +}; -class EwxClipboard : public wxClipboard { - public: ~EwxClipboard() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxClipboard : public wxClipboard { + public: ~EwxClipboard() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxClipboard() : wxClipboard() {}; -}; +}; -class EwxSplitterWindow : public wxSplitterWindow { - public: ~EwxSplitterWindow() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxSplitterWindow : public wxSplitterWindow { + public: ~EwxSplitterWindow() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxSplitterWindow(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxSplitterWindow(parent,id,pos,size,style) {}; EwxSplitterWindow() : wxSplitterWindow() {}; -}; +}; -class EwxHtmlWindow : public wxHtmlWindow { - public: ~EwxHtmlWindow() {((WxeApp *)wxTheApp)->clearPtr(this);}; +class EwxHtmlWindow : public wxHtmlWindow { + public: ~EwxHtmlWindow() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxHtmlWindow(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxHtmlWindow(parent,id,pos,size,style) {}; EwxHtmlWindow() : wxHtmlWindow() {}; -}; +}; void WxeApp::delete_object(void *ptr, wxeRefData *refd) { switch(refd->type) { diff --git a/lib/wx/c_src/gen/wxe_events.cpp b/lib/wx/c_src/gen/wxe_events.cpp index 706677e080..a6857442c9 100644 --- a/lib/wx/c_src/gen/wxe_events.cpp +++ b/lib/wx/c_src/gen/wxe_events.cpp @@ -1,7 +1,7 @@ /* * %CopyrightBegin% * - * Copyright Ericsson AB 2008-2009. All Rights Reserved. + * Copyright Ericsson AB 2008-2010. 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 @@ -17,7 +17,7 @@ * %CopyrightEnd% */ -/***** This file is generated do not edit ****/ +/***** This file is generated do not edit ****/ #include <wx/wx.h> #include "../wxe_impl.h" @@ -31,7 +31,7 @@ wxeEtype::wxeEtype(const char *name, int Id) {eName = name;cID = Id;} WX_DECLARE_HASH_MAP(int, wxeEtype*, wxIntegerHash, wxIntegerEqual, wxeETmap ); -wxeETmap etmap; +wxeETmap etmap; int wxeEventTypeFromAtom(char *etype_atom) { wxeETmap::iterator it; @@ -48,9 +48,9 @@ int wxeEventTypeFromAtom(char *etype_atom) { return -1; } -void initEventTable() +void initEventTable() { - struct { int ev_type; int class_id; const char * ev_name;} event_types[] = + struct { int ev_type; int class_id; const char * ev_name;} event_types[] = { {wxEVT_NULL, 0, "null"}, {wxEVT_COMMAND_BUTTON_CLICKED, 163, "command_button_clicked"}, @@ -274,27 +274,27 @@ void initEventTable() {wxEVT_COMMAND_AUINOTEBOOK_END_DRAG, 220, "command_auinotebook_end_drag"}, {wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION, 220, "command_auinotebook_drag_motion"}, {wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND, 220, "command_auinotebook_allow_dnd"}, -#if wxCHECK_VERSION(2,8,5) +#if wxCHECK_VERSION(2,8,5) {wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_DOWN, 220, "command_auinotebook_tab_middle_down"}, -#endif -#if wxCHECK_VERSION(2,8,5) +#endif +#if wxCHECK_VERSION(2,8,5) {wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_UP, 220, "command_auinotebook_tab_middle_up"}, -#endif -#if wxCHECK_VERSION(2,8,5) +#endif +#if wxCHECK_VERSION(2,8,5) {wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_DOWN, 220, "command_auinotebook_tab_right_down"}, -#endif -#if wxCHECK_VERSION(2,8,5) +#endif +#if wxCHECK_VERSION(2,8,5) {wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_UP, 220, "command_auinotebook_tab_right_up"}, -#endif -#if wxCHECK_VERSION(2,8,5) +#endif +#if wxCHECK_VERSION(2,8,5) {wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSED, 220, "command_auinotebook_page_closed"}, -#endif -#if wxCHECK_VERSION(2,8,5) +#endif +#if wxCHECK_VERSION(2,8,5) {wxEVT_COMMAND_AUINOTEBOOK_DRAG_DONE, 220, "command_auinotebook_drag_done"}, -#endif -#if wxCHECK_VERSION(2,8,5) +#endif +#if wxCHECK_VERSION(2,8,5) {wxEVT_COMMAND_AUINOTEBOOK_BG_DCLICK, 220, "command_auinotebook_bg_dclick"}, -#endif +#endif {wxEVT_AUI_PANE_BUTTON, 221, "aui_pane_button"}, {wxEVT_AUI_PANE_CLOSE, 221, "aui_pane_close"}, {wxEVT_AUI_PANE_MAXIMIZE, 221, "aui_pane_maximize"}, @@ -305,7 +305,7 @@ void initEventTable() }; for(int i=0; event_types[i].ev_type != -1; i++) { if(NULL == etmap[event_types[i].ev_type]) { - etmap[event_types[i].ev_type] = + etmap[event_types[i].ev_type] = new wxeEtype(event_types[i].ev_name, event_types[i].class_id); } else { wxeEtype *prev = etmap[event_types[i].ev_type]; @@ -319,21 +319,21 @@ void initEventTable() } } -void wxeEvtListener::forward(wxEvent& event) -{ +void wxeEvtListener::forward(wxEvent& event) +{ #ifdef DEBUG - if(!sendevent(&event, port)) + if(!sendevent(&event, port)) fprintf(stderr, "Couldn't send event!\r\n"); #else sendevent(&event, port); #endif } -int getRef(void* ptr, wxeMemEnv* memenv) -{ +int getRef(void* ptr, wxeMemEnv* memenv) +{ WxeApp * app = (WxeApp *) wxTheApp; return app->getRef(ptr,memenv); -} +} bool sendevent(wxEvent *event, ErlDrvPort port) { diff --git a/lib/wx/c_src/gen/wxe_funcs.cpp b/lib/wx/c_src/gen/wxe_funcs.cpp index 59c87cdcb9..c8549d0716 100644 --- a/lib/wx/c_src/gen/wxe_funcs.cpp +++ b/lib/wx/c_src/gen/wxe_funcs.cpp @@ -1,7 +1,7 @@ /* * %CopyrightBegin% * - * Copyright Ericsson AB 2008-2009. All Rights Reserved. + * Copyright Ericsson AB 2008-2010. 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 @@ -17,7 +17,7 @@ * %CopyrightEnd% */ -/***** This file is generated do not edit ****/ +/***** This file is generated do not edit ****/ #include <wx/wx.h> #include "../wxe_impl.h" @@ -28,16 +28,16 @@ void WxeApp::wxe_dispatch(wxeCommand& Ecmd) { - char * bp = Ecmd.buffer; + char * bp = Ecmd.buffer; wxeMemEnv *memenv = getMemEnv(Ecmd.port); wxeReturn rt = wxeReturn(WXE_DRV_PORT, Ecmd.caller, true); - try { - switch (Ecmd.op) + try { + switch (Ecmd.op) { - case DESTROY_OBJECT: { + case DESTROY_OBJECT: { wxObject *This = (wxObject *) getPtr(bp,memenv); if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This); delete This; } - } break; + } break; case WXE_REGISTER_OBJECT: { registerPid(bp, Ecmd.caller, memenv); rt.addAtom("ok"); @@ -110,19 +110,19 @@ case 101: { // wxEvtHandler::Disconnect break; } -case wxWindow_new_0: { // wxWindow::wxWindow +case wxWindow_new_0: { // wxWindow::wxWindow wxWindow * Result = new EwxWindow(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxWindow_new_3: { // wxWindow::wxWindow +case wxWindow_new_3: { // wxWindow::wxWindow wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -138,86 +138,86 @@ case wxWindow_new_3: { // wxWindow::wxWindow case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxWindow * Result = new EwxWindow(parent,(wxWindowID) *id,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxWindow_CacheBestSize: { // wxWindow::CacheBestSize +case wxWindow_CacheBestSize: { // wxWindow::CacheBestSize wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; wxSize size = wxSize(*sizeW,*sizeH); if(!This) throw wxe_badarg(0); This->CacheBestSize(size); - break; + break; } -case wxWindow_CaptureMouse: { // wxWindow::CaptureMouse +case wxWindow_CaptureMouse: { // wxWindow::CaptureMouse wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->CaptureMouse(); - break; + break; } -case wxWindow_Center: { // wxWindow::Center +case wxWindow_Center: { // wxWindow::Center int dir=wxBOTH; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; dir = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Center(dir); - break; + break; } -case wxWindow_CenterOnParent: { // wxWindow::CenterOnParent +case wxWindow_CenterOnParent: { // wxWindow::CenterOnParent int dir=wxBOTH; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; dir = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->CenterOnParent(dir); - break; + break; } -case wxWindow_Centre: { // wxWindow::Centre +case wxWindow_Centre: { // wxWindow::Centre int dir=wxBOTH; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; dir = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Centre(dir); - break; + break; } -case wxWindow_CentreOnParent: { // wxWindow::CentreOnParent +case wxWindow_CentreOnParent: { // wxWindow::CentreOnParent int dir=wxBOTH; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; dir = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->CentreOnParent(dir); - break; + break; } -case wxWindow_ClearBackground: { // wxWindow::ClearBackground +case wxWindow_ClearBackground: { // wxWindow::ClearBackground wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ClearBackground(); - break; + break; } -case wxWindow_ClientToScreen_2: { // wxWindow::ClientToScreen +case wxWindow_ClientToScreen_2: { // wxWindow::ClientToScreen wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; @@ -226,9 +226,9 @@ case wxWindow_ClientToScreen_2: { // wxWindow::ClientToScreen rt.addInt(*x); rt.addInt(*y); rt.addTupleCount(2); - break; + break; } -case wxWindow_ClientToScreen_1: { // wxWindow::ClientToScreen +case wxWindow_ClientToScreen_1: { // wxWindow::ClientToScreen wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; @@ -236,23 +236,23 @@ case wxWindow_ClientToScreen_1: { // wxWindow::ClientToScreen if(!This) throw wxe_badarg(0); wxPoint Result = This->ClientToScreen(pt); rt.add(Result); - break; + break; } -case wxWindow_Close: { // wxWindow::Close +case wxWindow_Close: { // wxWindow::Close bool force=false; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; force = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Close(force); rt.addBool(Result); - break; + break; } -case wxWindow_ConvertDialogToPixels: { // wxWindow::ConvertDialogToPixels +case wxWindow_ConvertDialogToPixels: { // wxWindow::ConvertDialogToPixels wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * szW = (int *) bp; bp += 4; int * szH = (int *) bp; bp += 4; @@ -260,9 +260,9 @@ case wxWindow_ConvertDialogToPixels: { // wxWindow::ConvertDialogToPixels if(!This) throw wxe_badarg(0); wxSize Result = This->ConvertDialogToPixels(sz); rt.add(Result); - break; + break; } -case wxWindow_ConvertPixelsToDialog: { // wxWindow::ConvertPixelsToDialog +case wxWindow_ConvertPixelsToDialog: { // wxWindow::ConvertPixelsToDialog wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * szW = (int *) bp; bp += 4; int * szH = (int *) bp; bp += 4; @@ -270,57 +270,57 @@ case wxWindow_ConvertPixelsToDialog: { // wxWindow::ConvertPixelsToDialog if(!This) throw wxe_badarg(0); wxSize Result = This->ConvertPixelsToDialog(sz); rt.add(Result); - break; + break; } -case wxWindow_Destroy: { // wxWindow::Destroy +case wxWindow_Destroy: { // wxWindow::Destroy wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Destroy(); rt.addBool(Result); - break; + break; } -case wxWindow_DestroyChildren: { // wxWindow::DestroyChildren +case wxWindow_DestroyChildren: { // wxWindow::DestroyChildren wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->DestroyChildren(); rt.addBool(Result); - break; + break; } -case wxWindow_Disable: { // wxWindow::Disable +case wxWindow_Disable: { // wxWindow::Disable wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Disable(); rt.addBool(Result); - break; + break; } -case wxWindow_Enable: { // wxWindow::Enable +case wxWindow_Enable: { // wxWindow::Enable bool enable=true; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; enable = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Enable(enable); rt.addBool(Result); - break; + break; } -case wxWindow_FindFocus: { // wxWindow::FindFocus +case wxWindow_FindFocus: { // wxWindow::FindFocus wxWindow * Result = (wxWindow*)wxWindow::FindFocus(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxWindow_FindWindow_1_0: { // wxWindow::FindWindow +case wxWindow_FindWindow_1_0: { // wxWindow::FindWindow wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * winid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->FindWindow((long) *winid); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxWindow_FindWindow_1_1: { // wxWindow::FindWindow +case wxWindow_FindWindow_1_1: { // wxWindow::FindWindow wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); @@ -328,122 +328,122 @@ case wxWindow_FindWindow_1_1: { // wxWindow::FindWindow if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->FindWindow(name); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxWindow_FindWindowById: { // wxWindow::FindWindowById +case wxWindow_FindWindowById: { // wxWindow::FindWindowById const wxWindow * parent=NULL; int * winid = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; parent = (wxWindow *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxWindow * Result = (wxWindow*)wxWindow::FindWindowById((long) *winid,parent); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxWindow_FindWindowByName: { // wxWindow::FindWindowByName +case wxWindow_FindWindowByName: { // wxWindow::FindWindowByName const wxWindow * parent=NULL; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); bp += *nameLen+((8-((4+ *nameLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; parent = (wxWindow *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxWindow * Result = (wxWindow*)wxWindow::FindWindowByName(name,parent); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxWindow_FindWindowByLabel: { // wxWindow::FindWindowByLabel +case wxWindow_FindWindowByLabel: { // wxWindow::FindWindowByLabel const wxWindow * parent=NULL; int * labelLen = (int *) bp; bp += 4; wxString label = wxString(bp, wxConvUTF8); bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; parent = (wxWindow *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxWindow * Result = (wxWindow*)wxWindow::FindWindowByLabel(label,parent); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxWindow_Fit: { // wxWindow::Fit +case wxWindow_Fit: { // wxWindow::Fit wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Fit(); - break; + break; } -case wxWindow_FitInside: { // wxWindow::FitInside +case wxWindow_FitInside: { // wxWindow::FitInside wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->FitInside(); - break; + break; } -case wxWindow_Freeze: { // wxWindow::Freeze +case wxWindow_Freeze: { // wxWindow::Freeze wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Freeze(); - break; + break; } -case wxWindow_GetAcceleratorTable: { // wxWindow::GetAcceleratorTable +case wxWindow_GetAcceleratorTable: { // wxWindow::GetAcceleratorTable wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxAcceleratorTable * Result = (wxAcceleratorTable*)This->GetAcceleratorTable(); rt.addRef(getRef((void *)Result,memenv), "wxAcceleratorTable"); - break; + break; } -case wxWindow_GetBackgroundColour: { // wxWindow::GetBackgroundColour +case wxWindow_GetBackgroundColour: { // wxWindow::GetBackgroundColour wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetBackgroundColour(); rt.add(Result); - break; + break; } -case wxWindow_GetBackgroundStyle: { // wxWindow::GetBackgroundStyle +case wxWindow_GetBackgroundStyle: { // wxWindow::GetBackgroundStyle wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetBackgroundStyle(); rt.addInt(Result); - break; + break; } -case wxWindow_GetBestSize: { // wxWindow::GetBestSize +case wxWindow_GetBestSize: { // wxWindow::GetBestSize wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetBestSize(); rt.add(Result); - break; + break; } -case wxWindow_GetCaret: { // wxWindow::GetCaret +case wxWindow_GetCaret: { // wxWindow::GetCaret wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxCaret * Result = (wxCaret*)This->GetCaret(); rt.addRef(getRef((void *)Result,memenv), "wxCaret"); - break; + break; } -case wxWindow_GetCapture: { // wxWindow::GetCapture +case wxWindow_GetCapture: { // wxWindow::GetCapture wxWindow * Result = (wxWindow*)wxWindow::GetCapture(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxWindow_GetCharHeight: { // wxWindow::GetCharHeight +case wxWindow_GetCharHeight: { // wxWindow::GetCharHeight wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetCharHeight(); rt.addInt(Result); - break; + break; } -case wxWindow_GetCharWidth: { // wxWindow::GetCharWidth +case wxWindow_GetCharWidth: { // wxWindow::GetCharWidth wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetCharWidth(); rt.addInt(Result); - break; + break; } -case wxWindow_GetChildren: { // wxWindow::GetChildren +case wxWindow_GetChildren: { // wxWindow::GetChildren wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxWindowList Result = This->GetChildren(); @@ -452,194 +452,194 @@ case wxWindow_GetChildren: { // wxWindow::GetChildren wxWindow * ResultTmp = *it; rt.addRef(getRef((void *)ResultTmp,memenv), "wxWindow"); i++;} rt.endList(Result.GetCount()); - break; + break; } -case wxWindow_GetClientSize: { // wxWindow::GetClientSize +case wxWindow_GetClientSize: { // wxWindow::GetClientSize wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetClientSize(); rt.add(Result); - break; + break; } -case wxWindow_GetContainingSizer: { // wxWindow::GetContainingSizer +case wxWindow_GetContainingSizer: { // wxWindow::GetContainingSizer wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSizer * Result = (wxSizer*)This->GetContainingSizer(); rt.addRef(getRef((void *)Result,memenv), "wxSizer"); - break; + break; } -case wxWindow_GetCursor: { // wxWindow::GetCursor +case wxWindow_GetCursor: { // wxWindow::GetCursor wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxCursor * Result = &This->GetCursor(); rt.addRef(getRef((void *)Result,memenv), "wxCursor"); - break; + break; } -case wxWindow_GetDropTarget: { // wxWindow::GetDropTarget +case wxWindow_GetDropTarget: { // wxWindow::GetDropTarget wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxDropTarget * Result = (wxDropTarget*)This->GetDropTarget(); rt.addRef(getRef((void *)Result,memenv), "wxDropTarget"); - break; + break; } -case wxWindow_GetEventHandler: { // wxWindow::GetEventHandler +case wxWindow_GetEventHandler: { // wxWindow::GetEventHandler wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxEvtHandler * Result = (wxEvtHandler*)This->GetEventHandler(); rt.addRef(getRef((void *)Result,memenv), "wxEvtHandler"); - break; + break; } -case wxWindow_GetExtraStyle: { // wxWindow::GetExtraStyle +case wxWindow_GetExtraStyle: { // wxWindow::GetExtraStyle wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetExtraStyle(); rt.addInt(Result); - break; + break; } -case wxWindow_GetFont: { // wxWindow::GetFont +case wxWindow_GetFont: { // wxWindow::GetFont wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxFont * Result = new wxFont(This->GetFont()); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxFont"); - break; + break; } -case wxWindow_GetForegroundColour: { // wxWindow::GetForegroundColour +case wxWindow_GetForegroundColour: { // wxWindow::GetForegroundColour wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetForegroundColour(); rt.add(Result); - break; + break; } -case wxWindow_GetGrandParent: { // wxWindow::GetGrandParent +case wxWindow_GetGrandParent: { // wxWindow::GetGrandParent wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetGrandParent(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxWindow_GetHandle: { // wxWindow::GetHandle +case wxWindow_GetHandle: { // wxWindow::GetHandle wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxUIntPtr * Result = (wxUIntPtr*)This->GetHandle(); rt.add(Result); - break; + break; } -case wxWindow_GetHelpText: { // wxWindow::GetHelpText +case wxWindow_GetHelpText: { // wxWindow::GetHelpText wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetHelpText(); rt.add(Result); - break; + break; } -case wxWindow_GetId: { // wxWindow::GetId +case wxWindow_GetId: { // wxWindow::GetId wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindowID Result = This->GetId(); rt.addInt(Result); - break; + break; } -case wxWindow_GetLabel: { // wxWindow::GetLabel +case wxWindow_GetLabel: { // wxWindow::GetLabel wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetLabel(); rt.add(Result); - break; + break; } -case wxWindow_GetMaxSize: { // wxWindow::GetMaxSize +case wxWindow_GetMaxSize: { // wxWindow::GetMaxSize wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetMaxSize(); rt.add(Result); - break; + break; } -case wxWindow_GetMinSize: { // wxWindow::GetMinSize +case wxWindow_GetMinSize: { // wxWindow::GetMinSize wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetMinSize(); rt.add(Result); - break; + break; } -case wxWindow_GetName: { // wxWindow::GetName +case wxWindow_GetName: { // wxWindow::GetName wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetName(); rt.add(Result); - break; + break; } -case wxWindow_GetParent: { // wxWindow::GetParent +case wxWindow_GetParent: { // wxWindow::GetParent wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetParent(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxWindow_GetPosition: { // wxWindow::GetPosition +case wxWindow_GetPosition: { // wxWindow::GetPosition wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPoint Result = This->GetPosition(); rt.add(Result); - break; + break; } -case wxWindow_GetRect: { // wxWindow::GetRect +case wxWindow_GetRect: { // wxWindow::GetRect wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxRect Result = This->GetRect(); rt.add(Result); - break; + break; } -case wxWindow_GetScreenPosition: { // wxWindow::GetScreenPosition +case wxWindow_GetScreenPosition: { // wxWindow::GetScreenPosition wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPoint Result = This->GetScreenPosition(); rt.add(Result); - break; + break; } -case wxWindow_GetScreenRect: { // wxWindow::GetScreenRect +case wxWindow_GetScreenRect: { // wxWindow::GetScreenRect wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxRect Result = This->GetScreenRect(); rt.add(Result); - break; + break; } -case wxWindow_GetScrollPos: { // wxWindow::GetScrollPos +case wxWindow_GetScrollPos: { // wxWindow::GetScrollPos wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * orient = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetScrollPos((int) *orient); rt.addInt(Result); - break; + break; } -case wxWindow_GetScrollRange: { // wxWindow::GetScrollRange +case wxWindow_GetScrollRange: { // wxWindow::GetScrollRange wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * orient = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetScrollRange((int) *orient); rt.addInt(Result); - break; + break; } -case wxWindow_GetScrollThumb: { // wxWindow::GetScrollThumb +case wxWindow_GetScrollThumb: { // wxWindow::GetScrollThumb wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * orient = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetScrollThumb((int) *orient); rt.addInt(Result); - break; + break; } -case wxWindow_GetSize: { // wxWindow::GetSize +case wxWindow_GetSize: { // wxWindow::GetSize wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetSize(); rt.add(Result); - break; + break; } -case wxWindow_GetSizer: { // wxWindow::GetSizer +case wxWindow_GetSizer: { // wxWindow::GetSizer wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSizer * Result = (wxSizer*)This->GetSizer(); rt.addRef(getRef((void *)Result,memenv), "wxSizer"); - break; + break; } -case wxWindow_GetTextExtent: { // wxWindow::GetTextExtent +case wxWindow_GetTextExtent: { // wxWindow::GetTextExtent int x; int y; int descent; @@ -649,11 +649,11 @@ case wxWindow_GetTextExtent: { // wxWindow::GetTextExtent int * stringLen = (int *) bp; bp += 4; wxString string = wxString(bp, wxConvUTF8); bp += *stringLen+((8-((0+ *stringLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; theFont = (wxFont *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->GetTextExtent(string,&x,&y,&descent,&externalLeading,theFont); rt.addInt(x); @@ -661,107 +661,107 @@ theFont = (wxFont *) getPtr(bp,memenv); bp += 4; rt.addInt(descent); rt.addInt(externalLeading); rt.addTupleCount(4); - break; + break; } -case wxWindow_GetToolTip: { // wxWindow::GetToolTip +case wxWindow_GetToolTip: { // wxWindow::GetToolTip wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxToolTip * Result = (wxToolTip*)This->GetToolTip(); rt.addRef(getRef((void *)Result,memenv), "wxToolTip"); - break; + break; } -case wxWindow_GetUpdateRegion: { // wxWindow::GetUpdateRegion +case wxWindow_GetUpdateRegion: { // wxWindow::GetUpdateRegion wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxRegion * Result = &This->GetUpdateRegion(); rt.addRef(getRef((void *)Result,memenv), "wxRegion"); - break; + break; } -case wxWindow_GetVirtualSize: { // wxWindow::GetVirtualSize +case wxWindow_GetVirtualSize: { // wxWindow::GetVirtualSize wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetVirtualSize(); rt.add(Result); - break; + break; } -case wxWindow_GetWindowStyleFlag: { // wxWindow::GetWindowStyleFlag +case wxWindow_GetWindowStyleFlag: { // wxWindow::GetWindowStyleFlag wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetWindowStyleFlag(); rt.addInt(Result); - break; + break; } -case wxWindow_GetWindowVariant: { // wxWindow::GetWindowVariant +case wxWindow_GetWindowVariant: { // wxWindow::GetWindowVariant wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetWindowVariant(); rt.addInt(Result); - break; + break; } -case wxWindow_HasCapture: { // wxWindow::HasCapture +case wxWindow_HasCapture: { // wxWindow::HasCapture wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasCapture(); rt.addBool(Result); - break; + break; } -case wxWindow_HasScrollbar: { // wxWindow::HasScrollbar +case wxWindow_HasScrollbar: { // wxWindow::HasScrollbar wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * orient = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasScrollbar((int) *orient); rt.addBool(Result); - break; + break; } -case wxWindow_HasTransparentBackground: { // wxWindow::HasTransparentBackground +case wxWindow_HasTransparentBackground: { // wxWindow::HasTransparentBackground wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasTransparentBackground(); rt.addBool(Result); - break; + break; } -case wxWindow_Hide: { // wxWindow::Hide +case wxWindow_Hide: { // wxWindow::Hide wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Hide(); rt.addBool(Result); - break; + break; } -case wxWindow_InheritAttributes: { // wxWindow::InheritAttributes +case wxWindow_InheritAttributes: { // wxWindow::InheritAttributes wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->InheritAttributes(); - break; + break; } -case wxWindow_InitDialog: { // wxWindow::InitDialog +case wxWindow_InitDialog: { // wxWindow::InitDialog wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->InitDialog(); - break; + break; } -case wxWindow_InvalidateBestSize: { // wxWindow::InvalidateBestSize +case wxWindow_InvalidateBestSize: { // wxWindow::InvalidateBestSize wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->InvalidateBestSize(); - break; + break; } -case wxWindow_IsEnabled: { // wxWindow::IsEnabled +case wxWindow_IsEnabled: { // wxWindow::IsEnabled wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsEnabled(); rt.addBool(Result); - break; + break; } -case wxWindow_IsExposed_2: { // wxWindow::IsExposed +case wxWindow_IsExposed_2: { // wxWindow::IsExposed wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsExposed((int) *x,(int) *y); rt.addBool(Result); - break; + break; } -case wxWindow_IsExposed_4: { // wxWindow::IsExposed +case wxWindow_IsExposed_4: { // wxWindow::IsExposed wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; @@ -770,9 +770,9 @@ case wxWindow_IsExposed_4: { // wxWindow::IsExposed if(!This) throw wxe_badarg(0); bool Result = This->IsExposed((int) *x,(int) *y,(int) *w,(int) *h); rt.addBool(Result); - break; + break; } -case wxWindow_IsExposed_1_0: { // wxWindow::IsExposed +case wxWindow_IsExposed_1_0: { // wxWindow::IsExposed wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; @@ -780,9 +780,9 @@ case wxWindow_IsExposed_1_0: { // wxWindow::IsExposed if(!This) throw wxe_badarg(0); bool Result = This->IsExposed(pt); rt.addBool(Result); - break; + break; } -case wxWindow_IsExposed_1_1: { // wxWindow::IsExposed +case wxWindow_IsExposed_1_1: { // wxWindow::IsExposed wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * rectX = (int *) bp; bp += 4; int * rectY = (int *) bp; bp += 4; @@ -792,174 +792,174 @@ case wxWindow_IsExposed_1_1: { // wxWindow::IsExposed if(!This) throw wxe_badarg(0); bool Result = This->IsExposed(rect); rt.addBool(Result); - break; + break; } -case wxWindow_IsRetained: { // wxWindow::IsRetained +case wxWindow_IsRetained: { // wxWindow::IsRetained wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsRetained(); rt.addBool(Result); - break; + break; } -case wxWindow_IsShown: { // wxWindow::IsShown +case wxWindow_IsShown: { // wxWindow::IsShown wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsShown(); rt.addBool(Result); - break; + break; } -case wxWindow_IsTopLevel: { // wxWindow::IsTopLevel +case wxWindow_IsTopLevel: { // wxWindow::IsTopLevel wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsTopLevel(); rt.addBool(Result); - break; + break; } -case wxWindow_Layout: { // wxWindow::Layout +case wxWindow_Layout: { // wxWindow::Layout wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Layout(); rt.addBool(Result); - break; + break; } -case wxWindow_LineDown: { // wxWindow::LineDown +case wxWindow_LineDown: { // wxWindow::LineDown wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->LineDown(); rt.addBool(Result); - break; + break; } -case wxWindow_LineUp: { // wxWindow::LineUp +case wxWindow_LineUp: { // wxWindow::LineUp wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->LineUp(); rt.addBool(Result); - break; + break; } -case wxWindow_Lower: { // wxWindow::Lower +case wxWindow_Lower: { // wxWindow::Lower wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Lower(); - break; + break; } -case wxWindow_MakeModal: { // wxWindow::MakeModal +case wxWindow_MakeModal: { // wxWindow::MakeModal bool modal=true; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; modal = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->MakeModal(modal); - break; + break; } -case wxWindow_Move_3: { // wxWindow::Move +case wxWindow_Move_3: { // wxWindow::Move int flags=wxSIZE_USE_EXISTING; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; flags = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Move((int) *x,(int) *y,flags); - break; + break; } -case wxWindow_Move_2: { // wxWindow::Move +case wxWindow_Move_2: { // wxWindow::Move int flags=wxSIZE_USE_EXISTING; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; wxPoint pt = wxPoint(*ptX,*ptY); bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; flags = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Move(pt,flags); - break; + break; } -case wxWindow_MoveAfterInTabOrder: { // wxWindow::MoveAfterInTabOrder +case wxWindow_MoveAfterInTabOrder: { // wxWindow::MoveAfterInTabOrder wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; wxWindow *win = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->MoveAfterInTabOrder(win); - break; + break; } -case wxWindow_MoveBeforeInTabOrder: { // wxWindow::MoveBeforeInTabOrder +case wxWindow_MoveBeforeInTabOrder: { // wxWindow::MoveBeforeInTabOrder wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; wxWindow *win = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->MoveBeforeInTabOrder(win); - break; + break; } -case wxWindow_Navigate: { // wxWindow::Navigate +case wxWindow_Navigate: { // wxWindow::Navigate int flags=wxNavigationKeyEvent::IsForward; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; flags = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Navigate(flags); rt.addBool(Result); - break; + break; } -case wxWindow_PageDown: { // wxWindow::PageDown +case wxWindow_PageDown: { // wxWindow::PageDown wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->PageDown(); rt.addBool(Result); - break; + break; } -case wxWindow_PageUp: { // wxWindow::PageUp +case wxWindow_PageUp: { // wxWindow::PageUp wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->PageUp(); rt.addBool(Result); - break; + break; } -case wxWindow_PopEventHandler: { // wxWindow::PopEventHandler +case wxWindow_PopEventHandler: { // wxWindow::PopEventHandler bool deleteHandler=false; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; deleteHandler = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxEvtHandler * Result = (wxEvtHandler*)This->PopEventHandler(deleteHandler); rt.addRef(getRef((void *)Result,memenv), "wxEvtHandler"); - break; + break; } -case wxWindow_PopupMenu_2: { // wxWindow::PopupMenu +case wxWindow_PopupMenu_2: { // wxWindow::PopupMenu wxPoint pos= wxDefaultPosition; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; wxMenu *menu = (wxMenu *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; pos = wxPoint(*posX,*posY); bp += 4; /* Align */ } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->PopupMenu(menu,pos); rt.addBool(Result); - break; + break; } -case wxWindow_PopupMenu_3: { // wxWindow::PopupMenu +case wxWindow_PopupMenu_3: { // wxWindow::PopupMenu wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; wxMenu *menu = (wxMenu *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; @@ -967,20 +967,20 @@ case wxWindow_PopupMenu_3: { // wxWindow::PopupMenu if(!This) throw wxe_badarg(0); bool Result = This->PopupMenu(menu,(int) *x,(int) *y); rt.addBool(Result); - break; + break; } -case wxWindow_Raise: { // wxWindow::Raise +case wxWindow_Raise: { // wxWindow::Raise wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Raise(); - break; + break; } -case wxWindow_Refresh: { // wxWindow::Refresh +case wxWindow_Refresh: { // wxWindow::Refresh bool eraseBackground=true; const wxRect *rect=(const wxRect *) NULL; wxRect rectTmp; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; eraseBackground = *(bool *) bp; bp += 4; } break; @@ -992,12 +992,12 @@ case wxWindow_Refresh: { // wxWindow::Refresh rectTmp = wxRect(*rectX,*rectY,*rectW,*rectH); rect = & rectTmp; bp += 4; /* Align */ } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Refresh(eraseBackground,rect); - break; + break; } -case wxWindow_RefreshRect: { // wxWindow::RefreshRect +case wxWindow_RefreshRect: { // wxWindow::RefreshRect bool eraseBackground=true; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * rectX = (int *) bp; bp += 4; @@ -1006,37 +1006,37 @@ case wxWindow_RefreshRect: { // wxWindow::RefreshRect int * rectH = (int *) bp; bp += 4; wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH); bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; eraseBackground = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->RefreshRect(rect,eraseBackground); - break; + break; } -case wxWindow_ReleaseMouse: { // wxWindow::ReleaseMouse +case wxWindow_ReleaseMouse: { // wxWindow::ReleaseMouse wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ReleaseMouse(); - break; + break; } -case wxWindow_RemoveChild: { // wxWindow::RemoveChild +case wxWindow_RemoveChild: { // wxWindow::RemoveChild wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; wxWindow *child = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->RemoveChild(child); - break; + break; } -case wxWindow_Reparent: { // wxWindow::Reparent +case wxWindow_Reparent: { // wxWindow::Reparent wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; wxWindow *newParent = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Reparent(newParent); rt.addBool(Result); - break; + break; } -case wxWindow_ScreenToClient_2: { // wxWindow::ScreenToClient +case wxWindow_ScreenToClient_2: { // wxWindow::ScreenToClient int x; int y; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; @@ -1045,9 +1045,9 @@ case wxWindow_ScreenToClient_2: { // wxWindow::ScreenToClient rt.addInt(x); rt.addInt(y); rt.addTupleCount(2); - break; + break; } -case wxWindow_ScreenToClient_1: { // wxWindow::ScreenToClient +case wxWindow_ScreenToClient_1: { // wxWindow::ScreenToClient wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; @@ -1055,31 +1055,31 @@ case wxWindow_ScreenToClient_1: { // wxWindow::ScreenToClient if(!This) throw wxe_badarg(0); wxPoint Result = This->ScreenToClient(pt); rt.add(Result); - break; + break; } -case wxWindow_ScrollLines: { // wxWindow::ScrollLines +case wxWindow_ScrollLines: { // wxWindow::ScrollLines wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * lines = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->ScrollLines((int) *lines); rt.addBool(Result); - break; + break; } -case wxWindow_ScrollPages: { // wxWindow::ScrollPages +case wxWindow_ScrollPages: { // wxWindow::ScrollPages wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * pages = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->ScrollPages((int) *pages); rt.addBool(Result); - break; + break; } -case wxWindow_ScrollWindow: { // wxWindow::ScrollWindow +case wxWindow_ScrollWindow: { // wxWindow::ScrollWindow const wxRect *rect=(wxRect *) NULL; wxRect rectTmp; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * dx = (int *) bp; bp += 4; int * dy = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * rectX = (int *) bp; bp += 4; int * rectY = (int *) bp; bp += 4; @@ -1088,26 +1088,26 @@ case wxWindow_ScrollWindow: { // wxWindow::ScrollWindow rectTmp = wxRect(*rectX,*rectY,*rectW,*rectH); rect = & rectTmp; bp += 4; /* Align */ } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->ScrollWindow((int) *dx,(int) *dy,rect); - break; + break; } -case wxWindow_SetAcceleratorTable: { // wxWindow::SetAcceleratorTable +case wxWindow_SetAcceleratorTable: { // wxWindow::SetAcceleratorTable wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; wxAcceleratorTable *accel = (wxAcceleratorTable *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetAcceleratorTable(*accel); - break; + break; } -case wxWindow_SetAutoLayout: { // wxWindow::SetAutoLayout +case wxWindow_SetAutoLayout: { // wxWindow::SetAutoLayout wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; bool * autoLayout = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetAutoLayout((bool) *autoLayout); - break; + break; } -case wxWindow_SetBackgroundColour: { // wxWindow::SetBackgroundColour +case wxWindow_SetBackgroundColour: { // wxWindow::SetBackgroundColour wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * colourR = (int *) bp; bp += 4; int * colourG = (int *) bp; bp += 4; @@ -1117,41 +1117,41 @@ case wxWindow_SetBackgroundColour: { // wxWindow::SetBackgroundColour if(!This) throw wxe_badarg(0); bool Result = This->SetBackgroundColour(colour); rt.addBool(Result); - break; + break; } -case wxWindow_SetBackgroundStyle: { // wxWindow::SetBackgroundStyle +case wxWindow_SetBackgroundStyle: { // wxWindow::SetBackgroundStyle wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; wxBackgroundStyle style = *(wxBackgroundStyle *) bp; bp += 4;; if(!This) throw wxe_badarg(0); bool Result = This->SetBackgroundStyle((wxBackgroundStyle) style); rt.addBool(Result); - break; + break; } -case wxWindow_SetCaret: { // wxWindow::SetCaret +case wxWindow_SetCaret: { // wxWindow::SetCaret wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; wxCaret *caret = (wxCaret *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetCaret(caret); - break; + break; } -case wxWindow_SetClientSize_2: { // wxWindow::SetClientSize +case wxWindow_SetClientSize_2: { // wxWindow::SetClientSize wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetClientSize((int) *width,(int) *height); - break; + break; } -case wxWindow_SetClientSize_1_0: { // wxWindow::SetClientSize +case wxWindow_SetClientSize_1_0: { // wxWindow::SetClientSize wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; wxSize size = wxSize(*sizeW,*sizeH); if(!This) throw wxe_badarg(0); This->SetClientSize(size); - break; + break; } -case wxWindow_SetClientSize_1_1: { // wxWindow::SetClientSize +case wxWindow_SetClientSize_1_1: { // wxWindow::SetClientSize wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * rectX = (int *) bp; bp += 4; int * rectY = (int *) bp; bp += 4; @@ -1160,42 +1160,42 @@ case wxWindow_SetClientSize_1_1: { // wxWindow::SetClientSize wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH); if(!This) throw wxe_badarg(0); This->SetClientSize(rect); - break; + break; } -case wxWindow_SetContainingSizer: { // wxWindow::SetContainingSizer +case wxWindow_SetContainingSizer: { // wxWindow::SetContainingSizer wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetContainingSizer(sizer); - break; + break; } -case wxWindow_SetCursor: { // wxWindow::SetCursor +case wxWindow_SetCursor: { // wxWindow::SetCursor wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; wxCursor *cursor = (wxCursor *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->SetCursor(*cursor); rt.addBool(Result); - break; + break; } -case wxWindow_SetMaxSize: { // wxWindow::SetMaxSize +case wxWindow_SetMaxSize: { // wxWindow::SetMaxSize wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * maxSizeW = (int *) bp; bp += 4; int * maxSizeH = (int *) bp; bp += 4; wxSize maxSize = wxSize(*maxSizeW,*maxSizeH); if(!This) throw wxe_badarg(0); This->SetMaxSize(maxSize); - break; + break; } -case wxWindow_SetMinSize: { // wxWindow::SetMinSize +case wxWindow_SetMinSize: { // wxWindow::SetMinSize wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * minSizeW = (int *) bp; bp += 4; int * minSizeH = (int *) bp; bp += 4; wxSize minSize = wxSize(*minSizeW,*minSizeH); if(!This) throw wxe_badarg(0); This->SetMinSize(minSize); - break; + break; } -case wxWindow_SetOwnBackgroundColour: { // wxWindow::SetOwnBackgroundColour +case wxWindow_SetOwnBackgroundColour: { // wxWindow::SetOwnBackgroundColour wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * colourR = (int *) bp; bp += 4; int * colourG = (int *) bp; bp += 4; @@ -1204,16 +1204,16 @@ case wxWindow_SetOwnBackgroundColour: { // wxWindow::SetOwnBackgroundColour wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA); if(!This) throw wxe_badarg(0); This->SetOwnBackgroundColour(colour); - break; + break; } -case wxWindow_SetOwnFont: { // wxWindow::SetOwnFont +case wxWindow_SetOwnFont: { // wxWindow::SetOwnFont wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetOwnFont(*font); - break; + break; } -case wxWindow_SetOwnForegroundColour: { // wxWindow::SetOwnForegroundColour +case wxWindow_SetOwnForegroundColour: { // wxWindow::SetOwnForegroundColour wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * colourR = (int *) bp; bp += 4; int * colourG = (int *) bp; bp += 4; @@ -1222,43 +1222,43 @@ case wxWindow_SetOwnForegroundColour: { // wxWindow::SetOwnForegroundColour wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA); if(!This) throw wxe_badarg(0); This->SetOwnForegroundColour(colour); - break; + break; } -case wxWindow_SetDropTarget: { // wxWindow::SetDropTarget +case wxWindow_SetDropTarget: { // wxWindow::SetDropTarget wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; wxDropTarget *dropTarget = (wxDropTarget *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetDropTarget(dropTarget); - break; + break; } -case wxWindow_SetExtraStyle: { // wxWindow::SetExtraStyle +case wxWindow_SetExtraStyle: { // wxWindow::SetExtraStyle wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * exStyle = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetExtraStyle((long) *exStyle); - break; + break; } -case wxWindow_SetFocus: { // wxWindow::SetFocus +case wxWindow_SetFocus: { // wxWindow::SetFocus wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetFocus(); - break; + break; } -case wxWindow_SetFocusFromKbd: { // wxWindow::SetFocusFromKbd +case wxWindow_SetFocusFromKbd: { // wxWindow::SetFocusFromKbd wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetFocusFromKbd(); - break; + break; } -case wxWindow_SetFont: { // wxWindow::SetFont +case wxWindow_SetFont: { // wxWindow::SetFont wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->SetFont(*font); rt.addBool(Result); - break; + break; } -case wxWindow_SetForegroundColour: { // wxWindow::SetForegroundColour +case wxWindow_SetForegroundColour: { // wxWindow::SetForegroundColour wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * colourR = (int *) bp; bp += 4; int * colourG = (int *) bp; bp += 4; @@ -1268,50 +1268,50 @@ case wxWindow_SetForegroundColour: { // wxWindow::SetForegroundColour if(!This) throw wxe_badarg(0); bool Result = This->SetForegroundColour(colour); rt.addBool(Result); - break; + break; } -case wxWindow_SetHelpText: { // wxWindow::SetHelpText +case wxWindow_SetHelpText: { // wxWindow::SetHelpText wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetHelpText(text); - break; + break; } -case wxWindow_SetId: { // wxWindow::SetId +case wxWindow_SetId: { // wxWindow::SetId wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * winid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetId((wxWindowID) *winid); - break; + break; } -case wxWindow_SetLabel: { // wxWindow::SetLabel +case wxWindow_SetLabel: { // wxWindow::SetLabel wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * labelLen = (int *) bp; bp += 4; wxString label = wxString(bp, wxConvUTF8); bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetLabel(label); - break; + break; } -case wxWindow_SetName: { // wxWindow::SetName +case wxWindow_SetName: { // wxWindow::SetName wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetName(name); - break; + break; } -case wxWindow_SetPalette: { // wxWindow::SetPalette +case wxWindow_SetPalette: { // wxWindow::SetPalette wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; wxPalette *pal = (wxPalette *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetPalette(*pal); - break; + break; } -case wxWindow_SetScrollbar: { // wxWindow::SetScrollbar +case wxWindow_SetScrollbar: { // wxWindow::SetScrollbar bool refresh=true; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * orient = (int *) bp; bp += 4; @@ -1319,31 +1319,31 @@ case wxWindow_SetScrollbar: { // wxWindow::SetScrollbar int * thumbVisible = (int *) bp; bp += 4; int * range = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; refresh = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetScrollbar((int) *orient,(int) *pos,(int) *thumbVisible,(int) *range,refresh); - break; + break; } -case wxWindow_SetScrollPos: { // wxWindow::SetScrollPos +case wxWindow_SetScrollPos: { // wxWindow::SetScrollPos bool refresh=true; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * orient = (int *) bp; bp += 4; int * pos = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; refresh = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetScrollPos((int) *orient,(int) *pos,refresh); - break; + break; } -case wxWindow_SetSize_5: { // wxWindow::SetSize +case wxWindow_SetSize_5: { // wxWindow::SetSize int sizeFlags=wxSIZE_AUTO; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; @@ -1351,33 +1351,33 @@ case wxWindow_SetSize_5: { // wxWindow::SetSize int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; sizeFlags = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetSize((int) *x,(int) *y,(int) *width,(int) *height,sizeFlags); - break; + break; } -case wxWindow_SetSize_2_0: { // wxWindow::SetSize +case wxWindow_SetSize_2_0: { // wxWindow::SetSize wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSize((int) *width,(int) *height); - break; + break; } -case wxWindow_SetSize_1: { // wxWindow::SetSize +case wxWindow_SetSize_1: { // wxWindow::SetSize wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; wxSize size = wxSize(*sizeW,*sizeH); if(!This) throw wxe_badarg(0); This->SetSize(size); - break; + break; } -case wxWindow_SetSize_2_1: { // wxWindow::SetSize +case wxWindow_SetSize_2_1: { // wxWindow::SetSize int sizeFlags=wxSIZE_AUTO; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * rectX = (int *) bp; bp += 4; @@ -1386,16 +1386,16 @@ case wxWindow_SetSize_2_1: { // wxWindow::SetSize int * rectH = (int *) bp; bp += 4; wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH); bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; sizeFlags = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetSize(rect,sizeFlags); - break; + break; } -case wxWindow_SetSizeHints_3: { // wxWindow::SetSizeHints +case wxWindow_SetSizeHints_3: { // wxWindow::SetSizeHints int maxW=wxDefaultCoord; int maxH=wxDefaultCoord; int incW=wxDefaultCoord; @@ -1404,7 +1404,7 @@ case wxWindow_SetSizeHints_3: { // wxWindow::SetSizeHints int * minW = (int *) bp; bp += 4; int * minH = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; maxW = (int)*(int *) bp; bp += 4; } break; @@ -1417,12 +1417,12 @@ case wxWindow_SetSizeHints_3: { // wxWindow::SetSizeHints case 4: {bp += 4; incH = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetSizeHints((int) *minW,(int) *minH,maxW,maxH,incW,incH); - break; + break; } -case wxWindow_SetSizeHints_2: { // wxWindow::SetSizeHints +case wxWindow_SetSizeHints_2: { // wxWindow::SetSizeHints wxSize maxSize= wxDefaultSize; wxSize incSize= wxDefaultSize; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; @@ -1430,7 +1430,7 @@ case wxWindow_SetSizeHints_2: { // wxWindow::SetSizeHints int * minSizeH = (int *) bp; bp += 4; wxSize minSize = wxSize(*minSizeW,*minSizeH); bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * maxSizeW = (int *) bp; bp += 4; int * maxSizeH = (int *) bp; bp += 4; @@ -1443,371 +1443,371 @@ case wxWindow_SetSizeHints_2: { // wxWindow::SetSizeHints incSize = wxSize(*incSizeW,*incSizeH); bp += 4; /* Align */ } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetSizeHints(minSize,maxSize,incSize); - break; + break; } -case wxWindow_SetSizer: { // wxWindow::SetSizer +case wxWindow_SetSizer: { // wxWindow::SetSizer bool deleteOld=true; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; deleteOld = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetSizer(sizer,deleteOld); - break; + break; } -case wxWindow_SetSizerAndFit: { // wxWindow::SetSizerAndFit +case wxWindow_SetSizerAndFit: { // wxWindow::SetSizerAndFit bool deleteOld=true; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; deleteOld = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetSizerAndFit(sizer,deleteOld); - break; + break; } -case wxWindow_SetThemeEnabled: { // wxWindow::SetThemeEnabled +case wxWindow_SetThemeEnabled: { // wxWindow::SetThemeEnabled wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; bool * enableTheme = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetThemeEnabled((bool) *enableTheme); - break; + break; } -case wxWindow_SetToolTip_1_0: { // wxWindow::SetToolTip +case wxWindow_SetToolTip_1_0: { // wxWindow::SetToolTip wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * tipLen = (int *) bp; bp += 4; wxString tip = wxString(bp, wxConvUTF8); bp += *tipLen+((8-((0+ *tipLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetToolTip(tip); - break; + break; } -case wxWindow_SetToolTip_1_1: { // wxWindow::SetToolTip +case wxWindow_SetToolTip_1_1: { // wxWindow::SetToolTip wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; wxToolTip *tip = (wxToolTip *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetToolTip(tip); - break; + break; } -case wxWindow_SetVirtualSize_1: { // wxWindow::SetVirtualSize +case wxWindow_SetVirtualSize_1: { // wxWindow::SetVirtualSize wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; wxSize size = wxSize(*sizeW,*sizeH); if(!This) throw wxe_badarg(0); This->SetVirtualSize(size); - break; + break; } -case wxWindow_SetVirtualSize_2: { // wxWindow::SetVirtualSize +case wxWindow_SetVirtualSize_2: { // wxWindow::SetVirtualSize wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetVirtualSize((int) *x,(int) *y); - break; + break; } -case wxWindow_SetVirtualSizeHints_3: { // wxWindow::SetVirtualSizeHints +case wxWindow_SetVirtualSizeHints_3: { // wxWindow::SetVirtualSizeHints int maxW=wxDefaultCoord; int maxH=wxDefaultCoord; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * minW = (int *) bp; bp += 4; int * minH = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; maxW = (int)*(int *) bp; bp += 4; } break; case 2: {bp += 4; maxH = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetVirtualSizeHints((int) *minW,(int) *minH,maxW,maxH); - break; + break; } -case wxWindow_SetVirtualSizeHints_2: { // wxWindow::SetVirtualSizeHints +case wxWindow_SetVirtualSizeHints_2: { // wxWindow::SetVirtualSizeHints wxSize maxSize= wxDefaultSize; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * minSizeW = (int *) bp; bp += 4; int * minSizeH = (int *) bp; bp += 4; wxSize minSize = wxSize(*minSizeW,*minSizeH); bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * maxSizeW = (int *) bp; bp += 4; int * maxSizeH = (int *) bp; bp += 4; maxSize = wxSize(*maxSizeW,*maxSizeH); bp += 4; /* Align */ } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetVirtualSizeHints(minSize,maxSize); - break; + break; } -case wxWindow_SetWindowStyle: { // wxWindow::SetWindowStyle +case wxWindow_SetWindowStyle: { // wxWindow::SetWindowStyle wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * style = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetWindowStyle((long) *style); - break; + break; } -case wxWindow_SetWindowStyleFlag: { // wxWindow::SetWindowStyleFlag +case wxWindow_SetWindowStyleFlag: { // wxWindow::SetWindowStyleFlag wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * style = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetWindowStyleFlag((long) *style); - break; + break; } -case wxWindow_SetWindowVariant: { // wxWindow::SetWindowVariant +case wxWindow_SetWindowVariant: { // wxWindow::SetWindowVariant wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; wxWindowVariant variant = *(wxWindowVariant *) bp; bp += 4;; if(!This) throw wxe_badarg(0); This->SetWindowVariant((wxWindowVariant) variant); - break; + break; } -case wxWindow_ShouldInheritColours: { // wxWindow::ShouldInheritColours +case wxWindow_ShouldInheritColours: { // wxWindow::ShouldInheritColours wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->ShouldInheritColours(); rt.addBool(Result); - break; + break; } -case wxWindow_Show: { // wxWindow::Show +case wxWindow_Show: { // wxWindow::Show bool show=true; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; show = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Show(show); rt.addBool(Result); - break; + break; } -case wxWindow_Thaw: { // wxWindow::Thaw +case wxWindow_Thaw: { // wxWindow::Thaw wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Thaw(); - break; + break; } -case wxWindow_TransferDataFromWindow: { // wxWindow::TransferDataFromWindow +case wxWindow_TransferDataFromWindow: { // wxWindow::TransferDataFromWindow wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->TransferDataFromWindow(); rt.addBool(Result); - break; + break; } -case wxWindow_TransferDataToWindow: { // wxWindow::TransferDataToWindow +case wxWindow_TransferDataToWindow: { // wxWindow::TransferDataToWindow wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->TransferDataToWindow(); rt.addBool(Result); - break; + break; } -case wxWindow_Update: { // wxWindow::Update +case wxWindow_Update: { // wxWindow::Update wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Update(); - break; + break; } -case wxWindow_UpdateWindowUI: { // wxWindow::UpdateWindowUI +case wxWindow_UpdateWindowUI: { // wxWindow::UpdateWindowUI long flags=wxUPDATE_UI_NONE; wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; flags = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->UpdateWindowUI(flags); - break; + break; } -case wxWindow_Validate: { // wxWindow::Validate +case wxWindow_Validate: { // wxWindow::Validate wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Validate(); rt.addBool(Result); - break; + break; } -case wxWindow_WarpPointer: { // wxWindow::WarpPointer +case wxWindow_WarpPointer: { // wxWindow::WarpPointer wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->WarpPointer((int) *x,(int) *y); - break; + break; } -case wxTopLevelWindow_GetIcon: { // wxTopLevelWindow::GetIcon +case wxTopLevelWindow_GetIcon: { // wxTopLevelWindow::GetIcon wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxIcon * Result = &This->GetIcon(); rt.addRef(getRef((void *)Result,memenv), "wxIcon"); - break; + break; } -case wxTopLevelWindow_GetIcons: { // wxTopLevelWindow::GetIcons +case wxTopLevelWindow_GetIcons: { // wxTopLevelWindow::GetIcons wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxIconBundle * Result = &This->GetIcons(); rt.addRef(getRef((void *)Result,memenv), "wxIconBundle"); - break; + break; } -case wxTopLevelWindow_GetTitle: { // wxTopLevelWindow::GetTitle +case wxTopLevelWindow_GetTitle: { // wxTopLevelWindow::GetTitle wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetTitle(); rt.add(Result); - break; + break; } -case wxTopLevelWindow_IsActive: { // wxTopLevelWindow::IsActive +case wxTopLevelWindow_IsActive: { // wxTopLevelWindow::IsActive wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsActive(); rt.addBool(Result); - break; + break; } -case wxTopLevelWindow_Iconize: { // wxTopLevelWindow::Iconize +case wxTopLevelWindow_Iconize: { // wxTopLevelWindow::Iconize bool iconize=true; wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; iconize = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Iconize(iconize); - break; + break; } -case wxTopLevelWindow_IsFullScreen: { // wxTopLevelWindow::IsFullScreen +case wxTopLevelWindow_IsFullScreen: { // wxTopLevelWindow::IsFullScreen wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsFullScreen(); rt.addBool(Result); - break; + break; } -case wxTopLevelWindow_IsIconized: { // wxTopLevelWindow::IsIconized +case wxTopLevelWindow_IsIconized: { // wxTopLevelWindow::IsIconized wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsIconized(); rt.addBool(Result); - break; + break; } -case wxTopLevelWindow_IsMaximized: { // wxTopLevelWindow::IsMaximized +case wxTopLevelWindow_IsMaximized: { // wxTopLevelWindow::IsMaximized wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsMaximized(); rt.addBool(Result); - break; + break; } -case wxTopLevelWindow_Maximize: { // wxTopLevelWindow::Maximize +case wxTopLevelWindow_Maximize: { // wxTopLevelWindow::Maximize bool maximize=true; wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; maximize = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Maximize(maximize); - break; + break; } -case wxTopLevelWindow_RequestUserAttention: { // wxTopLevelWindow::RequestUserAttention +case wxTopLevelWindow_RequestUserAttention: { // wxTopLevelWindow::RequestUserAttention int flags=wxUSER_ATTENTION_INFO; wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; flags = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->RequestUserAttention(flags); - break; + break; } -case wxTopLevelWindow_SetIcon: { // wxTopLevelWindow::SetIcon +case wxTopLevelWindow_SetIcon: { // wxTopLevelWindow::SetIcon wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4; wxIcon *icon = (wxIcon *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetIcon(*icon); - break; + break; } -case wxTopLevelWindow_SetIcons: { // wxTopLevelWindow::SetIcons +case wxTopLevelWindow_SetIcons: { // wxTopLevelWindow::SetIcons wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4; wxIconBundle *icons = (wxIconBundle *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetIcons(*icons); - break; + break; } -case wxTopLevelWindow_CenterOnScreen: { // wxTopLevelWindow::CenterOnScreen +case wxTopLevelWindow_CenterOnScreen: { // wxTopLevelWindow::CenterOnScreen int dir=wxBOTH; wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; dir = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->CenterOnScreen(dir); - break; + break; } -case wxTopLevelWindow_CentreOnScreen: { // wxTopLevelWindow::CentreOnScreen +case wxTopLevelWindow_CentreOnScreen: { // wxTopLevelWindow::CentreOnScreen int dir=wxBOTH; wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; dir = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->CentreOnScreen(dir); - break; + break; } -case wxTopLevelWindow_SetShape: { // wxTopLevelWindow::SetShape +case wxTopLevelWindow_SetShape: { // wxTopLevelWindow::SetShape wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4; wxRegion *region = (wxRegion *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->SetShape(*region); rt.addBool(Result); - break; + break; } -case wxTopLevelWindow_SetTitle: { // wxTopLevelWindow::SetTitle +case wxTopLevelWindow_SetTitle: { // wxTopLevelWindow::SetTitle wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4; int * titleLen = (int *) bp; bp += 4; wxString title = wxString(bp, wxConvUTF8); bp += *titleLen+((8-((0+ *titleLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetTitle(title); - break; + break; } -case wxTopLevelWindow_ShowFullScreen: { // wxTopLevelWindow::ShowFullScreen +case wxTopLevelWindow_ShowFullScreen: { // wxTopLevelWindow::ShowFullScreen long style=wxFULLSCREEN_ALL; wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4; bool * show = (bool *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->ShowFullScreen((bool) *show,style); rt.addBool(Result); - break; + break; } -case wxFrame_new_4: { // wxFrame::wxFrame +case wxFrame_new_4: { // wxFrame::wxFrame wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxDEFAULT_FRAME_STYLE; @@ -1816,7 +1816,7 @@ case wxFrame_new_4: { // wxFrame::wxFrame int * titleLen = (int *) bp; bp += 4; wxString title = wxString(bp, wxConvUTF8); bp += *titleLen+((8-((4+ *titleLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -1832,19 +1832,19 @@ case wxFrame_new_4: { // wxFrame::wxFrame case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxFrame * Result = new EwxFrame(parent,(wxWindowID) *id,title,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxFrame"); - break; + break; } -case wxFrame_new_0: { // wxFrame::wxFrame +case wxFrame_new_0: { // wxFrame::wxFrame wxFrame * Result = new EwxFrame(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxFrame"); - break; + break; } -case wxFrame_Create: { // wxFrame::Create +case wxFrame_Create: { // wxFrame::Create wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxDEFAULT_FRAME_STYLE; @@ -1854,7 +1854,7 @@ case wxFrame_Create: { // wxFrame::Create int * titleLen = (int *) bp; bp += 4; wxString title = wxString(bp, wxConvUTF8); bp += *titleLen+((8-((0+ *titleLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -1870,19 +1870,19 @@ case wxFrame_Create: { // wxFrame::Create case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,title,pos,size,style); rt.addBool(Result); - break; + break; } -case wxFrame_CreateStatusBar: { // wxFrame::CreateStatusBar +case wxFrame_CreateStatusBar: { // wxFrame::CreateStatusBar int number=1; long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE; wxWindowID id=0; wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; number = (int)*(int *) bp; bp += 4; } break; @@ -1892,137 +1892,137 @@ case wxFrame_CreateStatusBar: { // wxFrame::CreateStatusBar case 3: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxStatusBar * Result = (wxStatusBar*)This->CreateStatusBar(number,style,id); rt.addRef(getRef((void *)Result,memenv), "wxStatusBar"); - break; + break; } -case wxFrame_CreateToolBar: { // wxFrame::CreateToolBar +case wxFrame_CreateToolBar: { // wxFrame::CreateToolBar long style=-1; wxWindowID id=-1; wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; case 2: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxToolBar * Result = (wxToolBar*)This->CreateToolBar(style,id); rt.addRef(getRef((void *)Result,memenv), "wxToolBar"); - break; + break; } -case wxFrame_GetClientAreaOrigin: { // wxFrame::GetClientAreaOrigin +case wxFrame_GetClientAreaOrigin: { // wxFrame::GetClientAreaOrigin wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPoint Result = This->GetClientAreaOrigin(); rt.add(Result); - break; + break; } -case wxFrame_GetMenuBar: { // wxFrame::GetMenuBar +case wxFrame_GetMenuBar: { // wxFrame::GetMenuBar wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxMenuBar * Result = (wxMenuBar*)This->GetMenuBar(); rt.addRef(getRef((void *)Result,memenv), "wxMenuBar"); - break; + break; } -case wxFrame_GetStatusBar: { // wxFrame::GetStatusBar +case wxFrame_GetStatusBar: { // wxFrame::GetStatusBar wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxStatusBar * Result = (wxStatusBar*)This->GetStatusBar(); rt.addRef(getRef((void *)Result,memenv), "wxStatusBar"); - break; + break; } -case wxFrame_GetStatusBarPane: { // wxFrame::GetStatusBarPane +case wxFrame_GetStatusBarPane: { // wxFrame::GetStatusBarPane wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetStatusBarPane(); rt.addInt(Result); - break; + break; } -case wxFrame_GetToolBar: { // wxFrame::GetToolBar +case wxFrame_GetToolBar: { // wxFrame::GetToolBar wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxToolBar * Result = (wxToolBar*)This->GetToolBar(); rt.addRef(getRef((void *)Result,memenv), "wxToolBar"); - break; + break; } -case wxFrame_ProcessCommand: { // wxFrame::ProcessCommand +case wxFrame_ProcessCommand: { // wxFrame::ProcessCommand wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4; int * winid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->ProcessCommand((int) *winid); rt.addBool(Result); - break; + break; } -case wxFrame_SendSizeEvent: { // wxFrame::SendSizeEvent +case wxFrame_SendSizeEvent: { // wxFrame::SendSizeEvent wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SendSizeEvent(); - break; + break; } -case wxFrame_SetMenuBar: { // wxFrame::SetMenuBar +case wxFrame_SetMenuBar: { // wxFrame::SetMenuBar wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4; wxMenuBar *menubar = (wxMenuBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetMenuBar(menubar); - break; + break; } -case wxFrame_SetStatusBar: { // wxFrame::SetStatusBar +case wxFrame_SetStatusBar: { // wxFrame::SetStatusBar wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4; wxStatusBar *statbar = (wxStatusBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetStatusBar(statbar); - break; + break; } -case wxFrame_SetStatusBarPane: { // wxFrame::SetStatusBarPane +case wxFrame_SetStatusBarPane: { // wxFrame::SetStatusBarPane wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetStatusBarPane((int) *n); - break; + break; } -case wxFrame_SetStatusText: { // wxFrame::SetStatusText +case wxFrame_SetStatusText: { // wxFrame::SetStatusText int number=0; wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; number = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetStatusText(text,number); - break; + break; } -case wxFrame_SetStatusWidths: { // wxFrame::SetStatusWidths +case wxFrame_SetStatusWidths: { // wxFrame::SetStatusWidths wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4; int * widths_fieldLen = (int *) bp; bp += 4; int * widths_field = (int *) bp; bp += *widths_fieldLen*4+((0+ *widths_fieldLen)%2 )*4; if(!This) throw wxe_badarg(0); This->SetStatusWidths(*widths_fieldLen,widths_field); - break; + break; } -case wxFrame_SetToolBar: { // wxFrame::SetToolBar +case wxFrame_SetToolBar: { // wxFrame::SetToolBar wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4; wxToolBar *toolbar = (wxToolBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetToolBar(toolbar); - break; + break; } -case wxMiniFrame_new_0: { // wxMiniFrame::wxMiniFrame +case wxMiniFrame_new_0: { // wxMiniFrame::wxMiniFrame wxMiniFrame * Result = new EwxMiniFrame(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMiniFrame"); - break; + break; } -case wxMiniFrame_new_4: { // wxMiniFrame::wxMiniFrame +case wxMiniFrame_new_4: { // wxMiniFrame::wxMiniFrame wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxCAPTION|wxRESIZE_BORDER; @@ -2031,7 +2031,7 @@ case wxMiniFrame_new_4: { // wxMiniFrame::wxMiniFrame int * titleLen = (int *) bp; bp += 4; wxString title = wxString(bp, wxConvUTF8); bp += *titleLen+((8-((4+ *titleLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -2047,13 +2047,13 @@ case wxMiniFrame_new_4: { // wxMiniFrame::wxMiniFrame case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxMiniFrame * Result = new EwxMiniFrame(parent,(wxWindowID) *id,title,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMiniFrame"); - break; + break; } -case wxMiniFrame_Create: { // wxMiniFrame::Create +case wxMiniFrame_Create: { // wxMiniFrame::Create wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxCAPTION|wxRESIZE_BORDER; @@ -2063,7 +2063,7 @@ case wxMiniFrame_Create: { // wxMiniFrame::Create int * titleLen = (int *) bp; bp += 4; wxString title = wxString(bp, wxConvUTF8); bp += *titleLen+((8-((0+ *titleLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -2079,19 +2079,19 @@ case wxMiniFrame_Create: { // wxMiniFrame::Create case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,title,pos,size,style); rt.addBool(Result); - break; + break; } -case wxSplashScreen_new_0: { // wxSplashScreen::wxSplashScreen +case wxSplashScreen_new_0: { // wxSplashScreen::wxSplashScreen wxSplashScreen * Result = new EwxSplashScreen(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSplashScreen"); - break; + break; } -case wxSplashScreen_new_6: { // wxSplashScreen::wxSplashScreen +case wxSplashScreen_new_6: { // wxSplashScreen::wxSplashScreen wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP; @@ -2101,7 +2101,7 @@ case wxSplashScreen_new_6: { // wxSplashScreen::wxSplashScreen wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -2117,33 +2117,33 @@ case wxSplashScreen_new_6: { // wxSplashScreen::wxSplashScreen case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxSplashScreen * Result = new EwxSplashScreen(*bitmap,(long) *splashStyle,(int) *milliseconds,parent,(wxWindowID) *id,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSplashScreen"); - break; + break; } -case wxSplashScreen_GetSplashStyle: { // wxSplashScreen::GetSplashStyle +case wxSplashScreen_GetSplashStyle: { // wxSplashScreen::GetSplashStyle wxSplashScreen *This = (wxSplashScreen *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetSplashStyle(); rt.addInt(Result); - break; + break; } -case wxSplashScreen_GetTimeout: { // wxSplashScreen::GetTimeout +case wxSplashScreen_GetTimeout: { // wxSplashScreen::GetTimeout wxSplashScreen *This = (wxSplashScreen *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetTimeout(); rt.addInt(Result); - break; + break; } -case wxPanel_new_0: { // wxPanel::wxPanel +case wxPanel_new_0: { // wxPanel::wxPanel wxPanel * Result = new EwxPanel(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPanel"); - break; + break; } -case wxPanel_new_6: { // wxPanel::wxPanel +case wxPanel_new_6: { // wxPanel::wxPanel long style=wxTAB_TRAVERSAL|wxNO_BORDER; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; @@ -2151,24 +2151,24 @@ case wxPanel_new_6: { // wxPanel::wxPanel int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxPanel * Result = new EwxPanel(parent,(int) *x,(int) *y,(int) *width,(int) *height,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPanel"); - break; + break; } -case wxPanel_new_2: { // wxPanel::wxPanel +case wxPanel_new_2: { // wxPanel::wxPanel wxWindowID winid=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxTAB_TRAVERSAL|wxNO_BORDER; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; winid = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -2187,32 +2187,32 @@ case wxPanel_new_2: { // wxPanel::wxPanel case 4: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxPanel * Result = new EwxPanel(parent,winid,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPanel"); - break; + break; } -case wxPanel_InitDialog: { // wxPanel::InitDialog +case wxPanel_InitDialog: { // wxPanel::InitDialog wxPanel *This = (wxPanel *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->InitDialog(); - break; + break; } -case wxScrolledWindow_new_0: { // wxScrolledWindow::wxScrolledWindow +case wxScrolledWindow_new_0: { // wxScrolledWindow::wxScrolledWindow wxScrolledWindow * Result = new EwxScrolledWindow(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxScrolledWindow"); - break; + break; } -case wxScrolledWindow_new_2: { // wxScrolledWindow::wxScrolledWindow +case wxScrolledWindow_new_2: { // wxScrolledWindow::wxScrolledWindow wxWindowID winid=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=(wxHSCROLL|wxVSCROLL); wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; winid = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -2231,13 +2231,13 @@ case wxScrolledWindow_new_2: { // wxScrolledWindow::wxScrolledWindow case 4: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxScrolledWindow * Result = new EwxScrolledWindow(parent,winid,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxScrolledWindow"); - break; + break; } -case wxScrolledWindow_CalcScrolledPosition_4: { // wxScrolledWindow::CalcScrolledPosition +case wxScrolledWindow_CalcScrolledPosition_4: { // wxScrolledWindow::CalcScrolledPosition int xx; int yy; wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4; @@ -2248,9 +2248,9 @@ case wxScrolledWindow_CalcScrolledPosition_4: { // wxScrolledWindow::CalcScrolle rt.addInt(xx); rt.addInt(yy); rt.addTupleCount(2); - break; + break; } -case wxScrolledWindow_CalcScrolledPosition_1: { // wxScrolledWindow::CalcScrolledPosition +case wxScrolledWindow_CalcScrolledPosition_1: { // wxScrolledWindow::CalcScrolledPosition wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; @@ -2258,9 +2258,9 @@ case wxScrolledWindow_CalcScrolledPosition_1: { // wxScrolledWindow::CalcScrolle if(!This) throw wxe_badarg(0); wxPoint Result = This->CalcScrolledPosition(pt); rt.add(Result); - break; + break; } -case wxScrolledWindow_CalcUnscrolledPosition_4: { // wxScrolledWindow::CalcUnscrolledPosition +case wxScrolledWindow_CalcUnscrolledPosition_4: { // wxScrolledWindow::CalcUnscrolledPosition int xx; int yy; wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4; @@ -2271,9 +2271,9 @@ case wxScrolledWindow_CalcUnscrolledPosition_4: { // wxScrolledWindow::CalcUnscr rt.addInt(xx); rt.addInt(yy); rt.addTupleCount(2); - break; + break; } -case wxScrolledWindow_CalcUnscrolledPosition_1: { // wxScrolledWindow::CalcUnscrolledPosition +case wxScrolledWindow_CalcUnscrolledPosition_1: { // wxScrolledWindow::CalcUnscrolledPosition wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; @@ -2281,17 +2281,17 @@ case wxScrolledWindow_CalcUnscrolledPosition_1: { // wxScrolledWindow::CalcUnscr if(!This) throw wxe_badarg(0); wxPoint Result = This->CalcUnscrolledPosition(pt); rt.add(Result); - break; + break; } -case wxScrolledWindow_EnableScrolling: { // wxScrolledWindow::EnableScrolling +case wxScrolledWindow_EnableScrolling: { // wxScrolledWindow::EnableScrolling wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4; bool * x_scrolling = (bool *) bp; bp += 4; bool * y_scrolling = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->EnableScrolling((bool) *x_scrolling,(bool) *y_scrolling); - break; + break; } -case wxScrolledWindow_GetScrollPixelsPerUnit: { // wxScrolledWindow::GetScrollPixelsPerUnit +case wxScrolledWindow_GetScrollPixelsPerUnit: { // wxScrolledWindow::GetScrollPixelsPerUnit int pixelsPerUnitX; int pixelsPerUnitY; wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4; @@ -2300,9 +2300,9 @@ case wxScrolledWindow_GetScrollPixelsPerUnit: { // wxScrolledWindow::GetScrollPi rt.addInt(pixelsPerUnitX); rt.addInt(pixelsPerUnitY); rt.addTupleCount(2); - break; + break; } -case wxScrolledWindow_GetViewStart: { // wxScrolledWindow::GetViewStart +case wxScrolledWindow_GetViewStart: { // wxScrolledWindow::GetViewStart int x; int y; wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4; @@ -2311,31 +2311,31 @@ case wxScrolledWindow_GetViewStart: { // wxScrolledWindow::GetViewStart rt.addInt(x); rt.addInt(y); rt.addTupleCount(2); - break; + break; } -case wxScrolledWindow_DoPrepareDC: { // wxScrolledWindow::DoPrepareDC +case wxScrolledWindow_DoPrepareDC: { // wxScrolledWindow::DoPrepareDC wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4; wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->DoPrepareDC(*dc); - break; + break; } -case wxScrolledWindow_PrepareDC: { // wxScrolledWindow::PrepareDC +case wxScrolledWindow_PrepareDC: { // wxScrolledWindow::PrepareDC wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4; wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->PrepareDC(*dc); - break; + break; } -case wxScrolledWindow_Scroll: { // wxScrolledWindow::Scroll +case wxScrolledWindow_Scroll: { // wxScrolledWindow::Scroll wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Scroll((int) *x,(int) *y); - break; + break; } -case wxScrolledWindow_SetScrollbars: { // wxScrolledWindow::SetScrollbars +case wxScrolledWindow_SetScrollbars: { // wxScrolledWindow::SetScrollbars int xPos=0; int yPos=0; bool noRefresh=false; @@ -2345,7 +2345,7 @@ case wxScrolledWindow_SetScrollbars: { // wxScrolledWindow::SetScrollbars int * noUnitsX = (int *) bp; bp += 4; int * noUnitsY = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; xPos = (int)*(int *) bp; bp += 4; } break; @@ -2355,40 +2355,40 @@ case wxScrolledWindow_SetScrollbars: { // wxScrolledWindow::SetScrollbars case 3: {bp += 4; noRefresh = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetScrollbars((int) *pixelsPerUnitX,(int) *pixelsPerUnitY,(int) *noUnitsX,(int) *noUnitsY,xPos,yPos,noRefresh); - break; + break; } -case wxScrolledWindow_SetScrollRate: { // wxScrolledWindow::SetScrollRate +case wxScrolledWindow_SetScrollRate: { // wxScrolledWindow::SetScrollRate wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4; int * xstep = (int *) bp; bp += 4; int * ystep = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetScrollRate((int) *xstep,(int) *ystep); - break; + break; } -case wxScrolledWindow_SetTargetWindow: { // wxScrolledWindow::SetTargetWindow +case wxScrolledWindow_SetTargetWindow: { // wxScrolledWindow::SetTargetWindow wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4; wxWindow *target = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetTargetWindow(target); - break; + break; } -case wxSashWindow_new_0: { // wxSashWindow::wxSashWindow +case wxSashWindow_new_0: { // wxSashWindow::wxSashWindow wxSashWindow * Result = new EwxSashWindow(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSashWindow"); - break; + break; } -case wxSashWindow_new_2: { // wxSashWindow::wxSashWindow +case wxSashWindow_new_2: { // wxSashWindow::wxSashWindow wxWindowID id=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=(0x0040|0x0080)|wxCLIP_CHILDREN; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -2407,98 +2407,98 @@ case wxSashWindow_new_2: { // wxSashWindow::wxSashWindow case 4: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxSashWindow * Result = new EwxSashWindow(parent,id,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSashWindow"); - break; + break; } -case wxSashWindow_GetSashVisible: { // wxSashWindow::GetSashVisible +case wxSashWindow_GetSashVisible: { // wxSashWindow::GetSashVisible wxSashWindow *This = (wxSashWindow *) getPtr(bp,memenv); bp += 4; wxSashEdgePosition edge = *(wxSashEdgePosition *) bp; bp += 4;; if(!This) throw wxe_badarg(0); bool Result = This->GetSashVisible((wxSashEdgePosition) edge); rt.addBool(Result); - break; + break; } -case wxSashWindow_GetMaximumSizeX: { // wxSashWindow::GetMaximumSizeX +case wxSashWindow_GetMaximumSizeX: { // wxSashWindow::GetMaximumSizeX wxSashWindow *This = (wxSashWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMaximumSizeX(); rt.addInt(Result); - break; + break; } -case wxSashWindow_GetMaximumSizeY: { // wxSashWindow::GetMaximumSizeY +case wxSashWindow_GetMaximumSizeY: { // wxSashWindow::GetMaximumSizeY wxSashWindow *This = (wxSashWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMaximumSizeY(); rt.addInt(Result); - break; + break; } -case wxSashWindow_GetMinimumSizeX: { // wxSashWindow::GetMinimumSizeX +case wxSashWindow_GetMinimumSizeX: { // wxSashWindow::GetMinimumSizeX wxSashWindow *This = (wxSashWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMinimumSizeX(); rt.addInt(Result); - break; + break; } -case wxSashWindow_GetMinimumSizeY: { // wxSashWindow::GetMinimumSizeY +case wxSashWindow_GetMinimumSizeY: { // wxSashWindow::GetMinimumSizeY wxSashWindow *This = (wxSashWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMinimumSizeY(); rt.addInt(Result); - break; + break; } -case wxSashWindow_SetMaximumSizeX: { // wxSashWindow::SetMaximumSizeX +case wxSashWindow_SetMaximumSizeX: { // wxSashWindow::SetMaximumSizeX wxSashWindow *This = (wxSashWindow *) getPtr(bp,memenv); bp += 4; int * max = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMaximumSizeX((int) *max); - break; + break; } -case wxSashWindow_SetMaximumSizeY: { // wxSashWindow::SetMaximumSizeY +case wxSashWindow_SetMaximumSizeY: { // wxSashWindow::SetMaximumSizeY wxSashWindow *This = (wxSashWindow *) getPtr(bp,memenv); bp += 4; int * max = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMaximumSizeY((int) *max); - break; + break; } -case wxSashWindow_SetMinimumSizeX: { // wxSashWindow::SetMinimumSizeX +case wxSashWindow_SetMinimumSizeX: { // wxSashWindow::SetMinimumSizeX wxSashWindow *This = (wxSashWindow *) getPtr(bp,memenv); bp += 4; int * min = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMinimumSizeX((int) *min); - break; + break; } -case wxSashWindow_SetMinimumSizeY: { // wxSashWindow::SetMinimumSizeY +case wxSashWindow_SetMinimumSizeY: { // wxSashWindow::SetMinimumSizeY wxSashWindow *This = (wxSashWindow *) getPtr(bp,memenv); bp += 4; int * min = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMinimumSizeY((int) *min); - break; + break; } -case wxSashWindow_SetSashVisible: { // wxSashWindow::SetSashVisible +case wxSashWindow_SetSashVisible: { // wxSashWindow::SetSashVisible wxSashWindow *This = (wxSashWindow *) getPtr(bp,memenv); bp += 4; wxSashEdgePosition edge = *(wxSashEdgePosition *) bp; bp += 4;; bool * sash = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSashVisible((wxSashEdgePosition) edge,(bool) *sash); - break; + break; } -case wxSashLayoutWindow_new_0: { // wxSashLayoutWindow::wxSashLayoutWindow +case wxSashLayoutWindow_new_0: { // wxSashLayoutWindow::wxSashLayoutWindow wxSashLayoutWindow * Result = new EwxSashLayoutWindow(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSashLayoutWindow"); - break; + break; } -case wxSashLayoutWindow_new_2: { // wxSashLayoutWindow::wxSashLayoutWindow +case wxSashLayoutWindow_new_2: { // wxSashLayoutWindow::wxSashLayoutWindow wxWindowID id=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxSW_3D|wxCLIP_CHILDREN; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -2517,20 +2517,20 @@ case wxSashLayoutWindow_new_2: { // wxSashLayoutWindow::wxSashLayoutWindow case 4: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxSashLayoutWindow * Result = new EwxSashLayoutWindow(parent,id,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSashLayoutWindow"); - break; + break; } -case wxSashLayoutWindow_Create: { // wxSashLayoutWindow::Create +case wxSashLayoutWindow_Create: { // wxSashLayoutWindow::Create wxWindowID id=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxSW_3D|wxCLIP_CHILDREN; wxSashLayoutWindow *This = (wxSashLayoutWindow *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -2549,62 +2549,62 @@ case wxSashLayoutWindow_Create: { // wxSashLayoutWindow::Create case 4: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,id,pos,size,style); rt.addBool(Result); - break; + break; } -case wxSashLayoutWindow_GetAlignment: { // wxSashLayoutWindow::GetAlignment +case wxSashLayoutWindow_GetAlignment: { // wxSashLayoutWindow::GetAlignment wxSashLayoutWindow *This = (wxSashLayoutWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetAlignment(); rt.addInt(Result); - break; + break; } -case wxSashLayoutWindow_GetOrientation: { // wxSashLayoutWindow::GetOrientation +case wxSashLayoutWindow_GetOrientation: { // wxSashLayoutWindow::GetOrientation wxSashLayoutWindow *This = (wxSashLayoutWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetOrientation(); rt.addInt(Result); - break; + break; } -case wxSashLayoutWindow_SetAlignment: { // wxSashLayoutWindow::SetAlignment +case wxSashLayoutWindow_SetAlignment: { // wxSashLayoutWindow::SetAlignment wxSashLayoutWindow *This = (wxSashLayoutWindow *) getPtr(bp,memenv); bp += 4; wxLayoutAlignment align = *(wxLayoutAlignment *) bp; bp += 4;; if(!This) throw wxe_badarg(0); This->SetAlignment((wxLayoutAlignment) align); - break; + break; } -case wxSashLayoutWindow_SetDefaultSize: { // wxSashLayoutWindow::SetDefaultSize +case wxSashLayoutWindow_SetDefaultSize: { // wxSashLayoutWindow::SetDefaultSize wxSashLayoutWindow *This = (wxSashLayoutWindow *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; wxSize size = wxSize(*sizeW,*sizeH); if(!This) throw wxe_badarg(0); This->SetDefaultSize(size); - break; + break; } -case wxSashLayoutWindow_SetOrientation: { // wxSashLayoutWindow::SetOrientation +case wxSashLayoutWindow_SetOrientation: { // wxSashLayoutWindow::SetOrientation wxSashLayoutWindow *This = (wxSashLayoutWindow *) getPtr(bp,memenv); bp += 4; wxLayoutOrientation orient = *(wxLayoutOrientation *) bp; bp += 4;; if(!This) throw wxe_badarg(0); This->SetOrientation((wxLayoutOrientation) orient); - break; + break; } -case wxGrid_new_0: { // wxGrid::wxGrid +case wxGrid_new_0: { // wxGrid::wxGrid wxGrid * Result = new EwxGrid(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxGrid"); - break; + break; } -case wxGrid_new_3: { // wxGrid::wxGrid +case wxGrid_new_3: { // wxGrid::wxGrid wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxWANTS_CHARS; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -2620,13 +2620,13 @@ case wxGrid_new_3: { // wxGrid::wxGrid case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxGrid * Result = new EwxGrid(parent,(wxWindowID) *id,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxGrid"); - break; + break; } -case wxGrid_new_4: { // wxGrid::wxGrid +case wxGrid_new_4: { // wxGrid::wxGrid int w=wxDefaultCoord; int h=wxDefaultCoord; long style=wxWANTS_CHARS; @@ -2634,7 +2634,7 @@ case wxGrid_new_4: { // wxGrid::wxGrid int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; w = (int)*(int *) bp; bp += 4; } break; @@ -2644,113 +2644,113 @@ case wxGrid_new_4: { // wxGrid::wxGrid case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxGrid * Result = new EwxGrid(parent,(int) *x,(int) *y,w,h,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxGrid"); - break; + break; } -case wxGrid_AppendCols: { // wxGrid::AppendCols +case wxGrid_AppendCols: { // wxGrid::AppendCols int numCols=1; bool updateLabels=true; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; numCols = (int)*(int *) bp; bp += 4; } break; case 2: {bp += 4; updateLabels = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->AppendCols(numCols,updateLabels); rt.addBool(Result); - break; + break; } -case wxGrid_AppendRows: { // wxGrid::AppendRows +case wxGrid_AppendRows: { // wxGrid::AppendRows int numRows=1; bool updateLabels=true; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; numRows = (int)*(int *) bp; bp += 4; } break; case 2: {bp += 4; updateLabels = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->AppendRows(numRows,updateLabels); rt.addBool(Result); - break; + break; } -case wxGrid_AutoSize: { // wxGrid::AutoSize +case wxGrid_AutoSize: { // wxGrid::AutoSize wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->AutoSize(); - break; + break; } -case wxGrid_AutoSizeColumn: { // wxGrid::AutoSizeColumn +case wxGrid_AutoSizeColumn: { // wxGrid::AutoSizeColumn bool setAsMin=true; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * col = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; setAsMin = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->AutoSizeColumn((int) *col,setAsMin); - break; + break; } -case wxGrid_AutoSizeColumns: { // wxGrid::AutoSizeColumns +case wxGrid_AutoSizeColumns: { // wxGrid::AutoSizeColumns bool setAsMin=true; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; setAsMin = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->AutoSizeColumns(setAsMin); - break; + break; } -case wxGrid_AutoSizeRow: { // wxGrid::AutoSizeRow +case wxGrid_AutoSizeRow: { // wxGrid::AutoSizeRow bool setAsMin=true; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; setAsMin = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->AutoSizeRow((int) *row,setAsMin); - break; + break; } -case wxGrid_AutoSizeRows: { // wxGrid::AutoSizeRows +case wxGrid_AutoSizeRows: { // wxGrid::AutoSizeRows bool setAsMin=true; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; setAsMin = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->AutoSizeRows(setAsMin); - break; + break; } -case wxGrid_BeginBatch: { // wxGrid::BeginBatch +case wxGrid_BeginBatch: { // wxGrid::BeginBatch wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->BeginBatch(); - break; + break; } -case wxGrid_BlockToDeviceRect: { // wxGrid::BlockToDeviceRect +case wxGrid_BlockToDeviceRect: { // wxGrid::BlockToDeviceRect wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * topLeftR = (int *) bp; bp += 4; int * topLeftC = (int *) bp; bp += 4; @@ -2761,46 +2761,46 @@ case wxGrid_BlockToDeviceRect: { // wxGrid::BlockToDeviceRect if(!This) throw wxe_badarg(0); wxRect Result = This->BlockToDeviceRect(topLeft,bottomRight); rt.add(Result); - break; + break; } -case wxGrid_CanDragColSize: { // wxGrid::CanDragColSize +case wxGrid_CanDragColSize: { // wxGrid::CanDragColSize wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CanDragColSize(); rt.addBool(Result); - break; + break; } -case wxGrid_CanDragRowSize: { // wxGrid::CanDragRowSize +case wxGrid_CanDragRowSize: { // wxGrid::CanDragRowSize wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CanDragRowSize(); rt.addBool(Result); - break; + break; } -case wxGrid_CanDragGridSize: { // wxGrid::CanDragGridSize +case wxGrid_CanDragGridSize: { // wxGrid::CanDragGridSize wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CanDragGridSize(); rt.addBool(Result); - break; + break; } -case wxGrid_CanEnableCellControl: { // wxGrid::CanEnableCellControl +case wxGrid_CanEnableCellControl: { // wxGrid::CanEnableCellControl wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CanEnableCellControl(); rt.addBool(Result); - break; + break; } -case wxGrid_CellToRect_2: { // wxGrid::CellToRect +case wxGrid_CellToRect_2: { // wxGrid::CellToRect wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxRect Result = This->CellToRect((int) *row,(int) *col); rt.add(Result); - break; + break; } -case wxGrid_CellToRect_1: { // wxGrid::CellToRect +case wxGrid_CellToRect_1: { // wxGrid::CellToRect wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * coordsR = (int *) bp; bp += 4; int * coordsC = (int *) bp; bp += 4; @@ -2808,43 +2808,43 @@ case wxGrid_CellToRect_1: { // wxGrid::CellToRect if(!This) throw wxe_badarg(0); wxRect Result = This->CellToRect(coords); rt.add(Result); - break; + break; } -case wxGrid_ClearGrid: { // wxGrid::ClearGrid +case wxGrid_ClearGrid: { // wxGrid::ClearGrid wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ClearGrid(); - break; + break; } -case wxGrid_ClearSelection: { // wxGrid::ClearSelection +case wxGrid_ClearSelection: { // wxGrid::ClearSelection wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ClearSelection(); - break; + break; } -case wxGrid_CreateGrid: { // wxGrid::CreateGrid +case wxGrid_CreateGrid: { // wxGrid::CreateGrid wxGrid::wxGridSelectionModes selmode=wxGrid::wxGridSelectCells; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * numRows = (int *) bp; bp += 4; int * numCols = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; selmode = *(wxGrid::wxGridSelectionModes *) bp; bp += 4;; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->CreateGrid((int) *numRows,(int) *numCols,(wxGrid::wxGridSelectionModes) selmode); rt.addBool(Result); - break; + break; } -case wxGrid_DeleteCols: { // wxGrid::DeleteCols +case wxGrid_DeleteCols: { // wxGrid::DeleteCols int pos=0; int numCols=1; bool updateLabels=true; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; pos = (int)*(int *) bp; bp += 4; } break; @@ -2854,19 +2854,19 @@ case wxGrid_DeleteCols: { // wxGrid::DeleteCols case 3: {bp += 4; updateLabels = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->DeleteCols(pos,numCols,updateLabels); rt.addBool(Result); - break; + break; } -case wxGrid_DeleteRows: { // wxGrid::DeleteRows +case wxGrid_DeleteRows: { // wxGrid::DeleteRows int pos=0; int numRows=1; bool updateLabels=true; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; pos = (int)*(int *) bp; bp += 4; } break; @@ -2876,134 +2876,134 @@ case wxGrid_DeleteRows: { // wxGrid::DeleteRows case 3: {bp += 4; updateLabels = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->DeleteRows(pos,numRows,updateLabels); rt.addBool(Result); - break; + break; } -case wxGrid_DisableCellEditControl: { // wxGrid::DisableCellEditControl +case wxGrid_DisableCellEditControl: { // wxGrid::DisableCellEditControl wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->DisableCellEditControl(); - break; + break; } -case wxGrid_DisableDragColSize: { // wxGrid::DisableDragColSize +case wxGrid_DisableDragColSize: { // wxGrid::DisableDragColSize wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->DisableDragColSize(); - break; + break; } -case wxGrid_DisableDragGridSize: { // wxGrid::DisableDragGridSize +case wxGrid_DisableDragGridSize: { // wxGrid::DisableDragGridSize wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->DisableDragGridSize(); - break; + break; } -case wxGrid_DisableDragRowSize: { // wxGrid::DisableDragRowSize +case wxGrid_DisableDragRowSize: { // wxGrid::DisableDragRowSize wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->DisableDragRowSize(); - break; + break; } -case wxGrid_EnableCellEditControl: { // wxGrid::EnableCellEditControl +case wxGrid_EnableCellEditControl: { // wxGrid::EnableCellEditControl bool enable=true; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; enable = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->EnableCellEditControl(enable); - break; + break; } -case wxGrid_EnableDragColSize: { // wxGrid::EnableDragColSize +case wxGrid_EnableDragColSize: { // wxGrid::EnableDragColSize bool enable=true; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; enable = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->EnableDragColSize(enable); - break; + break; } -case wxGrid_EnableDragGridSize: { // wxGrid::EnableDragGridSize +case wxGrid_EnableDragGridSize: { // wxGrid::EnableDragGridSize bool enable=true; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; enable = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->EnableDragGridSize(enable); - break; + break; } -case wxGrid_EnableDragRowSize: { // wxGrid::EnableDragRowSize +case wxGrid_EnableDragRowSize: { // wxGrid::EnableDragRowSize bool enable=true; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; enable = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->EnableDragRowSize(enable); - break; + break; } -case wxGrid_EnableEditing: { // wxGrid::EnableEditing +case wxGrid_EnableEditing: { // wxGrid::EnableEditing wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; bool * edit = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->EnableEditing((bool) *edit); - break; + break; } -case wxGrid_EnableGridLines: { // wxGrid::EnableGridLines +case wxGrid_EnableGridLines: { // wxGrid::EnableGridLines bool enable=true; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; enable = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->EnableGridLines(enable); - break; + break; } -case wxGrid_EndBatch: { // wxGrid::EndBatch +case wxGrid_EndBatch: { // wxGrid::EndBatch wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->EndBatch(); - break; + break; } -case wxGrid_Fit: { // wxGrid::Fit +case wxGrid_Fit: { // wxGrid::Fit wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Fit(); - break; + break; } -case wxGrid_ForceRefresh: { // wxGrid::ForceRefresh +case wxGrid_ForceRefresh: { // wxGrid::ForceRefresh wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ForceRefresh(); - break; + break; } -case wxGrid_GetBatchCount: { // wxGrid::GetBatchCount +case wxGrid_GetBatchCount: { // wxGrid::GetBatchCount wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetBatchCount(); rt.addInt(Result); - break; + break; } -case wxGrid_GetCellAlignment: { // wxGrid::GetCellAlignment +case wxGrid_GetCellAlignment: { // wxGrid::GetCellAlignment int horiz; int vert; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; @@ -3014,63 +3014,63 @@ case wxGrid_GetCellAlignment: { // wxGrid::GetCellAlignment rt.addInt(horiz); rt.addInt(vert); rt.addTupleCount(2); - break; + break; } -case wxGrid_GetCellBackgroundColour: { // wxGrid::GetCellBackgroundColour +case wxGrid_GetCellBackgroundColour: { // wxGrid::GetCellBackgroundColour wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetCellBackgroundColour((int) *row,(int) *col); rt.add(Result); - break; + break; } -case wxGrid_GetCellEditor: { // wxGrid::GetCellEditor +case wxGrid_GetCellEditor: { // wxGrid::GetCellEditor wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxGridCellEditor * Result = (wxGridCellEditor*)This->GetCellEditor((int) *row,(int) *col); rt.addRef(getRef((void *)Result,memenv), "wxGridCellEditor"); - break; + break; } -case wxGrid_GetCellFont: { // wxGrid::GetCellFont +case wxGrid_GetCellFont: { // wxGrid::GetCellFont wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxFont * Result = new wxFont(This->GetCellFont((int) *row,(int) *col)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxFont"); - break; + break; } -case wxGrid_GetCellRenderer: { // wxGrid::GetCellRenderer +case wxGrid_GetCellRenderer: { // wxGrid::GetCellRenderer wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxGridCellRenderer * Result = (wxGridCellRenderer*)This->GetCellRenderer((int) *row,(int) *col); rt.addRef(getRef((void *)Result,memenv), "wxGridCellRenderer"); - break; + break; } -case wxGrid_GetCellTextColour: { // wxGrid::GetCellTextColour +case wxGrid_GetCellTextColour: { // wxGrid::GetCellTextColour wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetCellTextColour((int) *row,(int) *col); rt.add(Result); - break; + break; } -case wxGrid_GetCellValue_2: { // wxGrid::GetCellValue +case wxGrid_GetCellValue_2: { // wxGrid::GetCellValue wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetCellValue((int) *row,(int) *col); rt.add(Result); - break; + break; } -case wxGrid_GetCellValue_1: { // wxGrid::GetCellValue +case wxGrid_GetCellValue_1: { // wxGrid::GetCellValue wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * coordsR = (int *) bp; bp += 4; int * coordsC = (int *) bp; bp += 4; @@ -3078,9 +3078,9 @@ case wxGrid_GetCellValue_1: { // wxGrid::GetCellValue if(!This) throw wxe_badarg(0); wxString Result = This->GetCellValue(coords); rt.add(Result); - break; + break; } -case wxGrid_GetColLabelAlignment: { // wxGrid::GetColLabelAlignment +case wxGrid_GetColLabelAlignment: { // wxGrid::GetColLabelAlignment int horiz; int vert; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; @@ -3089,31 +3089,31 @@ case wxGrid_GetColLabelAlignment: { // wxGrid::GetColLabelAlignment rt.addInt(horiz); rt.addInt(vert); rt.addTupleCount(2); - break; + break; } -case wxGrid_GetColLabelSize: { // wxGrid::GetColLabelSize +case wxGrid_GetColLabelSize: { // wxGrid::GetColLabelSize wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetColLabelSize(); rt.addInt(Result); - break; + break; } -case wxGrid_GetColLabelValue: { // wxGrid::GetColLabelValue +case wxGrid_GetColLabelValue: { // wxGrid::GetColLabelValue wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetColLabelValue((int) *col); rt.add(Result); - break; + break; } -case wxGrid_GetColMinimalAcceptableWidth: { // wxGrid::GetColMinimalAcceptableWidth +case wxGrid_GetColMinimalAcceptableWidth: { // wxGrid::GetColMinimalAcceptableWidth wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetColMinimalAcceptableWidth(); rt.addInt(Result); - break; + break; } -case wxGrid_GetDefaultCellAlignment: { // wxGrid::GetDefaultCellAlignment +case wxGrid_GetDefaultCellAlignment: { // wxGrid::GetDefaultCellAlignment int horiz; int vert; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; @@ -3122,60 +3122,60 @@ case wxGrid_GetDefaultCellAlignment: { // wxGrid::GetDefaultCellAlignment rt.addInt(horiz); rt.addInt(vert); rt.addTupleCount(2); - break; + break; } -case wxGrid_GetDefaultCellBackgroundColour: { // wxGrid::GetDefaultCellBackgroundColour +case wxGrid_GetDefaultCellBackgroundColour: { // wxGrid::GetDefaultCellBackgroundColour wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetDefaultCellBackgroundColour(); rt.add(Result); - break; + break; } -case wxGrid_GetDefaultCellFont: { // wxGrid::GetDefaultCellFont +case wxGrid_GetDefaultCellFont: { // wxGrid::GetDefaultCellFont wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxFont * Result = new wxFont(This->GetDefaultCellFont()); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxFont"); - break; + break; } -case wxGrid_GetDefaultCellTextColour: { // wxGrid::GetDefaultCellTextColour +case wxGrid_GetDefaultCellTextColour: { // wxGrid::GetDefaultCellTextColour wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetDefaultCellTextColour(); rt.add(Result); - break; + break; } -case wxGrid_GetDefaultColLabelSize: { // wxGrid::GetDefaultColLabelSize +case wxGrid_GetDefaultColLabelSize: { // wxGrid::GetDefaultColLabelSize wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetDefaultColLabelSize(); rt.addInt(Result); - break; + break; } -case wxGrid_GetDefaultColSize: { // wxGrid::GetDefaultColSize +case wxGrid_GetDefaultColSize: { // wxGrid::GetDefaultColSize wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetDefaultColSize(); rt.addInt(Result); - break; + break; } -case wxGrid_GetDefaultEditor: { // wxGrid::GetDefaultEditor +case wxGrid_GetDefaultEditor: { // wxGrid::GetDefaultEditor wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGridCellEditor * Result = (wxGridCellEditor*)This->GetDefaultEditor(); rt.addRef(getRef((void *)Result,memenv), "wxGridCellEditor"); - break; + break; } -case wxGrid_GetDefaultEditorForCell_2: { // wxGrid::GetDefaultEditorForCell +case wxGrid_GetDefaultEditorForCell_2: { // wxGrid::GetDefaultEditorForCell wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxGridCellEditor * Result = (wxGridCellEditor*)This->GetDefaultEditorForCell((int) *row,(int) *col); rt.addRef(getRef((void *)Result,memenv), "wxGridCellEditor"); - break; + break; } -case wxGrid_GetDefaultEditorForCell_1: { // wxGrid::GetDefaultEditorForCell +case wxGrid_GetDefaultEditorForCell_1: { // wxGrid::GetDefaultEditorForCell wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * cR = (int *) bp; bp += 4; int * cC = (int *) bp; bp += 4; @@ -3183,9 +3183,9 @@ case wxGrid_GetDefaultEditorForCell_1: { // wxGrid::GetDefaultEditorForCell if(!This) throw wxe_badarg(0); wxGridCellEditor * Result = (wxGridCellEditor*)This->GetDefaultEditorForCell(c); rt.addRef(getRef((void *)Result,memenv), "wxGridCellEditor"); - break; + break; } -case wxGrid_GetDefaultEditorForType: { // wxGrid::GetDefaultEditorForType +case wxGrid_GetDefaultEditorForType: { // wxGrid::GetDefaultEditorForType wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * typeNameLen = (int *) bp; bp += 4; wxString typeName = wxString(bp, wxConvUTF8); @@ -3193,25 +3193,25 @@ case wxGrid_GetDefaultEditorForType: { // wxGrid::GetDefaultEditorForType if(!This) throw wxe_badarg(0); wxGridCellEditor * Result = (wxGridCellEditor*)This->GetDefaultEditorForType(typeName); rt.addRef(getRef((void *)Result,memenv), "wxGridCellEditor"); - break; + break; } -case wxGrid_GetDefaultRenderer: { // wxGrid::GetDefaultRenderer +case wxGrid_GetDefaultRenderer: { // wxGrid::GetDefaultRenderer wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGridCellRenderer * Result = (wxGridCellRenderer*)This->GetDefaultRenderer(); rt.addRef(getRef((void *)Result,memenv), "wxGridCellRenderer"); - break; + break; } -case wxGrid_GetDefaultRendererForCell: { // wxGrid::GetDefaultRendererForCell +case wxGrid_GetDefaultRendererForCell: { // wxGrid::GetDefaultRendererForCell wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxGridCellRenderer * Result = (wxGridCellRenderer*)This->GetDefaultRendererForCell((int) *row,(int) *col); rt.addRef(getRef((void *)Result,memenv), "wxGridCellRenderer"); - break; + break; } -case wxGrid_GetDefaultRendererForType: { // wxGrid::GetDefaultRendererForType +case wxGrid_GetDefaultRendererForType: { // wxGrid::GetDefaultRendererForType wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * typeNameLen = (int *) bp; bp += 4; wxString typeName = wxString(bp, wxConvUTF8); @@ -3219,102 +3219,102 @@ case wxGrid_GetDefaultRendererForType: { // wxGrid::GetDefaultRendererForType if(!This) throw wxe_badarg(0); wxGridCellRenderer * Result = (wxGridCellRenderer*)This->GetDefaultRendererForType(typeName); rt.addRef(getRef((void *)Result,memenv), "wxGridCellRenderer"); - break; + break; } -case wxGrid_GetDefaultRowLabelSize: { // wxGrid::GetDefaultRowLabelSize +case wxGrid_GetDefaultRowLabelSize: { // wxGrid::GetDefaultRowLabelSize wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetDefaultRowLabelSize(); rt.addInt(Result); - break; + break; } -case wxGrid_GetDefaultRowSize: { // wxGrid::GetDefaultRowSize +case wxGrid_GetDefaultRowSize: { // wxGrid::GetDefaultRowSize wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetDefaultRowSize(); rt.addInt(Result); - break; + break; } -case wxGrid_GetGridCursorCol: { // wxGrid::GetGridCursorCol +case wxGrid_GetGridCursorCol: { // wxGrid::GetGridCursorCol wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetGridCursorCol(); rt.addInt(Result); - break; + break; } -case wxGrid_GetGridCursorRow: { // wxGrid::GetGridCursorRow +case wxGrid_GetGridCursorRow: { // wxGrid::GetGridCursorRow wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetGridCursorRow(); rt.addInt(Result); - break; + break; } -case wxGrid_GetGridLineColour: { // wxGrid::GetGridLineColour +case wxGrid_GetGridLineColour: { // wxGrid::GetGridLineColour wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetGridLineColour(); rt.add(Result); - break; + break; } -case wxGrid_GridLinesEnabled: { // wxGrid::GridLinesEnabled +case wxGrid_GridLinesEnabled: { // wxGrid::GridLinesEnabled wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GridLinesEnabled(); rt.addBool(Result); - break; + break; } -case wxGrid_GetLabelBackgroundColour: { // wxGrid::GetLabelBackgroundColour +case wxGrid_GetLabelBackgroundColour: { // wxGrid::GetLabelBackgroundColour wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetLabelBackgroundColour(); rt.add(Result); - break; + break; } -case wxGrid_GetLabelFont: { // wxGrid::GetLabelFont +case wxGrid_GetLabelFont: { // wxGrid::GetLabelFont wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxFont * Result = new wxFont(This->GetLabelFont()); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxFont"); - break; + break; } -case wxGrid_GetLabelTextColour: { // wxGrid::GetLabelTextColour +case wxGrid_GetLabelTextColour: { // wxGrid::GetLabelTextColour wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetLabelTextColour(); rt.add(Result); - break; + break; } -case wxGrid_GetNumberCols: { // wxGrid::GetNumberCols +case wxGrid_GetNumberCols: { // wxGrid::GetNumberCols wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetNumberCols(); rt.addInt(Result); - break; + break; } -case wxGrid_GetNumberRows: { // wxGrid::GetNumberRows +case wxGrid_GetNumberRows: { // wxGrid::GetNumberRows wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetNumberRows(); rt.addInt(Result); - break; + break; } -case wxGrid_GetOrCreateCellAttr: { // wxGrid::GetOrCreateCellAttr +case wxGrid_GetOrCreateCellAttr: { // wxGrid::GetOrCreateCellAttr wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxGridCellAttr * Result = (wxGridCellAttr*)This->GetOrCreateCellAttr((int) *row,(int) *col); rt.addRef(getRef((void *)Result,memenv), "wxGridCellAttr"); - break; + break; } -case wxGrid_GetRowMinimalAcceptableHeight: { // wxGrid::GetRowMinimalAcceptableHeight +case wxGrid_GetRowMinimalAcceptableHeight: { // wxGrid::GetRowMinimalAcceptableHeight wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetRowMinimalAcceptableHeight(); rt.addInt(Result); - break; + break; } -case wxGrid_GetRowLabelAlignment: { // wxGrid::GetRowLabelAlignment +case wxGrid_GetRowLabelAlignment: { // wxGrid::GetRowLabelAlignment int horiz; int vert; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; @@ -3323,46 +3323,46 @@ case wxGrid_GetRowLabelAlignment: { // wxGrid::GetRowLabelAlignment rt.addInt(horiz); rt.addInt(vert); rt.addTupleCount(2); - break; + break; } -case wxGrid_GetRowLabelSize: { // wxGrid::GetRowLabelSize +case wxGrid_GetRowLabelSize: { // wxGrid::GetRowLabelSize wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetRowLabelSize(); rt.addInt(Result); - break; + break; } -case wxGrid_GetRowLabelValue: { // wxGrid::GetRowLabelValue +case wxGrid_GetRowLabelValue: { // wxGrid::GetRowLabelValue wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetRowLabelValue((int) *row); rt.add(Result); - break; + break; } -case wxGrid_GetRowSize: { // wxGrid::GetRowSize +case wxGrid_GetRowSize: { // wxGrid::GetRowSize wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetRowSize((int) *row); rt.addInt(Result); - break; + break; } -case wxGrid_GetScrollLineX: { // wxGrid::GetScrollLineX +case wxGrid_GetScrollLineX: { // wxGrid::GetScrollLineX wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetScrollLineX(); rt.addInt(Result); - break; + break; } -case wxGrid_GetScrollLineY: { // wxGrid::GetScrollLineY +case wxGrid_GetScrollLineY: { // wxGrid::GetScrollLineY wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetScrollLineY(); rt.addInt(Result); - break; + break; } -case wxGrid_GetSelectedCells: { // wxGrid::GetSelectedCells +case wxGrid_GetSelectedCells: { // wxGrid::GetSelectedCells wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGridCellCoordsArray Result = This->GetSelectedCells(); @@ -3370,30 +3370,30 @@ case wxGrid_GetSelectedCells: { // wxGrid::GetSelectedCells rt.add(Result[i]); } rt.endList(Result.GetCount()); - break; + break; } -case wxGrid_GetSelectedCols: { // wxGrid::GetSelectedCols +case wxGrid_GetSelectedCols: { // wxGrid::GetSelectedCols wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxArrayInt Result = This->GetSelectedCols(); rt.add(Result); - break; + break; } -case wxGrid_GetSelectedRows: { // wxGrid::GetSelectedRows +case wxGrid_GetSelectedRows: { // wxGrid::GetSelectedRows wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxArrayInt Result = This->GetSelectedRows(); rt.add(Result); - break; + break; } -case wxGrid_GetSelectionBackground: { // wxGrid::GetSelectionBackground +case wxGrid_GetSelectionBackground: { // wxGrid::GetSelectionBackground wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetSelectionBackground(); rt.add(Result); - break; + break; } -case wxGrid_GetSelectionBlockTopLeft: { // wxGrid::GetSelectionBlockTopLeft +case wxGrid_GetSelectionBlockTopLeft: { // wxGrid::GetSelectionBlockTopLeft wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGridCellCoordsArray Result = This->GetSelectionBlockTopLeft(); @@ -3401,9 +3401,9 @@ case wxGrid_GetSelectionBlockTopLeft: { // wxGrid::GetSelectionBlockTopLeft rt.add(Result[i]); } rt.endList(Result.GetCount()); - break; + break; } -case wxGrid_GetSelectionBlockBottomRight: { // wxGrid::GetSelectionBlockBottomRight +case wxGrid_GetSelectionBlockBottomRight: { // wxGrid::GetSelectionBlockBottomRight wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGridCellCoordsArray Result = This->GetSelectionBlockBottomRight(); @@ -3411,63 +3411,63 @@ case wxGrid_GetSelectionBlockBottomRight: { // wxGrid::GetSelectionBlockBottomRi rt.add(Result[i]); } rt.endList(Result.GetCount()); - break; + break; } -case wxGrid_GetSelectionForeground: { // wxGrid::GetSelectionForeground +case wxGrid_GetSelectionForeground: { // wxGrid::GetSelectionForeground wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetSelectionForeground(); rt.add(Result); - break; + break; } -case wxGrid_GetViewWidth: { // wxGrid::GetViewWidth +case wxGrid_GetViewWidth: { // wxGrid::GetViewWidth wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetViewWidth(); rt.addInt(Result); - break; + break; } -case wxGrid_GetGridWindow: { // wxGrid::GetGridWindow +case wxGrid_GetGridWindow: { // wxGrid::GetGridWindow wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetGridWindow(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxGrid_GetGridRowLabelWindow: { // wxGrid::GetGridRowLabelWindow +case wxGrid_GetGridRowLabelWindow: { // wxGrid::GetGridRowLabelWindow wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetGridRowLabelWindow(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxGrid_GetGridColLabelWindow: { // wxGrid::GetGridColLabelWindow +case wxGrid_GetGridColLabelWindow: { // wxGrid::GetGridColLabelWindow wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetGridColLabelWindow(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxGrid_GetGridCornerLabelWindow: { // wxGrid::GetGridCornerLabelWindow +case wxGrid_GetGridCornerLabelWindow: { // wxGrid::GetGridCornerLabelWindow wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetGridCornerLabelWindow(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxGrid_HideCellEditControl: { // wxGrid::HideCellEditControl +case wxGrid_HideCellEditControl: { // wxGrid::HideCellEditControl wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->HideCellEditControl(); - break; + break; } -case wxGrid_InsertCols: { // wxGrid::InsertCols +case wxGrid_InsertCols: { // wxGrid::InsertCols int pos=0; int numCols=1; bool updateLabels=true; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; pos = (int)*(int *) bp; bp += 4; } break; @@ -3477,19 +3477,19 @@ case wxGrid_InsertCols: { // wxGrid::InsertCols case 3: {bp += 4; updateLabels = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->InsertCols(pos,numCols,updateLabels); rt.addBool(Result); - break; + break; } -case wxGrid_InsertRows: { // wxGrid::InsertRows +case wxGrid_InsertRows: { // wxGrid::InsertRows int pos=0; int numRows=1; bool updateLabels=true; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; pos = (int)*(int *) bp; bp += 4; } break; @@ -3499,43 +3499,43 @@ case wxGrid_InsertRows: { // wxGrid::InsertRows case 3: {bp += 4; updateLabels = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->InsertRows(pos,numRows,updateLabels); rt.addBool(Result); - break; + break; } -case wxGrid_IsCellEditControlEnabled: { // wxGrid::IsCellEditControlEnabled +case wxGrid_IsCellEditControlEnabled: { // wxGrid::IsCellEditControlEnabled wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsCellEditControlEnabled(); rt.addBool(Result); - break; + break; } -case wxGrid_IsCurrentCellReadOnly: { // wxGrid::IsCurrentCellReadOnly +case wxGrid_IsCurrentCellReadOnly: { // wxGrid::IsCurrentCellReadOnly wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsCurrentCellReadOnly(); rt.addBool(Result); - break; + break; } -case wxGrid_IsEditable: { // wxGrid::IsEditable +case wxGrid_IsEditable: { // wxGrid::IsEditable wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsEditable(); rt.addBool(Result); - break; + break; } -case wxGrid_IsInSelection_2: { // wxGrid::IsInSelection +case wxGrid_IsInSelection_2: { // wxGrid::IsInSelection wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsInSelection((int) *row,(int) *col); rt.addBool(Result); - break; + break; } -case wxGrid_IsInSelection_1: { // wxGrid::IsInSelection +case wxGrid_IsInSelection_1: { // wxGrid::IsInSelection wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * coordsR = (int *) bp; bp += 4; int * coordsC = (int *) bp; bp += 4; @@ -3543,153 +3543,153 @@ case wxGrid_IsInSelection_1: { // wxGrid::IsInSelection if(!This) throw wxe_badarg(0); bool Result = This->IsInSelection(coords); rt.addBool(Result); - break; + break; } -case wxGrid_IsReadOnly: { // wxGrid::IsReadOnly +case wxGrid_IsReadOnly: { // wxGrid::IsReadOnly wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsReadOnly((int) *row,(int) *col); rt.addBool(Result); - break; + break; } -case wxGrid_IsSelection: { // wxGrid::IsSelection +case wxGrid_IsSelection: { // wxGrid::IsSelection wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsSelection(); rt.addBool(Result); - break; + break; } -case wxGrid_IsVisible_3: { // wxGrid::IsVisible +case wxGrid_IsVisible_3: { // wxGrid::IsVisible bool wholeCellVisible=true; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; wholeCellVisible = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->IsVisible((int) *row,(int) *col,wholeCellVisible); rt.addBool(Result); - break; + break; } -case wxGrid_IsVisible_2: { // wxGrid::IsVisible +case wxGrid_IsVisible_2: { // wxGrid::IsVisible bool wholeCellVisible=true; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * coordsR = (int *) bp; bp += 4; int * coordsC = (int *) bp; bp += 4; wxGridCellCoords coords = wxGridCellCoords(*coordsR,*coordsC); bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; wholeCellVisible = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->IsVisible(coords,wholeCellVisible); rt.addBool(Result); - break; + break; } -case wxGrid_MakeCellVisible_2: { // wxGrid::MakeCellVisible +case wxGrid_MakeCellVisible_2: { // wxGrid::MakeCellVisible wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->MakeCellVisible((int) *row,(int) *col); - break; + break; } -case wxGrid_MakeCellVisible_1: { // wxGrid::MakeCellVisible +case wxGrid_MakeCellVisible_1: { // wxGrid::MakeCellVisible wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * coordsR = (int *) bp; bp += 4; int * coordsC = (int *) bp; bp += 4; wxGridCellCoords coords = wxGridCellCoords(*coordsR,*coordsC); if(!This) throw wxe_badarg(0); This->MakeCellVisible(coords); - break; + break; } -case wxGrid_MoveCursorDown: { // wxGrid::MoveCursorDown +case wxGrid_MoveCursorDown: { // wxGrid::MoveCursorDown wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; bool * expandSelection = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->MoveCursorDown((bool) *expandSelection); rt.addBool(Result); - break; + break; } -case wxGrid_MoveCursorLeft: { // wxGrid::MoveCursorLeft +case wxGrid_MoveCursorLeft: { // wxGrid::MoveCursorLeft wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; bool * expandSelection = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->MoveCursorLeft((bool) *expandSelection); rt.addBool(Result); - break; + break; } -case wxGrid_MoveCursorRight: { // wxGrid::MoveCursorRight +case wxGrid_MoveCursorRight: { // wxGrid::MoveCursorRight wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; bool * expandSelection = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->MoveCursorRight((bool) *expandSelection); rt.addBool(Result); - break; + break; } -case wxGrid_MoveCursorUp: { // wxGrid::MoveCursorUp +case wxGrid_MoveCursorUp: { // wxGrid::MoveCursorUp wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; bool * expandSelection = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->MoveCursorUp((bool) *expandSelection); rt.addBool(Result); - break; + break; } -case wxGrid_MoveCursorDownBlock: { // wxGrid::MoveCursorDownBlock +case wxGrid_MoveCursorDownBlock: { // wxGrid::MoveCursorDownBlock wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; bool * expandSelection = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->MoveCursorDownBlock((bool) *expandSelection); rt.addBool(Result); - break; + break; } -case wxGrid_MoveCursorLeftBlock: { // wxGrid::MoveCursorLeftBlock +case wxGrid_MoveCursorLeftBlock: { // wxGrid::MoveCursorLeftBlock wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; bool * expandSelection = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->MoveCursorLeftBlock((bool) *expandSelection); rt.addBool(Result); - break; + break; } -case wxGrid_MoveCursorRightBlock: { // wxGrid::MoveCursorRightBlock +case wxGrid_MoveCursorRightBlock: { // wxGrid::MoveCursorRightBlock wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; bool * expandSelection = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->MoveCursorRightBlock((bool) *expandSelection); rt.addBool(Result); - break; + break; } -case wxGrid_MoveCursorUpBlock: { // wxGrid::MoveCursorUpBlock +case wxGrid_MoveCursorUpBlock: { // wxGrid::MoveCursorUpBlock wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; bool * expandSelection = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->MoveCursorUpBlock((bool) *expandSelection); rt.addBool(Result); - break; + break; } -case wxGrid_MovePageDown: { // wxGrid::MovePageDown +case wxGrid_MovePageDown: { // wxGrid::MovePageDown wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->MovePageDown(); rt.addBool(Result); - break; + break; } -case wxGrid_MovePageUp: { // wxGrid::MovePageUp +case wxGrid_MovePageUp: { // wxGrid::MovePageUp wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->MovePageUp(); rt.addBool(Result); - break; + break; } -case wxGrid_RegisterDataType: { // wxGrid::RegisterDataType +case wxGrid_RegisterDataType: { // wxGrid::RegisterDataType wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * typeNameLen = (int *) bp; bp += 4; wxString typeName = wxString(bp, wxConvUTF8); @@ -3698,21 +3698,21 @@ case wxGrid_RegisterDataType: { // wxGrid::RegisterDataType wxGridCellEditor *editor = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->RegisterDataType(typeName,renderer,editor); - break; + break; } -case wxGrid_SaveEditControlValue: { // wxGrid::SaveEditControlValue +case wxGrid_SaveEditControlValue: { // wxGrid::SaveEditControlValue wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SaveEditControlValue(); - break; + break; } -case wxGrid_SelectAll: { // wxGrid::SelectAll +case wxGrid_SelectAll: { // wxGrid::SelectAll wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SelectAll(); - break; + break; } -case wxGrid_SelectBlock_5: { // wxGrid::SelectBlock +case wxGrid_SelectBlock_5: { // wxGrid::SelectBlock bool addToSelected=false; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * topRow = (int *) bp; bp += 4; @@ -3720,16 +3720,16 @@ case wxGrid_SelectBlock_5: { // wxGrid::SelectBlock int * bottomRow = (int *) bp; bp += 4; int * rightCol = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; addToSelected = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SelectBlock((int) *topRow,(int) *leftCol,(int) *bottomRow,(int) *rightCol,addToSelected); - break; + break; } -case wxGrid_SelectBlock_3: { // wxGrid::SelectBlock +case wxGrid_SelectBlock_3: { // wxGrid::SelectBlock bool addToSelected=false; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * topLeftR = (int *) bp; bp += 4; @@ -3739,42 +3739,42 @@ case wxGrid_SelectBlock_3: { // wxGrid::SelectBlock int * bottomRightC = (int *) bp; bp += 4; wxGridCellCoords bottomRight = wxGridCellCoords(*bottomRightR,*bottomRightC); bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; addToSelected = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SelectBlock(topLeft,bottomRight,addToSelected); - break; + break; } -case wxGrid_SelectCol: { // wxGrid::SelectCol +case wxGrid_SelectCol: { // wxGrid::SelectCol bool addToSelected=false; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * col = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; addToSelected = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SelectCol((int) *col,addToSelected); - break; + break; } -case wxGrid_SelectRow: { // wxGrid::SelectRow +case wxGrid_SelectRow: { // wxGrid::SelectRow bool addToSelected=false; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; addToSelected = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SelectRow((int) *row,addToSelected); - break; + break; } -case wxGrid_SetCellAlignment_4: { // wxGrid::SetCellAlignment +case wxGrid_SetCellAlignment_4: { // wxGrid::SetCellAlignment wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; @@ -3782,25 +3782,25 @@ case wxGrid_SetCellAlignment_4: { // wxGrid::SetCellAlignment int * vert = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetCellAlignment((int) *row,(int) *col,(int) *horiz,(int) *vert); - break; + break; } -case wxGrid_SetCellAlignment_3: { // wxGrid::SetCellAlignment +case wxGrid_SetCellAlignment_3: { // wxGrid::SetCellAlignment wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * align = (int *) bp; bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetCellAlignment((int) *align,(int) *row,(int) *col); - break; + break; } -case wxGrid_SetCellAlignment_1: { // wxGrid::SetCellAlignment +case wxGrid_SetCellAlignment_1: { // wxGrid::SetCellAlignment wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * align = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetCellAlignment((int) *align); - break; + break; } -case wxGrid_SetCellBackgroundColour_3_0: { // wxGrid::SetCellBackgroundColour +case wxGrid_SetCellBackgroundColour_3_0: { // wxGrid::SetCellBackgroundColour wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; @@ -3811,9 +3811,9 @@ case wxGrid_SetCellBackgroundColour_3_0: { // wxGrid::SetCellBackgroundColour wxColour val = wxColour(*valR,*valG,*valB,*valA); if(!This) throw wxe_badarg(0); This->SetCellBackgroundColour((int) *row,(int) *col,val); - break; + break; } -case wxGrid_SetCellBackgroundColour_1: { // wxGrid::SetCellBackgroundColour +case wxGrid_SetCellBackgroundColour_1: { // wxGrid::SetCellBackgroundColour wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * colR = (int *) bp; bp += 4; int * colG = (int *) bp; bp += 4; @@ -3822,9 +3822,9 @@ case wxGrid_SetCellBackgroundColour_1: { // wxGrid::SetCellBackgroundColour wxColour col = wxColour(*colR,*colG,*colB,*colA); if(!This) throw wxe_badarg(0); This->SetCellBackgroundColour(col); - break; + break; } -case wxGrid_SetCellBackgroundColour_3_1: { // wxGrid::SetCellBackgroundColour +case wxGrid_SetCellBackgroundColour_3_1: { // wxGrid::SetCellBackgroundColour wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * colourR = (int *) bp; bp += 4; int * colourG = (int *) bp; bp += 4; @@ -3835,36 +3835,36 @@ case wxGrid_SetCellBackgroundColour_3_1: { // wxGrid::SetCellBackgroundColour int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetCellBackgroundColour(colour,(int) *row,(int) *col); - break; + break; } -case wxGrid_SetCellEditor: { // wxGrid::SetCellEditor +case wxGrid_SetCellEditor: { // wxGrid::SetCellEditor wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; wxGridCellEditor *editor = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetCellEditor((int) *row,(int) *col,editor); - break; + break; } -case wxGrid_SetCellFont: { // wxGrid::SetCellFont +case wxGrid_SetCellFont: { // wxGrid::SetCellFont wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; wxFont *val = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetCellFont((int) *row,(int) *col,*val); - break; + break; } -case wxGrid_SetCellRenderer: { // wxGrid::SetCellRenderer +case wxGrid_SetCellRenderer: { // wxGrid::SetCellRenderer wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; wxGridCellRenderer *renderer = (wxGridCellRenderer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetCellRenderer((int) *row,(int) *col,renderer); - break; + break; } -case wxGrid_SetCellTextColour_3_0: { // wxGrid::SetCellTextColour +case wxGrid_SetCellTextColour_3_0: { // wxGrid::SetCellTextColour wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; @@ -3875,9 +3875,9 @@ case wxGrid_SetCellTextColour_3_0: { // wxGrid::SetCellTextColour wxColour val = wxColour(*valR,*valG,*valB,*valA); if(!This) throw wxe_badarg(0); This->SetCellTextColour((int) *row,(int) *col,val); - break; + break; } -case wxGrid_SetCellTextColour_3_1: { // wxGrid::SetCellTextColour +case wxGrid_SetCellTextColour_3_1: { // wxGrid::SetCellTextColour wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * valR = (int *) bp; bp += 4; int * valG = (int *) bp; bp += 4; @@ -3888,9 +3888,9 @@ case wxGrid_SetCellTextColour_3_1: { // wxGrid::SetCellTextColour int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetCellTextColour(val,(int) *row,(int) *col); - break; + break; } -case wxGrid_SetCellTextColour_1: { // wxGrid::SetCellTextColour +case wxGrid_SetCellTextColour_1: { // wxGrid::SetCellTextColour wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * colR = (int *) bp; bp += 4; int * colG = (int *) bp; bp += 4; @@ -3899,9 +3899,9 @@ case wxGrid_SetCellTextColour_1: { // wxGrid::SetCellTextColour wxColour col = wxColour(*colR,*colG,*colB,*colA); if(!This) throw wxe_badarg(0); This->SetCellTextColour(col); - break; + break; } -case wxGrid_SetCellValue_3_0: { // wxGrid::SetCellValue +case wxGrid_SetCellValue_3_0: { // wxGrid::SetCellValue wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; @@ -3910,9 +3910,9 @@ case wxGrid_SetCellValue_3_0: { // wxGrid::SetCellValue bp += *sLen+((8-((0+ *sLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetCellValue((int) *row,(int) *col,s); - break; + break; } -case wxGrid_SetCellValue_2: { // wxGrid::SetCellValue +case wxGrid_SetCellValue_2: { // wxGrid::SetCellValue wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * coordsR = (int *) bp; bp += 4; int * coordsC = (int *) bp; bp += 4; @@ -3922,9 +3922,9 @@ case wxGrid_SetCellValue_2: { // wxGrid::SetCellValue bp += *sLen+((8-((0+ *sLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetCellValue(coords,s); - break; + break; } -case wxGrid_SetCellValue_3_1: { // wxGrid::SetCellValue +case wxGrid_SetCellValue_3_1: { // wxGrid::SetCellValue wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * valLen = (int *) bp; bp += 4; wxString val = wxString(bp, wxConvUTF8); @@ -3933,48 +3933,48 @@ case wxGrid_SetCellValue_3_1: { // wxGrid::SetCellValue int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetCellValue(val,(int) *row,(int) *col); - break; + break; } -case wxGrid_SetColAttr: { // wxGrid::SetColAttr +case wxGrid_SetColAttr: { // wxGrid::SetColAttr wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * col = (int *) bp; bp += 4; wxGridCellAttr *attr = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetColAttr((int) *col,attr); - break; + break; } -case wxGrid_SetColFormatBool: { // wxGrid::SetColFormatBool +case wxGrid_SetColFormatBool: { // wxGrid::SetColFormatBool wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetColFormatBool((int) *col); - break; + break; } -case wxGrid_SetColFormatNumber: { // wxGrid::SetColFormatNumber +case wxGrid_SetColFormatNumber: { // wxGrid::SetColFormatNumber wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetColFormatNumber((int) *col); - break; + break; } -case wxGrid_SetColFormatFloat: { // wxGrid::SetColFormatFloat +case wxGrid_SetColFormatFloat: { // wxGrid::SetColFormatFloat int width=-1; int precision=-1; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * col = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; width = (int)*(int *) bp; bp += 4; } break; case 2: {bp += 4; precision = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetColFormatFloat((int) *col,width,precision); - break; + break; } -case wxGrid_SetColFormatCustom: { // wxGrid::SetColFormatCustom +case wxGrid_SetColFormatCustom: { // wxGrid::SetColFormatCustom wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * col = (int *) bp; bp += 4; int * typeNameLen = (int *) bp; bp += 4; @@ -3982,24 +3982,24 @@ case wxGrid_SetColFormatCustom: { // wxGrid::SetColFormatCustom bp += *typeNameLen+((8-((4+ *typeNameLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetColFormatCustom((int) *col,typeName); - break; + break; } -case wxGrid_SetColLabelAlignment: { // wxGrid::SetColLabelAlignment +case wxGrid_SetColLabelAlignment: { // wxGrid::SetColLabelAlignment wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * horiz = (int *) bp; bp += 4; int * vert = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetColLabelAlignment((int) *horiz,(int) *vert); - break; + break; } -case wxGrid_SetColLabelSize: { // wxGrid::SetColLabelSize +case wxGrid_SetColLabelSize: { // wxGrid::SetColLabelSize wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * height = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetColLabelSize((int) *height); - break; + break; } -case wxGrid_SetColLabelValue: { // wxGrid::SetColLabelValue +case wxGrid_SetColLabelValue: { // wxGrid::SetColLabelValue wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * col = (int *) bp; bp += 4; int * valLen = (int *) bp; bp += 4; @@ -4007,40 +4007,40 @@ case wxGrid_SetColLabelValue: { // wxGrid::SetColLabelValue bp += *valLen+((8-((4+ *valLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetColLabelValue((int) *col,val); - break; + break; } -case wxGrid_SetColMinimalWidth: { // wxGrid::SetColMinimalWidth +case wxGrid_SetColMinimalWidth: { // wxGrid::SetColMinimalWidth wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * col = (int *) bp; bp += 4; int * width = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetColMinimalWidth((int) *col,(int) *width); - break; + break; } -case wxGrid_SetColMinimalAcceptableWidth: { // wxGrid::SetColMinimalAcceptableWidth +case wxGrid_SetColMinimalAcceptableWidth: { // wxGrid::SetColMinimalAcceptableWidth wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetColMinimalAcceptableWidth((int) *width); - break; + break; } -case wxGrid_SetColSize: { // wxGrid::SetColSize +case wxGrid_SetColSize: { // wxGrid::SetColSize wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * col = (int *) bp; bp += 4; int * width = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetColSize((int) *col,(int) *width); - break; + break; } -case wxGrid_SetDefaultCellAlignment: { // wxGrid::SetDefaultCellAlignment +case wxGrid_SetDefaultCellAlignment: { // wxGrid::SetDefaultCellAlignment wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * horiz = (int *) bp; bp += 4; int * vert = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetDefaultCellAlignment((int) *horiz,(int) *vert); - break; + break; } -case wxGrid_SetDefaultCellBackgroundColour: { // wxGrid::SetDefaultCellBackgroundColour +case wxGrid_SetDefaultCellBackgroundColour: { // wxGrid::SetDefaultCellBackgroundColour wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * valR = (int *) bp; bp += 4; int * valG = (int *) bp; bp += 4; @@ -4049,16 +4049,16 @@ case wxGrid_SetDefaultCellBackgroundColour: { // wxGrid::SetDefaultCellBackgroun wxColour val = wxColour(*valR,*valG,*valB,*valA); if(!This) throw wxe_badarg(0); This->SetDefaultCellBackgroundColour(val); - break; + break; } -case wxGrid_SetDefaultCellFont: { // wxGrid::SetDefaultCellFont +case wxGrid_SetDefaultCellFont: { // wxGrid::SetDefaultCellFont wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; wxFont *val = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetDefaultCellFont(*val); - break; + break; } -case wxGrid_SetDefaultCellTextColour: { // wxGrid::SetDefaultCellTextColour +case wxGrid_SetDefaultCellTextColour: { // wxGrid::SetDefaultCellTextColour wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * valR = (int *) bp; bp += 4; int * valG = (int *) bp; bp += 4; @@ -4067,57 +4067,57 @@ case wxGrid_SetDefaultCellTextColour: { // wxGrid::SetDefaultCellTextColour wxColour val = wxColour(*valR,*valG,*valB,*valA); if(!This) throw wxe_badarg(0); This->SetDefaultCellTextColour(val); - break; + break; } -case wxGrid_SetDefaultEditor: { // wxGrid::SetDefaultEditor +case wxGrid_SetDefaultEditor: { // wxGrid::SetDefaultEditor wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; wxGridCellEditor *editor = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetDefaultEditor(editor); - break; + break; } -case wxGrid_SetDefaultRenderer: { // wxGrid::SetDefaultRenderer +case wxGrid_SetDefaultRenderer: { // wxGrid::SetDefaultRenderer wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; wxGridCellRenderer *renderer = (wxGridCellRenderer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetDefaultRenderer(renderer); - break; + break; } -case wxGrid_SetDefaultColSize: { // wxGrid::SetDefaultColSize +case wxGrid_SetDefaultColSize: { // wxGrid::SetDefaultColSize bool resizeExistingCols=false; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; resizeExistingCols = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetDefaultColSize((int) *width,resizeExistingCols); - break; + break; } -case wxGrid_SetDefaultRowSize: { // wxGrid::SetDefaultRowSize +case wxGrid_SetDefaultRowSize: { // wxGrid::SetDefaultRowSize bool resizeExistingRows=false; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * height = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; resizeExistingRows = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetDefaultRowSize((int) *height,resizeExistingRows); - break; + break; } -case wxGrid_SetGridCursor: { // wxGrid::SetGridCursor +case wxGrid_SetGridCursor: { // wxGrid::SetGridCursor wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetGridCursor((int) *row,(int) *col); - break; + break; } -case wxGrid_SetGridLineColour: { // wxGrid::SetGridLineColour +case wxGrid_SetGridLineColour: { // wxGrid::SetGridLineColour wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * valR = (int *) bp; bp += 4; int * valG = (int *) bp; bp += 4; @@ -4126,9 +4126,9 @@ case wxGrid_SetGridLineColour: { // wxGrid::SetGridLineColour wxColour val = wxColour(*valR,*valG,*valB,*valA); if(!This) throw wxe_badarg(0); This->SetGridLineColour(val); - break; + break; } -case wxGrid_SetLabelBackgroundColour: { // wxGrid::SetLabelBackgroundColour +case wxGrid_SetLabelBackgroundColour: { // wxGrid::SetLabelBackgroundColour wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * valR = (int *) bp; bp += 4; int * valG = (int *) bp; bp += 4; @@ -4137,16 +4137,16 @@ case wxGrid_SetLabelBackgroundColour: { // wxGrid::SetLabelBackgroundColour wxColour val = wxColour(*valR,*valG,*valB,*valA); if(!This) throw wxe_badarg(0); This->SetLabelBackgroundColour(val); - break; + break; } -case wxGrid_SetLabelFont: { // wxGrid::SetLabelFont +case wxGrid_SetLabelFont: { // wxGrid::SetLabelFont wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; wxFont *val = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetLabelFont(*val); - break; + break; } -case wxGrid_SetLabelTextColour: { // wxGrid::SetLabelTextColour +case wxGrid_SetLabelTextColour: { // wxGrid::SetLabelTextColour wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * valR = (int *) bp; bp += 4; int * valG = (int *) bp; bp += 4; @@ -4155,55 +4155,55 @@ case wxGrid_SetLabelTextColour: { // wxGrid::SetLabelTextColour wxColour val = wxColour(*valR,*valG,*valB,*valA); if(!This) throw wxe_badarg(0); This->SetLabelTextColour(val); - break; + break; } -case wxGrid_SetMargins: { // wxGrid::SetMargins +case wxGrid_SetMargins: { // wxGrid::SetMargins wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * extraWidth = (int *) bp; bp += 4; int * extraHeight = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMargins((int) *extraWidth,(int) *extraHeight); - break; + break; } -case wxGrid_SetReadOnly: { // wxGrid::SetReadOnly +case wxGrid_SetReadOnly: { // wxGrid::SetReadOnly bool isReadOnly=true; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; isReadOnly = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetReadOnly((int) *row,(int) *col,isReadOnly); - break; + break; } -case wxGrid_SetRowAttr: { // wxGrid::SetRowAttr +case wxGrid_SetRowAttr: { // wxGrid::SetRowAttr wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; wxGridCellAttr *attr = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetRowAttr((int) *row,attr); - break; + break; } -case wxGrid_SetRowLabelAlignment: { // wxGrid::SetRowLabelAlignment +case wxGrid_SetRowLabelAlignment: { // wxGrid::SetRowLabelAlignment wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * horiz = (int *) bp; bp += 4; int * vert = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetRowLabelAlignment((int) *horiz,(int) *vert); - break; + break; } -case wxGrid_SetRowLabelSize: { // wxGrid::SetRowLabelSize +case wxGrid_SetRowLabelSize: { // wxGrid::SetRowLabelSize wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetRowLabelSize((int) *width); - break; + break; } -case wxGrid_SetRowLabelValue: { // wxGrid::SetRowLabelValue +case wxGrid_SetRowLabelValue: { // wxGrid::SetRowLabelValue wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * valLen = (int *) bp; bp += 4; @@ -4211,46 +4211,46 @@ case wxGrid_SetRowLabelValue: { // wxGrid::SetRowLabelValue bp += *valLen+((8-((4+ *valLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetRowLabelValue((int) *row,val); - break; + break; } -case wxGrid_SetRowMinimalHeight: { // wxGrid::SetRowMinimalHeight +case wxGrid_SetRowMinimalHeight: { // wxGrid::SetRowMinimalHeight wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * width = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetRowMinimalHeight((int) *row,(int) *width); - break; + break; } -case wxGrid_SetRowMinimalAcceptableHeight: { // wxGrid::SetRowMinimalAcceptableHeight +case wxGrid_SetRowMinimalAcceptableHeight: { // wxGrid::SetRowMinimalAcceptableHeight wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetRowMinimalAcceptableHeight((int) *width); - break; + break; } -case wxGrid_SetRowSize: { // wxGrid::SetRowSize +case wxGrid_SetRowSize: { // wxGrid::SetRowSize wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetRowSize((int) *row,(int) *height); - break; + break; } -case wxGrid_SetScrollLineX: { // wxGrid::SetScrollLineX +case wxGrid_SetScrollLineX: { // wxGrid::SetScrollLineX wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetScrollLineX((int) *x); - break; + break; } -case wxGrid_SetScrollLineY: { // wxGrid::SetScrollLineY +case wxGrid_SetScrollLineY: { // wxGrid::SetScrollLineY wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetScrollLineY((int) *y); - break; + break; } -case wxGrid_SetSelectionBackground: { // wxGrid::SetSelectionBackground +case wxGrid_SetSelectionBackground: { // wxGrid::SetSelectionBackground wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * cR = (int *) bp; bp += 4; int * cG = (int *) bp; bp += 4; @@ -4259,9 +4259,9 @@ case wxGrid_SetSelectionBackground: { // wxGrid::SetSelectionBackground wxColour c = wxColour(*cR,*cG,*cB,*cA); if(!This) throw wxe_badarg(0); This->SetSelectionBackground(c); - break; + break; } -case wxGrid_SetSelectionForeground: { // wxGrid::SetSelectionForeground +case wxGrid_SetSelectionForeground: { // wxGrid::SetSelectionForeground wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * cR = (int *) bp; bp += 4; int * cG = (int *) bp; bp += 4; @@ -4270,60 +4270,60 @@ case wxGrid_SetSelectionForeground: { // wxGrid::SetSelectionForeground wxColour c = wxColour(*cR,*cG,*cB,*cA); if(!This) throw wxe_badarg(0); This->SetSelectionForeground(c); - break; + break; } -case wxGrid_SetSelectionMode: { // wxGrid::SetSelectionMode +case wxGrid_SetSelectionMode: { // wxGrid::SetSelectionMode wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; wxGrid::wxGridSelectionModes selmode = *(wxGrid::wxGridSelectionModes *) bp; bp += 4;; if(!This) throw wxe_badarg(0); This->SetSelectionMode((wxGrid::wxGridSelectionModes) selmode); - break; + break; } -case wxGrid_ShowCellEditControl: { // wxGrid::ShowCellEditControl +case wxGrid_ShowCellEditControl: { // wxGrid::ShowCellEditControl wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ShowCellEditControl(); - break; + break; } -case wxGrid_XToCol: { // wxGrid::XToCol +case wxGrid_XToCol: { // wxGrid::XToCol bool clipToMinMax=false; wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; clipToMinMax = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); int Result = This->XToCol((int) *x,clipToMinMax); rt.addInt(Result); - break; + break; } -case wxGrid_XToEdgeOfCol: { // wxGrid::XToEdgeOfCol +case wxGrid_XToEdgeOfCol: { // wxGrid::XToEdgeOfCol wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->XToEdgeOfCol((int) *x); rt.addInt(Result); - break; + break; } -case wxGrid_YToEdgeOfRow: { // wxGrid::YToEdgeOfRow +case wxGrid_YToEdgeOfRow: { // wxGrid::YToEdgeOfRow wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->YToEdgeOfRow((int) *y); rt.addInt(Result); - break; + break; } -case wxGrid_YToRow: { // wxGrid::YToRow +case wxGrid_YToRow: { // wxGrid::YToRow wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->YToRow((int) *y); rt.addInt(Result); - break; + break; } -case wxGridCellRenderer_Draw: { // wxGridCellRenderer::Draw +case wxGridCellRenderer_Draw: { // wxGridCellRenderer::Draw wxGridCellRenderer *This = (wxGridCellRenderer *) getPtr(bp,memenv); bp += 4; wxGrid *grid = (wxGrid *) getPtr(bp,memenv); bp += 4; wxGridCellAttr *attr = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; @@ -4338,9 +4338,9 @@ case wxGridCellRenderer_Draw: { // wxGridCellRenderer::Draw bool * isSelected = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Draw(*grid,*attr,*dc,rect,(int) *row,(int) *col,(bool) *isSelected); - break; + break; } -case wxGridCellRenderer_GetBestSize: { // wxGridCellRenderer::GetBestSize +case wxGridCellRenderer_GetBestSize: { // wxGridCellRenderer::GetBestSize wxGridCellRenderer *This = (wxGridCellRenderer *) getPtr(bp,memenv); bp += 4; wxGrid *grid = (wxGrid *) getPtr(bp,memenv); bp += 4; wxGridCellAttr *attr = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; @@ -4350,25 +4350,25 @@ case wxGridCellRenderer_GetBestSize: { // wxGridCellRenderer::GetBestSize if(!This) throw wxe_badarg(0); wxSize Result = This->GetBestSize(*grid,*attr,*dc,(int) *row,(int) *col); rt.add(Result); - break; + break; } -case wxGridCellEditor_Create: { // wxGridCellEditor::Create +case wxGridCellEditor_Create: { // wxGridCellEditor::Create wxGridCellEditor *This = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; wxEvtHandler *evtHandler = (wxEvtHandler *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Create(parent,(wxWindowID) *id,evtHandler); - break; + break; } -case wxGridCellEditor_IsCreated: { // wxGridCellEditor::IsCreated +case wxGridCellEditor_IsCreated: { // wxGridCellEditor::IsCreated wxGridCellEditor *This = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsCreated(); rt.addBool(Result); - break; + break; } -case wxGridCellEditor_SetSize: { // wxGridCellEditor::SetSize +case wxGridCellEditor_SetSize: { // wxGridCellEditor::SetSize wxGridCellEditor *This = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4; int * rectX = (int *) bp; bp += 4; int * rectY = (int *) bp; bp += 4; @@ -4377,22 +4377,22 @@ case wxGridCellEditor_SetSize: { // wxGridCellEditor::SetSize wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH); if(!This) throw wxe_badarg(0); This->SetSize(rect); - break; + break; } -case wxGridCellEditor_Show: { // wxGridCellEditor::Show +case wxGridCellEditor_Show: { // wxGridCellEditor::Show wxGridCellAttr * attr=(wxGridCellAttr *) NULL; wxGridCellEditor *This = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4; bool * show = (bool *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; attr = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Show((bool) *show,attr); - break; + break; } -case wxGridCellEditor_PaintBackground: { // wxGridCellEditor::PaintBackground +case wxGridCellEditor_PaintBackground: { // wxGridCellEditor::PaintBackground wxGridCellEditor *This = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4; int * rectCellX = (int *) bp; bp += 4; int * rectCellY = (int *) bp; bp += 4; @@ -4402,18 +4402,18 @@ case wxGridCellEditor_PaintBackground: { // wxGridCellEditor::PaintBackground wxGridCellAttr *attr = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->PaintBackground(rectCell,attr); - break; + break; } -case wxGridCellEditor_BeginEdit: { // wxGridCellEditor::BeginEdit +case wxGridCellEditor_BeginEdit: { // wxGridCellEditor::BeginEdit wxGridCellEditor *This = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; wxGrid *grid = (wxGrid *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->BeginEdit((int) *row,(int) *col,grid); - break; + break; } -case wxGridCellEditor_EndEdit: { // wxGridCellEditor::EndEdit +case wxGridCellEditor_EndEdit: { // wxGridCellEditor::EndEdit wxGridCellEditor *This = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; @@ -4421,64 +4421,64 @@ case wxGridCellEditor_EndEdit: { // wxGridCellEditor::EndEdit if(!This) throw wxe_badarg(0); bool Result = This->EndEdit((int) *row,(int) *col,grid); rt.addBool(Result); - break; + break; } -case wxGridCellEditor_Reset: { // wxGridCellEditor::Reset +case wxGridCellEditor_Reset: { // wxGridCellEditor::Reset wxGridCellEditor *This = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Reset(); - break; + break; } -case wxGridCellEditor_StartingKey: { // wxGridCellEditor::StartingKey +case wxGridCellEditor_StartingKey: { // wxGridCellEditor::StartingKey wxGridCellEditor *This = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4; wxKeyEvent *event = (wxKeyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->StartingKey(*event); - break; + break; } -case wxGridCellEditor_StartingClick: { // wxGridCellEditor::StartingClick +case wxGridCellEditor_StartingClick: { // wxGridCellEditor::StartingClick wxGridCellEditor *This = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->StartingClick(); - break; + break; } -case wxGridCellEditor_HandleReturn: { // wxGridCellEditor::HandleReturn +case wxGridCellEditor_HandleReturn: { // wxGridCellEditor::HandleReturn wxGridCellEditor *This = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4; wxKeyEvent *event = (wxKeyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->HandleReturn(*event); - break; + break; } -case wxGridCellBoolRenderer_new: { // wxGridCellBoolRenderer::wxGridCellBoolRenderer +case wxGridCellBoolRenderer_new: { // wxGridCellBoolRenderer::wxGridCellBoolRenderer wxGridCellBoolRenderer * Result = new wxGridCellBoolRenderer(); newPtr((void *) Result, 24, memenv); rt.addRef(getRef((void *)Result,memenv), "wxGridCellBoolRenderer"); - break; + break; } -case wxGridCellBoolRenderer_destroy: { // wxGridCellBoolRenderer::destroy +case wxGridCellBoolRenderer_destroy: { // wxGridCellBoolRenderer::destroy wxGridCellBoolRenderer *This = (wxGridCellBoolRenderer *) getPtr(bp,memenv); bp += 4; if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This); delete This;} - break; + break; } -case wxGridCellBoolEditor_new: { // wxGridCellBoolEditor::wxGridCellBoolEditor +case wxGridCellBoolEditor_new: { // wxGridCellBoolEditor::wxGridCellBoolEditor wxGridCellBoolEditor * Result = new wxGridCellBoolEditor(); newPtr((void *) Result, 25, memenv); rt.addRef(getRef((void *)Result,memenv), "wxGridCellBoolEditor"); - break; + break; } -case wxGridCellBoolEditor_IsTrueValue: { // wxGridCellBoolEditor::IsTrueValue +case wxGridCellBoolEditor_IsTrueValue: { // wxGridCellBoolEditor::IsTrueValue int * valueLen = (int *) bp; bp += 4; wxString value = wxString(bp, wxConvUTF8); bp += *valueLen+((8-((4+ *valueLen) & 7)) & 7); bool Result = wxGridCellBoolEditor::IsTrueValue(value); rt.addBool(Result); - break; + break; } -case wxGridCellBoolEditor_UseStringValues: { // wxGridCellBoolEditor::UseStringValues +case wxGridCellBoolEditor_UseStringValues: { // wxGridCellBoolEditor::UseStringValues wxString valueTrue= _T("1"); wxString valueFalse= wxEmptyString; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * valueTrueLen = (int *) bp; bp += 4; valueTrue = wxString(bp, wxConvUTF8); @@ -4489,140 +4489,140 @@ case wxGridCellBoolEditor_UseStringValues: { // wxGridCellBoolEditor::UseStringV valueFalse = wxString(bp, wxConvUTF8); bp += *valueFalseLen+((8-((0+ *valueFalseLen) & 7)) & 7); } break; - }}; + }}; wxGridCellBoolEditor::UseStringValues(valueTrue,valueFalse); - break; + break; } -case wxGridCellBoolEditor_destroy: { // wxGridCellBoolEditor::destroy +case wxGridCellBoolEditor_destroy: { // wxGridCellBoolEditor::destroy wxGridCellBoolEditor *This = (wxGridCellBoolEditor *) getPtr(bp,memenv); bp += 4; if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This); delete This;} - break; + break; } -case wxGridCellFloatRenderer_new: { // wxGridCellFloatRenderer::wxGridCellFloatRenderer +case wxGridCellFloatRenderer_new: { // wxGridCellFloatRenderer::wxGridCellFloatRenderer int width=-1; int precision=-1; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; width = (int)*(int *) bp; bp += 4; } break; case 2: {bp += 4; precision = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxGridCellFloatRenderer * Result = new wxGridCellFloatRenderer(width,precision); newPtr((void *) Result, 26, memenv); rt.addRef(getRef((void *)Result,memenv), "wxGridCellFloatRenderer"); - break; + break; } -case wxGridCellFloatRenderer_GetPrecision: { // wxGridCellFloatRenderer::GetPrecision +case wxGridCellFloatRenderer_GetPrecision: { // wxGridCellFloatRenderer::GetPrecision wxGridCellFloatRenderer *This = (wxGridCellFloatRenderer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetPrecision(); rt.addInt(Result); - break; + break; } -case wxGridCellFloatRenderer_GetWidth: { // wxGridCellFloatRenderer::GetWidth +case wxGridCellFloatRenderer_GetWidth: { // wxGridCellFloatRenderer::GetWidth wxGridCellFloatRenderer *This = (wxGridCellFloatRenderer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetWidth(); rt.addInt(Result); - break; + break; } -case wxGridCellFloatRenderer_SetParameters: { // wxGridCellFloatRenderer::SetParameters +case wxGridCellFloatRenderer_SetParameters: { // wxGridCellFloatRenderer::SetParameters wxGridCellFloatRenderer *This = (wxGridCellFloatRenderer *) getPtr(bp,memenv); bp += 4; int * paramsLen = (int *) bp; bp += 4; wxString params = wxString(bp, wxConvUTF8); bp += *paramsLen+((8-((0+ *paramsLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetParameters(params); - break; + break; } -case wxGridCellFloatRenderer_SetPrecision: { // wxGridCellFloatRenderer::SetPrecision +case wxGridCellFloatRenderer_SetPrecision: { // wxGridCellFloatRenderer::SetPrecision wxGridCellFloatRenderer *This = (wxGridCellFloatRenderer *) getPtr(bp,memenv); bp += 4; int * precision = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetPrecision((int) *precision); - break; + break; } -case wxGridCellFloatRenderer_SetWidth: { // wxGridCellFloatRenderer::SetWidth +case wxGridCellFloatRenderer_SetWidth: { // wxGridCellFloatRenderer::SetWidth wxGridCellFloatRenderer *This = (wxGridCellFloatRenderer *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetWidth((int) *width); - break; + break; } -case wxGridCellFloatRenderer_destroy: { // wxGridCellFloatRenderer::destroy +case wxGridCellFloatRenderer_destroy: { // wxGridCellFloatRenderer::destroy wxGridCellFloatRenderer *This = (wxGridCellFloatRenderer *) getPtr(bp,memenv); bp += 4; if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This); delete This;} - break; + break; } -case wxGridCellFloatEditor_new: { // wxGridCellFloatEditor::wxGridCellFloatEditor +case wxGridCellFloatEditor_new: { // wxGridCellFloatEditor::wxGridCellFloatEditor int width=-1; int precision=-1; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; width = (int)*(int *) bp; bp += 4; } break; case 2: {bp += 4; precision = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxGridCellFloatEditor * Result = new wxGridCellFloatEditor(width,precision); newPtr((void *) Result, 27, memenv); rt.addRef(getRef((void *)Result,memenv), "wxGridCellFloatEditor"); - break; + break; } -case wxGridCellFloatEditor_SetParameters: { // wxGridCellFloatEditor::SetParameters +case wxGridCellFloatEditor_SetParameters: { // wxGridCellFloatEditor::SetParameters wxGridCellFloatEditor *This = (wxGridCellFloatEditor *) getPtr(bp,memenv); bp += 4; int * paramsLen = (int *) bp; bp += 4; wxString params = wxString(bp, wxConvUTF8); bp += *paramsLen+((8-((0+ *paramsLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetParameters(params); - break; + break; } -case wxGridCellFloatEditor_destroy: { // wxGridCellFloatEditor::destroy +case wxGridCellFloatEditor_destroy: { // wxGridCellFloatEditor::destroy wxGridCellFloatEditor *This = (wxGridCellFloatEditor *) getPtr(bp,memenv); bp += 4; if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This); delete This;} - break; + break; } -case wxGridCellStringRenderer_new: { // wxGridCellStringRenderer::wxGridCellStringRenderer +case wxGridCellStringRenderer_new: { // wxGridCellStringRenderer::wxGridCellStringRenderer wxGridCellStringRenderer * Result = new wxGridCellStringRenderer(); newPtr((void *) Result, 28, memenv); rt.addRef(getRef((void *)Result,memenv), "wxGridCellStringRenderer"); - break; + break; } -case wxGridCellStringRenderer_destroy: { // wxGridCellStringRenderer::destroy +case wxGridCellStringRenderer_destroy: { // wxGridCellStringRenderer::destroy wxGridCellStringRenderer *This = (wxGridCellStringRenderer *) getPtr(bp,memenv); bp += 4; if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This); delete This;} - break; + break; } -case wxGridCellTextEditor_new: { // wxGridCellTextEditor::wxGridCellTextEditor +case wxGridCellTextEditor_new: { // wxGridCellTextEditor::wxGridCellTextEditor wxGridCellTextEditor * Result = new wxGridCellTextEditor(); newPtr((void *) Result, 29, memenv); rt.addRef(getRef((void *)Result,memenv), "wxGridCellTextEditor"); - break; + break; } -case wxGridCellTextEditor_SetParameters: { // wxGridCellTextEditor::SetParameters +case wxGridCellTextEditor_SetParameters: { // wxGridCellTextEditor::SetParameters wxGridCellTextEditor *This = (wxGridCellTextEditor *) getPtr(bp,memenv); bp += 4; int * paramsLen = (int *) bp; bp += 4; wxString params = wxString(bp, wxConvUTF8); bp += *paramsLen+((8-((0+ *paramsLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetParameters(params); - break; + break; } -case wxGridCellTextEditor_destroy: { // wxGridCellTextEditor::destroy +case wxGridCellTextEditor_destroy: { // wxGridCellTextEditor::destroy wxGridCellTextEditor *This = (wxGridCellTextEditor *) getPtr(bp,memenv); bp += 4; if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This); delete This;} - break; + break; } -case wxGridCellChoiceEditor_new: { // wxGridCellChoiceEditor::wxGridCellChoiceEditor +case wxGridCellChoiceEditor_new: { // wxGridCellChoiceEditor::wxGridCellChoiceEditor bool allowOthers=false; int * choicesLen = (int *) bp; bp += 4; wxArrayString choices; @@ -4634,82 +4634,82 @@ case wxGridCellChoiceEditor_new: { // wxGridCellChoiceEditor::wxGridCellChoiceEd choicesASz += *choicesTemp+4; } bp += (8-((4+ choicesASz) & 7 )) & 7; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; allowOthers = *(bool *) bp; bp += 4; } break; - }}; + }}; wxGridCellChoiceEditor * Result = new wxGridCellChoiceEditor(choices,allowOthers); newPtr((void *) Result, 30, memenv); rt.addRef(getRef((void *)Result,memenv), "wxGridCellChoiceEditor"); - break; + break; } -case wxGridCellChoiceEditor_SetParameters: { // wxGridCellChoiceEditor::SetParameters +case wxGridCellChoiceEditor_SetParameters: { // wxGridCellChoiceEditor::SetParameters wxGridCellChoiceEditor *This = (wxGridCellChoiceEditor *) getPtr(bp,memenv); bp += 4; int * paramsLen = (int *) bp; bp += 4; wxString params = wxString(bp, wxConvUTF8); bp += *paramsLen+((8-((0+ *paramsLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetParameters(params); - break; + break; } -case wxGridCellChoiceEditor_destroy: { // wxGridCellChoiceEditor::destroy +case wxGridCellChoiceEditor_destroy: { // wxGridCellChoiceEditor::destroy wxGridCellChoiceEditor *This = (wxGridCellChoiceEditor *) getPtr(bp,memenv); bp += 4; if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This); delete This;} - break; + break; } -case wxGridCellNumberRenderer_new: { // wxGridCellNumberRenderer::wxGridCellNumberRenderer +case wxGridCellNumberRenderer_new: { // wxGridCellNumberRenderer::wxGridCellNumberRenderer wxGridCellNumberRenderer * Result = new wxGridCellNumberRenderer(); newPtr((void *) Result, 31, memenv); rt.addRef(getRef((void *)Result,memenv), "wxGridCellNumberRenderer"); - break; + break; } -case wxGridCellNumberRenderer_destroy: { // wxGridCellNumberRenderer::destroy +case wxGridCellNumberRenderer_destroy: { // wxGridCellNumberRenderer::destroy wxGridCellNumberRenderer *This = (wxGridCellNumberRenderer *) getPtr(bp,memenv); bp += 4; if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This); delete This;} - break; + break; } -case wxGridCellNumberEditor_new: { // wxGridCellNumberEditor::wxGridCellNumberEditor +case wxGridCellNumberEditor_new: { // wxGridCellNumberEditor::wxGridCellNumberEditor int min=-1; int max=-1; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; min = (int)*(int *) bp; bp += 4; } break; case 2: {bp += 4; max = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxGridCellNumberEditor * Result = new wxGridCellNumberEditor(min,max); newPtr((void *) Result, 32, memenv); rt.addRef(getRef((void *)Result,memenv), "wxGridCellNumberEditor"); - break; + break; } -case wxGridCellNumberEditor_GetValue: { // wxGridCellNumberEditor::GetValue +case wxGridCellNumberEditor_GetValue: { // wxGridCellNumberEditor::GetValue wxGridCellNumberEditor *This = (wxGridCellNumberEditor *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetValue(); rt.add(Result); - break; + break; } -case wxGridCellNumberEditor_SetParameters: { // wxGridCellNumberEditor::SetParameters +case wxGridCellNumberEditor_SetParameters: { // wxGridCellNumberEditor::SetParameters wxGridCellNumberEditor *This = (wxGridCellNumberEditor *) getPtr(bp,memenv); bp += 4; int * paramsLen = (int *) bp; bp += 4; wxString params = wxString(bp, wxConvUTF8); bp += *paramsLen+((8-((0+ *paramsLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetParameters(params); - break; + break; } -case wxGridCellNumberEditor_destroy: { // wxGridCellNumberEditor::destroy +case wxGridCellNumberEditor_destroy: { // wxGridCellNumberEditor::destroy wxGridCellNumberEditor *This = (wxGridCellNumberEditor *) getPtr(bp,memenv); bp += 4; if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This); delete This;} - break; + break; } -case wxGridCellAttr_SetTextColour: { // wxGridCellAttr::SetTextColour +case wxGridCellAttr_SetTextColour: { // wxGridCellAttr::SetTextColour wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; int * colTextR = (int *) bp; bp += 4; int * colTextG = (int *) bp; bp += 4; @@ -4718,9 +4718,9 @@ case wxGridCellAttr_SetTextColour: { // wxGridCellAttr::SetTextColour wxColour colText = wxColour(*colTextR,*colTextG,*colTextB,*colTextA); if(!This) throw wxe_badarg(0); This->SetTextColour(colText); - break; + break; } -case wxGridCellAttr_SetBackgroundColour: { // wxGridCellAttr::SetBackgroundColour +case wxGridCellAttr_SetBackgroundColour: { // wxGridCellAttr::SetBackgroundColour wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; int * colBackR = (int *) bp; bp += 4; int * colBackG = (int *) bp; bp += 4; @@ -4729,114 +4729,114 @@ case wxGridCellAttr_SetBackgroundColour: { // wxGridCellAttr::SetBackgroundColou wxColour colBack = wxColour(*colBackR,*colBackG,*colBackB,*colBackA); if(!This) throw wxe_badarg(0); This->SetBackgroundColour(colBack); - break; + break; } -case wxGridCellAttr_SetFont: { // wxGridCellAttr::SetFont +case wxGridCellAttr_SetFont: { // wxGridCellAttr::SetFont wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetFont(*font); - break; + break; } -case wxGridCellAttr_SetAlignment: { // wxGridCellAttr::SetAlignment +case wxGridCellAttr_SetAlignment: { // wxGridCellAttr::SetAlignment wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; int * hAlign = (int *) bp; bp += 4; int * vAlign = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetAlignment((int) *hAlign,(int) *vAlign); - break; + break; } -case wxGridCellAttr_SetReadOnly: { // wxGridCellAttr::SetReadOnly +case wxGridCellAttr_SetReadOnly: { // wxGridCellAttr::SetReadOnly bool isReadOnly=true; wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; isReadOnly = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetReadOnly(isReadOnly); - break; + break; } -case wxGridCellAttr_SetRenderer: { // wxGridCellAttr::SetRenderer +case wxGridCellAttr_SetRenderer: { // wxGridCellAttr::SetRenderer wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; wxGridCellRenderer *renderer = (wxGridCellRenderer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetRenderer(renderer); - break; + break; } -case wxGridCellAttr_SetEditor: { // wxGridCellAttr::SetEditor +case wxGridCellAttr_SetEditor: { // wxGridCellAttr::SetEditor wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; wxGridCellEditor *editor = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetEditor(editor); - break; + break; } -case wxGridCellAttr_HasTextColour: { // wxGridCellAttr::HasTextColour +case wxGridCellAttr_HasTextColour: { // wxGridCellAttr::HasTextColour wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasTextColour(); rt.addBool(Result); - break; + break; } -case wxGridCellAttr_HasBackgroundColour: { // wxGridCellAttr::HasBackgroundColour +case wxGridCellAttr_HasBackgroundColour: { // wxGridCellAttr::HasBackgroundColour wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasBackgroundColour(); rt.addBool(Result); - break; + break; } -case wxGridCellAttr_HasFont: { // wxGridCellAttr::HasFont +case wxGridCellAttr_HasFont: { // wxGridCellAttr::HasFont wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasFont(); rt.addBool(Result); - break; + break; } -case wxGridCellAttr_HasAlignment: { // wxGridCellAttr::HasAlignment +case wxGridCellAttr_HasAlignment: { // wxGridCellAttr::HasAlignment wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasAlignment(); rt.addBool(Result); - break; + break; } -case wxGridCellAttr_HasRenderer: { // wxGridCellAttr::HasRenderer +case wxGridCellAttr_HasRenderer: { // wxGridCellAttr::HasRenderer wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasRenderer(); rt.addBool(Result); - break; + break; } -case wxGridCellAttr_HasEditor: { // wxGridCellAttr::HasEditor +case wxGridCellAttr_HasEditor: { // wxGridCellAttr::HasEditor wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasEditor(); rt.addBool(Result); - break; + break; } -case wxGridCellAttr_GetTextColour: { // wxGridCellAttr::GetTextColour +case wxGridCellAttr_GetTextColour: { // wxGridCellAttr::GetTextColour wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxColour * Result = &This->GetTextColour(); rt.add((*Result)); - break; + break; } -case wxGridCellAttr_GetBackgroundColour: { // wxGridCellAttr::GetBackgroundColour +case wxGridCellAttr_GetBackgroundColour: { // wxGridCellAttr::GetBackgroundColour wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxColour * Result = &This->GetBackgroundColour(); rt.add((*Result)); - break; + break; } -case wxGridCellAttr_GetFont: { // wxGridCellAttr::GetFont +case wxGridCellAttr_GetFont: { // wxGridCellAttr::GetFont wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxFont * Result = &This->GetFont(); rt.addRef(getRef((void *)Result,memenv), "wxFont"); - break; + break; } -case wxGridCellAttr_GetAlignment: { // wxGridCellAttr::GetAlignment +case wxGridCellAttr_GetAlignment: { // wxGridCellAttr::GetAlignment int hAlign; int vAlign; wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; @@ -4845,9 +4845,9 @@ case wxGridCellAttr_GetAlignment: { // wxGridCellAttr::GetAlignment rt.addInt(hAlign); rt.addInt(vAlign); rt.addTupleCount(2); - break; + break; } -case wxGridCellAttr_GetRenderer: { // wxGridCellAttr::GetRenderer +case wxGridCellAttr_GetRenderer: { // wxGridCellAttr::GetRenderer wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; wxGrid *grid = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; @@ -4855,9 +4855,9 @@ case wxGridCellAttr_GetRenderer: { // wxGridCellAttr::GetRenderer if(!This) throw wxe_badarg(0); wxGridCellRenderer * Result = (wxGridCellRenderer*)This->GetRenderer(grid,(int) *row,(int) *col); rt.addRef(getRef((void *)Result,memenv), "wxGridCellRenderer"); - break; + break; } -case wxGridCellAttr_GetEditor: { // wxGridCellAttr::GetEditor +case wxGridCellAttr_GetEditor: { // wxGridCellAttr::GetEditor wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; wxGrid *grid = (wxGrid *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; @@ -4865,23 +4865,23 @@ case wxGridCellAttr_GetEditor: { // wxGridCellAttr::GetEditor if(!This) throw wxe_badarg(0); wxGridCellEditor * Result = (wxGridCellEditor*)This->GetEditor(grid,(int) *row,(int) *col); rt.addRef(getRef((void *)Result,memenv), "wxGridCellEditor"); - break; + break; } -case wxGridCellAttr_IsReadOnly: { // wxGridCellAttr::IsReadOnly +case wxGridCellAttr_IsReadOnly: { // wxGridCellAttr::IsReadOnly wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsReadOnly(); rt.addBool(Result); - break; + break; } -case wxGridCellAttr_SetDefAttr: { // wxGridCellAttr::SetDefAttr +case wxGridCellAttr_SetDefAttr: { // wxGridCellAttr::SetDefAttr wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; wxGridCellAttr *defAttr = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetDefAttr(defAttr); - break; + break; } -case wxDC_Blit: { // wxDC::Blit +case wxDC_Blit: { // wxDC::Blit int rop=wxCOPY; bool useMask=false; wxPoint srcPtMask= wxDefaultPosition; @@ -4896,7 +4896,7 @@ case wxDC_Blit: { // wxDC::Blit int * srcPtX = (int *) bp; bp += 4; int * srcPtY = (int *) bp; bp += 4; wxPoint srcPt = wxPoint(*srcPtX,*srcPtY); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; rop = (int)*(int *) bp; bp += 4; } break; @@ -4909,80 +4909,80 @@ case wxDC_Blit: { // wxDC::Blit srcPtMask = wxPoint(*srcPtMaskX,*srcPtMaskY); bp += 4; /* Align */ } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Blit(destPt,sz,source,srcPt,rop,useMask,srcPtMask); rt.addBool(Result); - break; + break; } -case wxDC_CalcBoundingBox: { // wxDC::CalcBoundingBox +case wxDC_CalcBoundingBox: { // wxDC::CalcBoundingBox wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->CalcBoundingBox((wxCoord) *x,(wxCoord) *y); - break; + break; } -case wxDC_Clear: { // wxDC::Clear +case wxDC_Clear: { // wxDC::Clear wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Clear(); - break; + break; } -case wxDC_ComputeScaleAndOrigin: { // wxDC::ComputeScaleAndOrigin +case wxDC_ComputeScaleAndOrigin: { // wxDC::ComputeScaleAndOrigin wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ComputeScaleAndOrigin(); - break; + break; } -case wxDC_CrossHair: { // wxDC::CrossHair +case wxDC_CrossHair: { // wxDC::CrossHair wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; wxPoint pt = wxPoint(*ptX,*ptY); if(!This) throw wxe_badarg(0); This->CrossHair(pt); - break; + break; } -case wxDC_DestroyClippingRegion: { // wxDC::DestroyClippingRegion +case wxDC_DestroyClippingRegion: { // wxDC::DestroyClippingRegion wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->DestroyClippingRegion(); - break; + break; } -case wxDC_DeviceToLogicalX: { // wxDC::DeviceToLogicalX +case wxDC_DeviceToLogicalX: { // wxDC::DeviceToLogicalX wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxCoord Result = This->DeviceToLogicalX((wxCoord) *x); rt.addInt(Result); - break; + break; } -case wxDC_DeviceToLogicalXRel: { // wxDC::DeviceToLogicalXRel +case wxDC_DeviceToLogicalXRel: { // wxDC::DeviceToLogicalXRel wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxCoord Result = This->DeviceToLogicalXRel((wxCoord) *x); rt.addInt(Result); - break; + break; } -case wxDC_DeviceToLogicalY: { // wxDC::DeviceToLogicalY +case wxDC_DeviceToLogicalY: { // wxDC::DeviceToLogicalY wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxCoord Result = This->DeviceToLogicalY((wxCoord) *y); rt.addInt(Result); - break; + break; } -case wxDC_DeviceToLogicalYRel: { // wxDC::DeviceToLogicalYRel +case wxDC_DeviceToLogicalYRel: { // wxDC::DeviceToLogicalYRel wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxCoord Result = This->DeviceToLogicalYRel((wxCoord) *y); rt.addInt(Result); - break; + break; } -case wxDC_DrawArc: { // wxDC::DrawArc +case wxDC_DrawArc: { // wxDC::DrawArc wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * pt1X = (int *) bp; bp += 4; int * pt1Y = (int *) bp; bp += 4; @@ -4995,25 +4995,25 @@ case wxDC_DrawArc: { // wxDC::DrawArc wxPoint centre = wxPoint(*centreX,*centreY); if(!This) throw wxe_badarg(0); This->DrawArc(pt1,pt2,centre); - break; + break; } -case wxDC_DrawBitmap: { // wxDC::DrawBitmap +case wxDC_DrawBitmap: { // wxDC::DrawBitmap bool useMask=false; wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; wxBitmap *bmp = (wxBitmap *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; wxPoint pt = wxPoint(*ptX,*ptY); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; useMask = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->DrawBitmap(*bmp,pt,useMask); - break; + break; } -case wxDC_DrawCheckMark: { // wxDC::DrawCheckMark +case wxDC_DrawCheckMark: { // wxDC::DrawCheckMark wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * rectX = (int *) bp; bp += 4; int * rectY = (int *) bp; bp += 4; @@ -5022,9 +5022,9 @@ case wxDC_DrawCheckMark: { // wxDC::DrawCheckMark wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH); if(!This) throw wxe_badarg(0); This->DrawCheckMark(rect); - break; + break; } -case wxDC_DrawCircle: { // wxDC::DrawCircle +case wxDC_DrawCircle: { // wxDC::DrawCircle wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; @@ -5032,9 +5032,9 @@ case wxDC_DrawCircle: { // wxDC::DrawCircle int * radius = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->DrawCircle(pt,(wxCoord) *radius); - break; + break; } -case wxDC_DrawEllipse_2: { // wxDC::DrawEllipse +case wxDC_DrawEllipse_2: { // wxDC::DrawEllipse wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; @@ -5044,9 +5044,9 @@ case wxDC_DrawEllipse_2: { // wxDC::DrawEllipse wxSize sz = wxSize(*szW,*szH); if(!This) throw wxe_badarg(0); This->DrawEllipse(pt,sz); - break; + break; } -case wxDC_DrawEllipse_1: { // wxDC::DrawEllipse +case wxDC_DrawEllipse_1: { // wxDC::DrawEllipse wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * rectX = (int *) bp; bp += 4; int * rectY = (int *) bp; bp += 4; @@ -5055,9 +5055,9 @@ case wxDC_DrawEllipse_1: { // wxDC::DrawEllipse wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH); if(!This) throw wxe_badarg(0); This->DrawEllipse(rect); - break; + break; } -case wxDC_DrawEllipticArc: { // wxDC::DrawEllipticArc +case wxDC_DrawEllipticArc: { // wxDC::DrawEllipticArc wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; @@ -5070,9 +5070,9 @@ case wxDC_DrawEllipticArc: { // wxDC::DrawEllipticArc double * ea = (double *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->DrawEllipticArc(pt,sz,(double) *sa,(double) *ea); - break; + break; } -case wxDC_DrawIcon: { // wxDC::DrawIcon +case wxDC_DrawIcon: { // wxDC::DrawIcon wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; wxIcon *icon = (wxIcon *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; @@ -5080,9 +5080,9 @@ case wxDC_DrawIcon: { // wxDC::DrawIcon wxPoint pt = wxPoint(*ptX,*ptY); if(!This) throw wxe_badarg(0); This->DrawIcon(*icon,pt); - break; + break; } -case wxDC_DrawLabel: { // wxDC::DrawLabel +case wxDC_DrawLabel: { // wxDC::DrawLabel int alignment=wxALIGN_LEFT|wxALIGN_TOP; int indexAccel=-1; wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; @@ -5094,19 +5094,19 @@ case wxDC_DrawLabel: { // wxDC::DrawLabel int * rectW = (int *) bp; bp += 4; int * rectH = (int *) bp; bp += 4; wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; alignment = (int)*(int *) bp; bp += 4; } break; case 2: {bp += 4; indexAccel = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->DrawLabel(text,rect,alignment,indexAccel); - break; + break; } -case wxDC_DrawLine: { // wxDC::DrawLine +case wxDC_DrawLine: { // wxDC::DrawLine wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * pt1X = (int *) bp; bp += 4; int * pt1Y = (int *) bp; bp += 4; @@ -5116,9 +5116,9 @@ case wxDC_DrawLine: { // wxDC::DrawLine wxPoint pt2 = wxPoint(*pt2X,*pt2Y); if(!This) throw wxe_badarg(0); This->DrawLine(pt1,pt2); - break; + break; } -case wxDC_DrawLines: { // wxDC::DrawLines +case wxDC_DrawLines: { // wxDC::DrawLines wxCoord xoffset=0; wxCoord yoffset=0; wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; @@ -5129,20 +5129,20 @@ case wxDC_DrawLines: { // wxDC::DrawLines int x = * (int *) bp; bp += 4; int y = * (int *) bp; bp += 4; points[i] = wxPoint(x,y);} - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; xoffset = (wxCoord)*(int *) bp; bp += 4; } break; case 2: {bp += 4; yoffset = (wxCoord)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->DrawLines(*pointsLen,points,xoffset,yoffset); driver_free(points); - break; + break; } -case wxDC_DrawPolygon: { // wxDC::DrawPolygon +case wxDC_DrawPolygon: { // wxDC::DrawPolygon wxCoord xoffset=0; wxCoord yoffset=0; int fillStyle=wxODDEVEN_RULE; @@ -5154,7 +5154,7 @@ case wxDC_DrawPolygon: { // wxDC::DrawPolygon int x = * (int *) bp; bp += 4; int y = * (int *) bp; bp += 4; points[i] = wxPoint(x,y);} - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; xoffset = (wxCoord)*(int *) bp; bp += 4; } break; @@ -5164,22 +5164,22 @@ case wxDC_DrawPolygon: { // wxDC::DrawPolygon case 3: {bp += 4; fillStyle = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->DrawPolygon(*pointsLen,points,xoffset,yoffset,fillStyle); driver_free(points); - break; + break; } -case wxDC_DrawPoint: { // wxDC::DrawPoint +case wxDC_DrawPoint: { // wxDC::DrawPoint wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; wxPoint pt = wxPoint(*ptX,*ptY); if(!This) throw wxe_badarg(0); This->DrawPoint(pt); - break; + break; } -case wxDC_DrawRectangle_2: { // wxDC::DrawRectangle +case wxDC_DrawRectangle_2: { // wxDC::DrawRectangle wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; @@ -5189,9 +5189,9 @@ case wxDC_DrawRectangle_2: { // wxDC::DrawRectangle wxSize sz = wxSize(*szW,*szH); if(!This) throw wxe_badarg(0); This->DrawRectangle(pt,sz); - break; + break; } -case wxDC_DrawRectangle_1: { // wxDC::DrawRectangle +case wxDC_DrawRectangle_1: { // wxDC::DrawRectangle wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * rectX = (int *) bp; bp += 4; int * rectY = (int *) bp; bp += 4; @@ -5200,9 +5200,9 @@ case wxDC_DrawRectangle_1: { // wxDC::DrawRectangle wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH); if(!This) throw wxe_badarg(0); This->DrawRectangle(rect); - break; + break; } -case wxDC_DrawRotatedText: { // wxDC::DrawRotatedText +case wxDC_DrawRotatedText: { // wxDC::DrawRotatedText wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); @@ -5213,9 +5213,9 @@ case wxDC_DrawRotatedText: { // wxDC::DrawRotatedText double * angle = (double *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->DrawRotatedText(text,pt,(double) *angle); - break; + break; } -case wxDC_DrawRoundedRectangle_3: { // wxDC::DrawRoundedRectangle +case wxDC_DrawRoundedRectangle_3: { // wxDC::DrawRoundedRectangle wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; @@ -5227,9 +5227,9 @@ case wxDC_DrawRoundedRectangle_3: { // wxDC::DrawRoundedRectangle double * radius = (double *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->DrawRoundedRectangle(pt,sz,(double) *radius); - break; + break; } -case wxDC_DrawRoundedRectangle_2: { // wxDC::DrawRoundedRectangle +case wxDC_DrawRoundedRectangle_2: { // wxDC::DrawRoundedRectangle wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * rX = (int *) bp; bp += 4; int * rY = (int *) bp; bp += 4; @@ -5240,9 +5240,9 @@ case wxDC_DrawRoundedRectangle_2: { // wxDC::DrawRoundedRectangle double * radius = (double *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->DrawRoundedRectangle(r,(double) *radius); - break; + break; } -case wxDC_DrawText: { // wxDC::DrawText +case wxDC_DrawText: { // wxDC::DrawText wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); @@ -5252,21 +5252,21 @@ case wxDC_DrawText: { // wxDC::DrawText wxPoint pt = wxPoint(*ptX,*ptY); if(!This) throw wxe_badarg(0); This->DrawText(text,pt); - break; + break; } -case wxDC_EndDoc: { // wxDC::EndDoc +case wxDC_EndDoc: { // wxDC::EndDoc wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->EndDoc(); - break; + break; } -case wxDC_EndPage: { // wxDC::EndPage +case wxDC_EndPage: { // wxDC::EndPage wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->EndPage(); - break; + break; } -case wxDC_FloodFill: { // wxDC::FloodFill +case wxDC_FloodFill: { // wxDC::FloodFill int style=wxFLOOD_SURFACE; wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; @@ -5278,52 +5278,52 @@ case wxDC_FloodFill: { // wxDC::FloodFill int * colA = (int *) bp; bp += 4; wxColour col = wxColour(*colR,*colG,*colB,*colA); bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; style = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->FloodFill(pt,col,style); rt.addBool(Result); - break; + break; } -case wxDC_GetBackground: { // wxDC::GetBackground +case wxDC_GetBackground: { // wxDC::GetBackground wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxBrush * Result = &This->GetBackground(); rt.addRef(getRef((void *)Result,memenv), "wxBrush"); - break; + break; } -case wxDC_GetBackgroundMode: { // wxDC::GetBackgroundMode +case wxDC_GetBackgroundMode: { // wxDC::GetBackgroundMode wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetBackgroundMode(); rt.addInt(Result); - break; + break; } -case wxDC_GetBrush: { // wxDC::GetBrush +case wxDC_GetBrush: { // wxDC::GetBrush wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxBrush * Result = &This->GetBrush(); rt.addRef(getRef((void *)Result,memenv), "wxBrush"); - break; + break; } -case wxDC_GetCharHeight: { // wxDC::GetCharHeight +case wxDC_GetCharHeight: { // wxDC::GetCharHeight wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxCoord Result = This->GetCharHeight(); rt.addInt(Result); - break; + break; } -case wxDC_GetCharWidth: { // wxDC::GetCharWidth +case wxDC_GetCharWidth: { // wxDC::GetCharWidth wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxCoord Result = This->GetCharWidth(); rt.addInt(Result); - break; + break; } -case wxDC_GetClippingBox: { // wxDC::GetClippingBox +case wxDC_GetClippingBox: { // wxDC::GetClippingBox wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * rectX = (int *) bp; bp += 4; int * rectY = (int *) bp; bp += 4; @@ -5332,37 +5332,37 @@ case wxDC_GetClippingBox: { // wxDC::GetClippingBox wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH); if(!This) throw wxe_badarg(0); This->GetClippingBox(rect); - break; + break; } -case wxDC_GetFont: { // wxDC::GetFont +case wxDC_GetFont: { // wxDC::GetFont wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxFont * Result = &This->GetFont(); rt.addRef(getRef((void *)Result,memenv), "wxFont"); - break; + break; } -case wxDC_GetLayoutDirection: { // wxDC::GetLayoutDirection +case wxDC_GetLayoutDirection: { // wxDC::GetLayoutDirection wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetLayoutDirection(); rt.addInt(Result); - break; + break; } -case wxDC_GetLogicalFunction: { // wxDC::GetLogicalFunction +case wxDC_GetLogicalFunction: { // wxDC::GetLogicalFunction wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetLogicalFunction(); rt.addInt(Result); - break; + break; } -case wxDC_GetMapMode: { // wxDC::GetMapMode +case wxDC_GetMapMode: { // wxDC::GetMapMode wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMapMode(); rt.addInt(Result); - break; + break; } -case wxDC_GetMultiLineTextExtent_4: { // wxDC::GetMultiLineTextExtent +case wxDC_GetMultiLineTextExtent_4: { // wxDC::GetMultiLineTextExtent wxCoord width; wxCoord height; wxCoord heightLine; @@ -5371,20 +5371,20 @@ case wxDC_GetMultiLineTextExtent_4: { // wxDC::GetMultiLineTextExtent int * stringLen = (int *) bp; bp += 4; wxString string = wxString(bp, wxConvUTF8); bp += *stringLen+((8-((0+ *stringLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; font = (wxFont *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->GetMultiLineTextExtent(string,&width,&height,&heightLine,font); rt.addInt(width); rt.addInt(height); rt.addInt(heightLine); rt.addTupleCount(3); - break; + break; } -case wxDC_GetMultiLineTextExtent_1: { // wxDC::GetMultiLineTextExtent +case wxDC_GetMultiLineTextExtent_1: { // wxDC::GetMultiLineTextExtent wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * stringLen = (int *) bp; bp += 4; wxString string = wxString(bp, wxConvUTF8); @@ -5392,9 +5392,9 @@ case wxDC_GetMultiLineTextExtent_1: { // wxDC::GetMultiLineTextExtent if(!This) throw wxe_badarg(0); wxSize Result = This->GetMultiLineTextExtent(string); rt.add(Result); - break; + break; } -case wxDC_GetPartialTextExtents: { // wxDC::GetPartialTextExtents +case wxDC_GetPartialTextExtents: { // wxDC::GetPartialTextExtents wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); @@ -5406,16 +5406,16 @@ case wxDC_GetPartialTextExtents: { // wxDC::GetPartialTextExtents if(!This) throw wxe_badarg(0); bool Result = This->GetPartialTextExtents(text,widths); rt.addBool(Result); - break; + break; } -case wxDC_GetPen: { // wxDC::GetPen +case wxDC_GetPen: { // wxDC::GetPen wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxPen * Result = &This->GetPen(); rt.addRef(getRef((void *)Result,memenv), "wxPen"); - break; + break; } -case wxDC_GetPixel: { // wxDC::GetPixel +case wxDC_GetPixel: { // wxDC::GetPixel wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; @@ -5428,37 +5428,37 @@ case wxDC_GetPixel: { // wxDC::GetPixel if(!This) throw wxe_badarg(0); bool Result = This->GetPixel(pt,&col); rt.addBool(Result); - break; + break; } -case wxDC_GetPPI: { // wxDC::GetPPI +case wxDC_GetPPI: { // wxDC::GetPPI wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetPPI(); rt.add(Result); - break; + break; } -case wxDC_GetSize: { // wxDC::GetSize +case wxDC_GetSize: { // wxDC::GetSize wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetSize(); rt.add(Result); - break; + break; } -case wxDC_GetSizeMM: { // wxDC::GetSizeMM +case wxDC_GetSizeMM: { // wxDC::GetSizeMM wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetSizeMM(); rt.add(Result); - break; + break; } -case wxDC_GetTextBackground: { // wxDC::GetTextBackground +case wxDC_GetTextBackground: { // wxDC::GetTextBackground wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxColour * Result = &This->GetTextBackground(); rt.add((*Result)); - break; + break; } -case wxDC_GetTextExtent_4: { // wxDC::GetTextExtent +case wxDC_GetTextExtent_4: { // wxDC::GetTextExtent wxCoord x; wxCoord y; wxCoord descent; @@ -5468,11 +5468,11 @@ case wxDC_GetTextExtent_4: { // wxDC::GetTextExtent int * stringLen = (int *) bp; bp += 4; wxString string = wxString(bp, wxConvUTF8); bp += *stringLen+((8-((0+ *stringLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; theFont = (wxFont *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->GetTextExtent(string,&x,&y,&descent,&externalLeading,theFont); rt.addInt(x); @@ -5480,9 +5480,9 @@ theFont = (wxFont *) getPtr(bp,memenv); bp += 4; rt.addInt(descent); rt.addInt(externalLeading); rt.addTupleCount(4); - break; + break; } -case wxDC_GetTextExtent_1: { // wxDC::GetTextExtent +case wxDC_GetTextExtent_1: { // wxDC::GetTextExtent wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * stringLen = (int *) bp; bp += 4; wxString string = wxString(bp, wxConvUTF8); @@ -5490,16 +5490,16 @@ case wxDC_GetTextExtent_1: { // wxDC::GetTextExtent if(!This) throw wxe_badarg(0); wxSize Result = This->GetTextExtent(string); rt.add(Result); - break; + break; } -case wxDC_GetTextForeground: { // wxDC::GetTextForeground +case wxDC_GetTextForeground: { // wxDC::GetTextForeground wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxColour * Result = &This->GetTextForeground(); rt.add((*Result)); - break; + break; } -case wxDC_GetUserScale: { // wxDC::GetUserScale +case wxDC_GetUserScale: { // wxDC::GetUserScale double x; double y; wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; @@ -5508,9 +5508,9 @@ case wxDC_GetUserScale: { // wxDC::GetUserScale rt.addFloat(x); rt.addFloat(y); rt.addTupleCount(2); - break; + break; } -case wxDC_GradientFillConcentric_3: { // wxDC::GradientFillConcentric +case wxDC_GradientFillConcentric_3: { // wxDC::GradientFillConcentric wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * rectX = (int *) bp; bp += 4; int * rectY = (int *) bp; bp += 4; @@ -5529,9 +5529,9 @@ case wxDC_GradientFillConcentric_3: { // wxDC::GradientFillConcentric wxColour destColour = wxColour(*destColourR,*destColourG,*destColourB,*destColourA); if(!This) throw wxe_badarg(0); This->GradientFillConcentric(rect,initialColour,destColour); - break; + break; } -case wxDC_GradientFillConcentric_4: { // wxDC::GradientFillConcentric +case wxDC_GradientFillConcentric_4: { // wxDC::GradientFillConcentric wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * rectX = (int *) bp; bp += 4; int * rectY = (int *) bp; bp += 4; @@ -5553,9 +5553,9 @@ case wxDC_GradientFillConcentric_4: { // wxDC::GradientFillConcentric wxPoint circleCenter = wxPoint(*circleCenterX,*circleCenterY); if(!This) throw wxe_badarg(0); This->GradientFillConcentric(rect,initialColour,destColour,circleCenter); - break; + break; } -case wxDC_GradientFillLinear: { // wxDC::GradientFillLinear +case wxDC_GradientFillLinear: { // wxDC::GradientFillLinear wxDirection nDirection=wxEAST; wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * rectX = (int *) bp; bp += 4; @@ -5574,118 +5574,118 @@ case wxDC_GradientFillLinear: { // wxDC::GradientFillLinear int * destColourA = (int *) bp; bp += 4; wxColour destColour = wxColour(*destColourR,*destColourG,*destColourB,*destColourA); bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; nDirection = *(wxDirection *) bp; bp += 4;; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->GradientFillLinear(rect,initialColour,destColour,(wxDirection) nDirection); - break; + break; } -case wxDC_LogicalToDeviceX: { // wxDC::LogicalToDeviceX +case wxDC_LogicalToDeviceX: { // wxDC::LogicalToDeviceX wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxCoord Result = This->LogicalToDeviceX((wxCoord) *x); rt.addInt(Result); - break; + break; } -case wxDC_LogicalToDeviceXRel: { // wxDC::LogicalToDeviceXRel +case wxDC_LogicalToDeviceXRel: { // wxDC::LogicalToDeviceXRel wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxCoord Result = This->LogicalToDeviceXRel((wxCoord) *x); rt.addInt(Result); - break; + break; } -case wxDC_LogicalToDeviceY: { // wxDC::LogicalToDeviceY +case wxDC_LogicalToDeviceY: { // wxDC::LogicalToDeviceY wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxCoord Result = This->LogicalToDeviceY((wxCoord) *y); rt.addInt(Result); - break; + break; } -case wxDC_LogicalToDeviceYRel: { // wxDC::LogicalToDeviceYRel +case wxDC_LogicalToDeviceYRel: { // wxDC::LogicalToDeviceYRel wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxCoord Result = This->LogicalToDeviceYRel((wxCoord) *y); rt.addInt(Result); - break; + break; } -case wxDC_MaxX: { // wxDC::MaxX +case wxDC_MaxX: { // wxDC::MaxX wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxCoord Result = This->MaxX(); rt.addInt(Result); - break; + break; } -case wxDC_MaxY: { // wxDC::MaxY +case wxDC_MaxY: { // wxDC::MaxY wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxCoord Result = This->MaxY(); rt.addInt(Result); - break; + break; } -case wxDC_MinX: { // wxDC::MinX +case wxDC_MinX: { // wxDC::MinX wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxCoord Result = This->MinX(); rt.addInt(Result); - break; + break; } -case wxDC_MinY: { // wxDC::MinY +case wxDC_MinY: { // wxDC::MinY wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxCoord Result = This->MinY(); rt.addInt(Result); - break; + break; } -case wxDC_IsOk: { // wxDC::IsOk +case wxDC_IsOk: { // wxDC::IsOk wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsOk(); rt.addBool(Result); - break; + break; } -case wxDC_ResetBoundingBox: { // wxDC::ResetBoundingBox +case wxDC_ResetBoundingBox: { // wxDC::ResetBoundingBox wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ResetBoundingBox(); - break; + break; } -case wxDC_SetAxisOrientation: { // wxDC::SetAxisOrientation +case wxDC_SetAxisOrientation: { // wxDC::SetAxisOrientation wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; bool * xLeftRight = (bool *) bp; bp += 4; bool * yBottomUp = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetAxisOrientation((bool) *xLeftRight,(bool) *yBottomUp); - break; + break; } -case wxDC_SetBackground: { // wxDC::SetBackground +case wxDC_SetBackground: { // wxDC::SetBackground wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; wxBrush *brush = (wxBrush *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetBackground(*brush); - break; + break; } -case wxDC_SetBackgroundMode: { // wxDC::SetBackgroundMode +case wxDC_SetBackgroundMode: { // wxDC::SetBackgroundMode wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * mode = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetBackgroundMode((int) *mode); - break; + break; } -case wxDC_SetBrush: { // wxDC::SetBrush +case wxDC_SetBrush: { // wxDC::SetBrush wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; wxBrush *brush = (wxBrush *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetBrush(*brush); - break; + break; } -case wxDC_SetClippingRegion_2: { // wxDC::SetClippingRegion +case wxDC_SetClippingRegion_2: { // wxDC::SetClippingRegion wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; @@ -5695,9 +5695,9 @@ case wxDC_SetClippingRegion_2: { // wxDC::SetClippingRegion wxSize sz = wxSize(*szW,*szH); if(!This) throw wxe_badarg(0); This->SetClippingRegion(pt,sz); - break; + break; } -case wxDC_SetClippingRegion_1_1: { // wxDC::SetClippingRegion +case wxDC_SetClippingRegion_1_1: { // wxDC::SetClippingRegion wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * rectX = (int *) bp; bp += 4; int * rectY = (int *) bp; bp += 4; @@ -5706,66 +5706,66 @@ case wxDC_SetClippingRegion_1_1: { // wxDC::SetClippingRegion wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH); if(!This) throw wxe_badarg(0); This->SetClippingRegion(rect); - break; + break; } -case wxDC_SetClippingRegion_1_0: { // wxDC::SetClippingRegion +case wxDC_SetClippingRegion_1_0: { // wxDC::SetClippingRegion wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; wxRegion *region = (wxRegion *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetClippingRegion(*region); - break; + break; } -case wxDC_SetDeviceOrigin: { // wxDC::SetDeviceOrigin +case wxDC_SetDeviceOrigin: { // wxDC::SetDeviceOrigin wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetDeviceOrigin((wxCoord) *x,(wxCoord) *y); - break; + break; } -case wxDC_SetFont: { // wxDC::SetFont +case wxDC_SetFont: { // wxDC::SetFont wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetFont(*font); - break; + break; } -case wxDC_SetLayoutDirection: { // wxDC::SetLayoutDirection +case wxDC_SetLayoutDirection: { // wxDC::SetLayoutDirection wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; wxLayoutDirection dir = *(wxLayoutDirection *) bp; bp += 4;; if(!This) throw wxe_badarg(0); This->SetLayoutDirection((wxLayoutDirection) dir); - break; + break; } -case wxDC_SetLogicalFunction: { // wxDC::SetLogicalFunction +case wxDC_SetLogicalFunction: { // wxDC::SetLogicalFunction wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * function = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetLogicalFunction((int) *function); - break; + break; } -case wxDC_SetMapMode: { // wxDC::SetMapMode +case wxDC_SetMapMode: { // wxDC::SetMapMode wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * mode = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMapMode((int) *mode); - break; + break; } -case wxDC_SetPalette: { // wxDC::SetPalette +case wxDC_SetPalette: { // wxDC::SetPalette wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; wxPalette *palette = (wxPalette *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetPalette(*palette); - break; + break; } -case wxDC_SetPen: { // wxDC::SetPen +case wxDC_SetPen: { // wxDC::SetPen wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; wxPen *pen = (wxPen *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetPen(*pen); - break; + break; } -case wxDC_SetTextBackground: { // wxDC::SetTextBackground +case wxDC_SetTextBackground: { // wxDC::SetTextBackground wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * colourR = (int *) bp; bp += 4; int * colourG = (int *) bp; bp += 4; @@ -5774,9 +5774,9 @@ case wxDC_SetTextBackground: { // wxDC::SetTextBackground wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA); if(!This) throw wxe_badarg(0); This->SetTextBackground(colour); - break; + break; } -case wxDC_SetTextForeground: { // wxDC::SetTextForeground +case wxDC_SetTextForeground: { // wxDC::SetTextForeground wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * colourR = (int *) bp; bp += 4; int * colourG = (int *) bp; bp += 4; @@ -5785,18 +5785,18 @@ case wxDC_SetTextForeground: { // wxDC::SetTextForeground wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA); if(!This) throw wxe_badarg(0); This->SetTextForeground(colour); - break; + break; } -case wxDC_SetUserScale: { // wxDC::SetUserScale +case wxDC_SetUserScale: { // wxDC::SetUserScale wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ double * x = (double *) bp; bp += 8; double * y = (double *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->SetUserScale((double) *x,(double) *y); - break; + break; } -case wxDC_StartDoc: { // wxDC::StartDoc +case wxDC_StartDoc: { // wxDC::StartDoc wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; int * messageLen = (int *) bp; bp += 4; wxString message = wxString(bp, wxConvUTF8); @@ -5804,277 +5804,277 @@ case wxDC_StartDoc: { // wxDC::StartDoc if(!This) throw wxe_badarg(0); bool Result = This->StartDoc(message); rt.addBool(Result); - break; + break; } -case wxDC_StartPage: { // wxDC::StartPage +case wxDC_StartPage: { // wxDC::StartPage wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->StartPage(); - break; + break; } -case wxMirrorDC_new: { // wxMirrorDC::wxMirrorDC +case wxMirrorDC_new: { // wxMirrorDC::wxMirrorDC wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4; bool * mirror = (bool *) bp; bp += 4; wxMirrorDC * Result = new EwxMirrorDC(*dc,(bool) *mirror); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMirrorDC"); - break; + break; } -case wxScreenDC_new: { // wxScreenDC::wxScreenDC +case wxScreenDC_new: { // wxScreenDC::wxScreenDC wxScreenDC * Result = new EwxScreenDC(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxScreenDC"); - break; + break; } -case wxPostScriptDC_new_0: { // wxPostScriptDC::wxPostScriptDC +case wxPostScriptDC_new_0: { // wxPostScriptDC::wxPostScriptDC wxPostScriptDC * Result = new EwxPostScriptDC(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPostScriptDC"); - break; + break; } -case wxPostScriptDC_new_1: { // wxPostScriptDC::wxPostScriptDC +case wxPostScriptDC_new_1: { // wxPostScriptDC::wxPostScriptDC wxPrintData *printData = (wxPrintData *) getPtr(bp,memenv); bp += 4; wxPostScriptDC * Result = new EwxPostScriptDC(*printData); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPostScriptDC"); - break; + break; } -case wxPostScriptDC_SetResolution: { // wxPostScriptDC::SetResolution +case wxPostScriptDC_SetResolution: { // wxPostScriptDC::SetResolution int * ppi = (int *) bp; bp += 4; wxPostScriptDC::SetResolution((int) *ppi); - break; + break; } -case wxPostScriptDC_GetResolution: { // wxPostScriptDC::GetResolution +case wxPostScriptDC_GetResolution: { // wxPostScriptDC::GetResolution int Result = wxPostScriptDC::GetResolution(); rt.addInt(Result); - break; + break; } -case wxWindowDC_new_0: { // wxWindowDC::wxWindowDC +case wxWindowDC_new_0: { // wxWindowDC::wxWindowDC wxWindowDC * Result = new EwxWindowDC(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxWindowDC"); - break; + break; } -case wxWindowDC_new_1: { // wxWindowDC::wxWindowDC +case wxWindowDC_new_1: { // wxWindowDC::wxWindowDC wxWindow *win = (wxWindow *) getPtr(bp,memenv); bp += 4; wxWindowDC * Result = new EwxWindowDC(win); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxWindowDC"); - break; + break; } -case wxClientDC_new_0: { // wxClientDC::wxClientDC +case wxClientDC_new_0: { // wxClientDC::wxClientDC wxClientDC * Result = new EwxClientDC(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxClientDC"); - break; + break; } -case wxClientDC_new_1: { // wxClientDC::wxClientDC +case wxClientDC_new_1: { // wxClientDC::wxClientDC wxWindow *win = (wxWindow *) getPtr(bp,memenv); bp += 4; wxClientDC * Result = new EwxClientDC(win); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxClientDC"); - break; + break; } -case wxPaintDC_new_0: { // wxPaintDC::wxPaintDC +case wxPaintDC_new_0: { // wxPaintDC::wxPaintDC wxPaintDC * Result = new EwxPaintDC(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPaintDC"); - break; + break; } -case wxPaintDC_new_1: { // wxPaintDC::wxPaintDC +case wxPaintDC_new_1: { // wxPaintDC::wxPaintDC wxWindow *win = (wxWindow *) getPtr(bp,memenv); bp += 4; wxPaintDC * Result = new EwxPaintDC(win); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPaintDC"); - break; + break; } -case wxMemoryDC_new_1_0: { // wxMemoryDC::wxMemoryDC +case wxMemoryDC_new_1_0: { // wxMemoryDC::wxMemoryDC wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; wxMemoryDC * Result = new EwxMemoryDC(*bitmap); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMemoryDC"); - break; + break; } -case wxMemoryDC_new_1_1: { // wxMemoryDC::wxMemoryDC +case wxMemoryDC_new_1_1: { // wxMemoryDC::wxMemoryDC wxDC * dc = (wxDC *) getPtr(bp,memenv); bp += 4; wxMemoryDC * Result = new EwxMemoryDC(dc); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMemoryDC"); - break; + break; } -case wxMemoryDC_new_0: { // wxMemoryDC::wxMemoryDC +case wxMemoryDC_new_0: { // wxMemoryDC::wxMemoryDC wxMemoryDC * Result = new EwxMemoryDC(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMemoryDC"); - break; + break; } -case wxMemoryDC_SelectObject: { // wxMemoryDC::SelectObject +case wxMemoryDC_SelectObject: { // wxMemoryDC::SelectObject wxMemoryDC *This = (wxMemoryDC *) getPtr(bp,memenv); bp += 4; wxBitmap *bmp = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SelectObject(*bmp); - break; + break; } -case wxMemoryDC_SelectObjectAsSource: { // wxMemoryDC::SelectObjectAsSource +case wxMemoryDC_SelectObjectAsSource: { // wxMemoryDC::SelectObjectAsSource wxMemoryDC *This = (wxMemoryDC *) getPtr(bp,memenv); bp += 4; wxBitmap *bmp = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SelectObjectAsSource(*bmp); - break; + break; } -case wxBufferedDC_new_0: { // wxBufferedDC::wxBufferedDC +case wxBufferedDC_new_0: { // wxBufferedDC::wxBufferedDC wxBufferedDC * Result = new EwxBufferedDC(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxBufferedDC"); - break; + break; } -case wxBufferedDC_new_2: { // wxBufferedDC::wxBufferedDC +case wxBufferedDC_new_2: { // wxBufferedDC::wxBufferedDC wxBitmap * buffer= &wxNullBitmap; int style=0x02; wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; buffer = (wxBitmap *) getPtr(bp,memenv); bp += 4; } break; case 2: {bp += 4; style = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxBufferedDC * Result = new EwxBufferedDC(dc,*buffer,style); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxBufferedDC"); - break; + break; } -case wxBufferedDC_new_3: { // wxBufferedDC::wxBufferedDC +case wxBufferedDC_new_3: { // wxBufferedDC::wxBufferedDC int style=0x02; wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4; int * areaW = (int *) bp; bp += 4; int * areaH = (int *) bp; bp += 4; wxSize area = wxSize(*areaW,*areaH); bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; style = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxBufferedDC * Result = new EwxBufferedDC(dc,area,style); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxBufferedDC"); - break; + break; } -case wxBufferedDC_Init_2: { // wxBufferedDC::Init +case wxBufferedDC_Init_2: { // wxBufferedDC::Init wxBitmap * buffer= &wxNullBitmap; int style=0x02; wxBufferedDC *This = (wxBufferedDC *) getPtr(bp,memenv); bp += 4; wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; buffer = (wxBitmap *) getPtr(bp,memenv); bp += 4; } break; case 2: {bp += 4; style = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Init(dc,*buffer,style); - break; + break; } -case wxBufferedDC_Init_3: { // wxBufferedDC::Init +case wxBufferedDC_Init_3: { // wxBufferedDC::Init int style=0x02; wxBufferedDC *This = (wxBufferedDC *) getPtr(bp,memenv); bp += 4; wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4; int * areaW = (int *) bp; bp += 4; int * areaH = (int *) bp; bp += 4; wxSize area = wxSize(*areaW,*areaH); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; style = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Init(dc,area,style); - break; + break; } -case wxBufferedPaintDC_new_3: { // wxBufferedPaintDC::wxBufferedPaintDC +case wxBufferedPaintDC_new_3: { // wxBufferedPaintDC::wxBufferedPaintDC int style=0x02; wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; wxBitmap *buffer = (wxBitmap *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; style = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxBufferedPaintDC * Result = new EwxBufferedPaintDC(window,*buffer,style); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxBufferedPaintDC"); - break; + break; } -case wxBufferedPaintDC_new_2: { // wxBufferedPaintDC::wxBufferedPaintDC +case wxBufferedPaintDC_new_2: { // wxBufferedPaintDC::wxBufferedPaintDC int style=0x02; wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; style = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxBufferedPaintDC * Result = new EwxBufferedPaintDC(window,style); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxBufferedPaintDC"); - break; + break; } #if wxUSE_GRAPHICS_CONTEXT -case wxGraphicsObject_GetRenderer: { // wxGraphicsObject::GetRenderer +case wxGraphicsObject_GetRenderer: { // wxGraphicsObject::GetRenderer wxGraphicsObject *This = (wxGraphicsObject *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGraphicsRenderer * Result = (wxGraphicsRenderer*)This->GetRenderer(); rt.addRef(getRef((void *)Result,memenv), "wxGraphicsRenderer"); - break; + break; } -case wxGraphicsObject_IsNull: { // wxGraphicsObject::IsNull +case wxGraphicsObject_IsNull: { // wxGraphicsObject::IsNull wxGraphicsObject *This = (wxGraphicsObject *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsNull(); rt.addBool(Result); - break; + break; } #endif // wxUSE_GRAPHICS_CONTEXT #if wxUSE_GRAPHICS_CONTEXT -case wxGraphicsContext_Create_1_1: { // wxGraphicsContext::Create +case wxGraphicsContext_Create_1_1: { // wxGraphicsContext::Create wxWindowDC * dc = (wxWindowDC *) getPtr(bp,memenv); bp += 4; wxGraphicsContext * Result = (wxGraphicsContext*)wxGraphicsContext::Create(*dc); rt.addRef(getRef((void *)Result,memenv), "wxGraphicsContext"); - break; + break; } -case wxGraphicsContext_Create_1_0: { // wxGraphicsContext::Create +case wxGraphicsContext_Create_1_0: { // wxGraphicsContext::Create wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; wxGraphicsContext * Result = (wxGraphicsContext*)wxGraphicsContext::Create(window); rt.addRef(getRef((void *)Result,memenv), "wxGraphicsContext"); - break; + break; } -case wxGraphicsContext_Create_0: { // wxGraphicsContext::Create +case wxGraphicsContext_Create_0: { // wxGraphicsContext::Create wxGraphicsContext * Result = (wxGraphicsContext*)wxGraphicsContext::Create(); rt.addRef(getRef((void *)Result,memenv), "wxGraphicsContext"); - break; + break; } -case wxGraphicsContext_CreatePen: { // wxGraphicsContext::CreatePen +case wxGraphicsContext_CreatePen: { // wxGraphicsContext::CreatePen wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; wxPen *pen = (wxPen *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGraphicsPen * Result = new wxGraphicsPen(This->CreatePen(*pen)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxGraphicsPen"); - break; + break; } -case wxGraphicsContext_CreateBrush: { // wxGraphicsContext::CreateBrush +case wxGraphicsContext_CreateBrush: { // wxGraphicsContext::CreateBrush wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; wxBrush *brush = (wxBrush *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGraphicsBrush * Result = new wxGraphicsBrush(This->CreateBrush(*brush)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxGraphicsBrush"); - break; + break; } -case wxGraphicsContext_CreateRadialGradientBrush: { // wxGraphicsContext::CreateRadialGradientBrush +case wxGraphicsContext_CreateRadialGradientBrush: { // wxGraphicsContext::CreateRadialGradientBrush wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * xo = (wxDouble *) bp; bp += 8; @@ -6095,9 +6095,9 @@ case wxGraphicsContext_CreateRadialGradientBrush: { // wxGraphicsContext::Create if(!This) throw wxe_badarg(0); wxGraphicsBrush * Result = new wxGraphicsBrush(This->CreateRadialGradientBrush((wxDouble) *xo,(wxDouble) *yo,(wxDouble) *xc,(wxDouble) *yc,(wxDouble) *radius,oColor,cColor)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxGraphicsBrush"); - break; + break; } -case wxGraphicsContext_CreateLinearGradientBrush: { // wxGraphicsContext::CreateLinearGradientBrush +case wxGraphicsContext_CreateLinearGradientBrush: { // wxGraphicsContext::CreateLinearGradientBrush wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * x1 = (wxDouble *) bp; bp += 8; @@ -6117,13 +6117,13 @@ case wxGraphicsContext_CreateLinearGradientBrush: { // wxGraphicsContext::Create if(!This) throw wxe_badarg(0); wxGraphicsBrush * Result = new wxGraphicsBrush(This->CreateLinearGradientBrush((wxDouble) *x1,(wxDouble) *y1,(wxDouble) *x2,(wxDouble) *y2,c1,c2)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxGraphicsBrush"); - break; + break; } -case wxGraphicsContext_CreateFont: { // wxGraphicsContext::CreateFont +case wxGraphicsContext_CreateFont: { // wxGraphicsContext::CreateFont wxColour col= *wxBLACK; wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * colR = (int *) bp; bp += 4; int * colG = (int *) bp; bp += 4; @@ -6132,13 +6132,13 @@ case wxGraphicsContext_CreateFont: { // wxGraphicsContext::CreateFont col = wxColour(*colR,*colG,*colB,*colA); bp += 4; /* Align */ } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxGraphicsFont * Result = new wxGraphicsFont(This->CreateFont(*font,col)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxGraphicsFont"); - break; + break; } -case wxGraphicsContext_CreateMatrix: { // wxGraphicsContext::CreateMatrix +case wxGraphicsContext_CreateMatrix: { // wxGraphicsContext::CreateMatrix wxDouble a=1.0; wxDouble b=0.0; wxDouble c=0.0; @@ -6147,7 +6147,7 @@ case wxGraphicsContext_CreateMatrix: { // wxGraphicsContext::CreateMatrix wxDouble ty=0.0; wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; bp += 4; /* Align */ a = * (wxDouble *) bp; bp += 8; @@ -6172,27 +6172,27 @@ case wxGraphicsContext_CreateMatrix: { // wxGraphicsContext::CreateMatrix bp += 4; /* Align */ ty = * (wxDouble *) bp; bp += 8; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxGraphicsMatrix * Result = new wxGraphicsMatrix(This->CreateMatrix(a,b,c,d,tx,ty)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxGraphicsMatrix"); - break; + break; } -case wxGraphicsContext_CreatePath: { // wxGraphicsContext::CreatePath +case wxGraphicsContext_CreatePath: { // wxGraphicsContext::CreatePath wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGraphicsPath * Result = new wxGraphicsPath(This->CreatePath()); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxGraphicsPath"); - break; + break; } -case wxGraphicsContext_Clip_1: { // wxGraphicsContext::Clip +case wxGraphicsContext_Clip_1: { // wxGraphicsContext::Clip wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; wxRegion *region = (wxRegion *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Clip(*region); - break; + break; } -case wxGraphicsContext_Clip_4: { // wxGraphicsContext::Clip +case wxGraphicsContext_Clip_4: { // wxGraphicsContext::Clip wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * x = (wxDouble *) bp; bp += 8; @@ -6201,15 +6201,15 @@ case wxGraphicsContext_Clip_4: { // wxGraphicsContext::Clip wxDouble * h = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->Clip((wxDouble) *x,(wxDouble) *y,(wxDouble) *w,(wxDouble) *h); - break; + break; } -case wxGraphicsContext_ResetClip: { // wxGraphicsContext::ResetClip +case wxGraphicsContext_ResetClip: { // wxGraphicsContext::ResetClip wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ResetClip(); - break; + break; } -case wxGraphicsContext_DrawBitmap: { // wxGraphicsContext::DrawBitmap +case wxGraphicsContext_DrawBitmap: { // wxGraphicsContext::DrawBitmap wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; wxBitmap *bmp = (wxBitmap *) getPtr(bp,memenv); bp += 4; wxDouble * x = (wxDouble *) bp; bp += 8; @@ -6218,9 +6218,9 @@ case wxGraphicsContext_DrawBitmap: { // wxGraphicsContext::DrawBitmap wxDouble * h = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->DrawBitmap(*bmp,(wxDouble) *x,(wxDouble) *y,(wxDouble) *w,(wxDouble) *h); - break; + break; } -case wxGraphicsContext_DrawEllipse: { // wxGraphicsContext::DrawEllipse +case wxGraphicsContext_DrawEllipse: { // wxGraphicsContext::DrawEllipse wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * x = (wxDouble *) bp; bp += 8; @@ -6229,9 +6229,9 @@ case wxGraphicsContext_DrawEllipse: { // wxGraphicsContext::DrawEllipse wxDouble * h = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->DrawEllipse((wxDouble) *x,(wxDouble) *y,(wxDouble) *w,(wxDouble) *h); - break; + break; } -case wxGraphicsContext_DrawIcon: { // wxGraphicsContext::DrawIcon +case wxGraphicsContext_DrawIcon: { // wxGraphicsContext::DrawIcon wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; wxIcon *icon = (wxIcon *) getPtr(bp,memenv); bp += 4; wxDouble * x = (wxDouble *) bp; bp += 8; @@ -6240,38 +6240,38 @@ case wxGraphicsContext_DrawIcon: { // wxGraphicsContext::DrawIcon wxDouble * h = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->DrawIcon(*icon,(wxDouble) *x,(wxDouble) *y,(wxDouble) *w,(wxDouble) *h); - break; + break; } -case wxGraphicsContext_DrawLines: { // wxGraphicsContext::DrawLines +case wxGraphicsContext_DrawLines: { // wxGraphicsContext::DrawLines int fillStyle=wxODDEVEN_RULE; wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; wxDouble * pointsX = (wxDouble *) bp; bp += 8; wxDouble * pointsY = (wxDouble *) bp; bp += 8; wxPoint2DDouble points = wxPoint2DDouble(*pointsX,*pointsY); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; fillStyle = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->DrawLines((size_t) *n,&points,fillStyle); - break; + break; } -case wxGraphicsContext_DrawPath: { // wxGraphicsContext::DrawPath +case wxGraphicsContext_DrawPath: { // wxGraphicsContext::DrawPath int fillStyle=wxODDEVEN_RULE; wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; wxGraphicsPath *path = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; fillStyle = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->DrawPath(*path,fillStyle); - break; + break; } -case wxGraphicsContext_DrawRectangle: { // wxGraphicsContext::DrawRectangle +case wxGraphicsContext_DrawRectangle: { // wxGraphicsContext::DrawRectangle wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * x = (wxDouble *) bp; bp += 8; @@ -6280,9 +6280,9 @@ case wxGraphicsContext_DrawRectangle: { // wxGraphicsContext::DrawRectangle wxDouble * h = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->DrawRectangle((wxDouble) *x,(wxDouble) *y,(wxDouble) *w,(wxDouble) *h); - break; + break; } -case wxGraphicsContext_DrawRoundedRectangle: { // wxGraphicsContext::DrawRoundedRectangle +case wxGraphicsContext_DrawRoundedRectangle: { // wxGraphicsContext::DrawRoundedRectangle wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * x = (wxDouble *) bp; bp += 8; @@ -6292,9 +6292,9 @@ case wxGraphicsContext_DrawRoundedRectangle: { // wxGraphicsContext::DrawRounded wxDouble * radius = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->DrawRoundedRectangle((wxDouble) *x,(wxDouble) *y,(wxDouble) *w,(wxDouble) *h,(wxDouble) *radius); - break; + break; } -case wxGraphicsContext_DrawText_3: { // wxGraphicsContext::DrawText +case wxGraphicsContext_DrawText_3: { // wxGraphicsContext::DrawText wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; int * strLen = (int *) bp; bp += 4; wxString str = wxString(bp, wxConvUTF8); @@ -6303,9 +6303,9 @@ case wxGraphicsContext_DrawText_3: { // wxGraphicsContext::DrawText wxDouble * y = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->DrawText(str,(wxDouble) *x,(wxDouble) *y); - break; + break; } -case wxGraphicsContext_DrawText_4_0: { // wxGraphicsContext::DrawText +case wxGraphicsContext_DrawText_4_0: { // wxGraphicsContext::DrawText wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; int * strLen = (int *) bp; bp += 4; wxString str = wxString(bp, wxConvUTF8); @@ -6315,9 +6315,9 @@ case wxGraphicsContext_DrawText_4_0: { // wxGraphicsContext::DrawText wxDouble * angle = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->DrawText(str,(wxDouble) *x,(wxDouble) *y,(wxDouble) *angle); - break; + break; } -case wxGraphicsContext_DrawText_4_1: { // wxGraphicsContext::DrawText +case wxGraphicsContext_DrawText_4_1: { // wxGraphicsContext::DrawText wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; int * strLen = (int *) bp; bp += 4; wxString str = wxString(bp, wxConvUTF8); @@ -6327,9 +6327,9 @@ case wxGraphicsContext_DrawText_4_1: { // wxGraphicsContext::DrawText wxGraphicsBrush *backgroundBrush = (wxGraphicsBrush *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->DrawText(str,(wxDouble) *x,(wxDouble) *y,*backgroundBrush); - break; + break; } -case wxGraphicsContext_DrawText_5: { // wxGraphicsContext::DrawText +case wxGraphicsContext_DrawText_5: { // wxGraphicsContext::DrawText wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; int * strLen = (int *) bp; bp += 4; wxString str = wxString(bp, wxConvUTF8); @@ -6340,35 +6340,35 @@ case wxGraphicsContext_DrawText_5: { // wxGraphicsContext::DrawText wxGraphicsBrush *backgroundBrush = (wxGraphicsBrush *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->DrawText(str,(wxDouble) *x,(wxDouble) *y,(wxDouble) *angle,*backgroundBrush); - break; + break; } -case wxGraphicsContext_FillPath: { // wxGraphicsContext::FillPath +case wxGraphicsContext_FillPath: { // wxGraphicsContext::FillPath int fillStyle=wxODDEVEN_RULE; wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; wxGraphicsPath *path = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; fillStyle = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->FillPath(*path,fillStyle); - break; + break; } -case wxGraphicsContext_StrokePath: { // wxGraphicsContext::StrokePath +case wxGraphicsContext_StrokePath: { // wxGraphicsContext::StrokePath wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; wxGraphicsPath *path = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->StrokePath(*path); - break; + break; } -case wxGraphicsContext_GetNativeContext: { // wxGraphicsContext::GetNativeContext +case wxGraphicsContext_GetNativeContext: { // wxGraphicsContext::GetNativeContext wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->GetNativeContext(); - break; + break; } -case wxGraphicsContext_GetPartialTextExtents: { // wxGraphicsContext::GetPartialTextExtents +case wxGraphicsContext_GetPartialTextExtents: { // wxGraphicsContext::GetPartialTextExtents wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); @@ -6379,9 +6379,9 @@ case wxGraphicsContext_GetPartialTextExtents: { // wxGraphicsContext::GetPartial for(int i=0; i < *widthsLen; i++) { widths.Add(*(int *) bp); bp += 4;} if(!This) throw wxe_badarg(0); This->GetPartialTextExtents(text,widths); - break; + break; } -case wxGraphicsContext_GetTextExtent: { // wxGraphicsContext::GetTextExtent +case wxGraphicsContext_GetTextExtent: { // wxGraphicsContext::GetTextExtent wxDouble width; wxDouble height; wxDouble descent; @@ -6397,77 +6397,77 @@ case wxGraphicsContext_GetTextExtent: { // wxGraphicsContext::GetTextExtent rt.addFloat(descent); rt.addFloat(externalLeading); rt.addTupleCount(4); - break; + break; } -case wxGraphicsContext_Rotate: { // wxGraphicsContext::Rotate +case wxGraphicsContext_Rotate: { // wxGraphicsContext::Rotate wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * angle = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->Rotate((wxDouble) *angle); - break; + break; } -case wxGraphicsContext_Scale: { // wxGraphicsContext::Scale +case wxGraphicsContext_Scale: { // wxGraphicsContext::Scale wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * xScale = (wxDouble *) bp; bp += 8; wxDouble * yScale = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->Scale((wxDouble) *xScale,(wxDouble) *yScale); - break; + break; } -case wxGraphicsContext_Translate: { // wxGraphicsContext::Translate +case wxGraphicsContext_Translate: { // wxGraphicsContext::Translate wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * dx = (wxDouble *) bp; bp += 8; wxDouble * dy = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->Translate((wxDouble) *dx,(wxDouble) *dy); - break; + break; } -case wxGraphicsContext_GetTransform: { // wxGraphicsContext::GetTransform +case wxGraphicsContext_GetTransform: { // wxGraphicsContext::GetTransform wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGraphicsMatrix * Result = new wxGraphicsMatrix(This->GetTransform()); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxGraphicsMatrix"); - break; + break; } -case wxGraphicsContext_SetTransform: { // wxGraphicsContext::SetTransform +case wxGraphicsContext_SetTransform: { // wxGraphicsContext::SetTransform wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; wxGraphicsMatrix *matrix = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetTransform(*matrix); - break; + break; } -case wxGraphicsContext_ConcatTransform: { // wxGraphicsContext::ConcatTransform +case wxGraphicsContext_ConcatTransform: { // wxGraphicsContext::ConcatTransform wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; wxGraphicsMatrix *matrix = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ConcatTransform(*matrix); - break; + break; } -case wxGraphicsContext_SetBrush_1_1: { // wxGraphicsContext::SetBrush +case wxGraphicsContext_SetBrush_1_1: { // wxGraphicsContext::SetBrush wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; wxGraphicsBrush * brush = (wxGraphicsBrush *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetBrush(*brush); - break; + break; } -case wxGraphicsContext_SetBrush_1_0: { // wxGraphicsContext::SetBrush +case wxGraphicsContext_SetBrush_1_0: { // wxGraphicsContext::SetBrush wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; wxBrush *brush = (wxBrush *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetBrush(*brush); - break; + break; } -case wxGraphicsContext_SetFont_1: { // wxGraphicsContext::SetFont +case wxGraphicsContext_SetFont_1: { // wxGraphicsContext::SetFont wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; wxGraphicsFont *font = (wxGraphicsFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetFont(*font); - break; + break; } -case wxGraphicsContext_SetFont_2: { // wxGraphicsContext::SetFont +case wxGraphicsContext_SetFont_2: { // wxGraphicsContext::SetFont wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4; int * colourR = (int *) bp; bp += 4; @@ -6477,23 +6477,23 @@ case wxGraphicsContext_SetFont_2: { // wxGraphicsContext::SetFont wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA); if(!This) throw wxe_badarg(0); This->SetFont(*font,colour); - break; + break; } -case wxGraphicsContext_SetPen_1_0: { // wxGraphicsContext::SetPen +case wxGraphicsContext_SetPen_1_0: { // wxGraphicsContext::SetPen wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; wxGraphicsPen *pen = (wxGraphicsPen *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetPen(*pen); - break; + break; } -case wxGraphicsContext_SetPen_1_1: { // wxGraphicsContext::SetPen +case wxGraphicsContext_SetPen_1_1: { // wxGraphicsContext::SetPen wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; wxPen * pen = (wxPen *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetPen(*pen); - break; + break; } -case wxGraphicsContext_StrokeLine: { // wxGraphicsContext::StrokeLine +case wxGraphicsContext_StrokeLine: { // wxGraphicsContext::StrokeLine wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * x1 = (wxDouble *) bp; bp += 8; @@ -6502,9 +6502,9 @@ case wxGraphicsContext_StrokeLine: { // wxGraphicsContext::StrokeLine wxDouble * y2 = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->StrokeLine((wxDouble) *x1,(wxDouble) *y1,(wxDouble) *x2,(wxDouble) *y2); - break; + break; } -case wxGraphicsContext_StrokeLines_2: { // wxGraphicsContext::StrokeLines +case wxGraphicsContext_StrokeLines_2: { // wxGraphicsContext::StrokeLines wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; wxDouble * pointsX = (wxDouble *) bp; bp += 8; @@ -6512,9 +6512,9 @@ case wxGraphicsContext_StrokeLines_2: { // wxGraphicsContext::StrokeLines wxPoint2DDouble points = wxPoint2DDouble(*pointsX,*pointsY); if(!This) throw wxe_badarg(0); This->StrokeLines((size_t) *n,&points); - break; + break; } -case wxGraphicsContext_StrokeLines_3: { // wxGraphicsContext::StrokeLines +case wxGraphicsContext_StrokeLines_3: { // wxGraphicsContext::StrokeLines wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; wxDouble * beginPointsX = (wxDouble *) bp; bp += 8; @@ -6525,18 +6525,18 @@ case wxGraphicsContext_StrokeLines_3: { // wxGraphicsContext::StrokeLines wxPoint2DDouble endPoints = wxPoint2DDouble(*endPointsX,*endPointsY); if(!This) throw wxe_badarg(0); This->StrokeLines((size_t) *n,&beginPoints,&endPoints); - break; + break; } #endif // wxUSE_GRAPHICS_CONTEXT #if wxUSE_GRAPHICS_CONTEXT -case wxGraphicsMatrix_Concat: { // wxGraphicsMatrix::Concat +case wxGraphicsMatrix_Concat: { // wxGraphicsMatrix::Concat wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4; wxGraphicsMatrix *t = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Concat(t); - break; + break; } -case wxGraphicsMatrix_Get: { // wxGraphicsMatrix::Get +case wxGraphicsMatrix_Get: { // wxGraphicsMatrix::Get wxDouble a; wxDouble b; wxDouble c; @@ -6553,62 +6553,62 @@ case wxGraphicsMatrix_Get: { // wxGraphicsMatrix::Get rt.addFloat(tx); rt.addFloat(ty); rt.addTupleCount(6); - break; + break; } -case wxGraphicsMatrix_GetNativeMatrix: { // wxGraphicsMatrix::GetNativeMatrix +case wxGraphicsMatrix_GetNativeMatrix: { // wxGraphicsMatrix::GetNativeMatrix wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->GetNativeMatrix(); - break; + break; } -case wxGraphicsMatrix_Invert: { // wxGraphicsMatrix::Invert +case wxGraphicsMatrix_Invert: { // wxGraphicsMatrix::Invert wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Invert(); - break; + break; } -case wxGraphicsMatrix_IsEqual: { // wxGraphicsMatrix::IsEqual +case wxGraphicsMatrix_IsEqual: { // wxGraphicsMatrix::IsEqual wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4; wxGraphicsMatrix *t = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsEqual(t); rt.addBool(Result); - break; + break; } -case wxGraphicsMatrix_IsIdentity: { // wxGraphicsMatrix::IsIdentity +case wxGraphicsMatrix_IsIdentity: { // wxGraphicsMatrix::IsIdentity wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsIdentity(); rt.addBool(Result); - break; + break; } -case wxGraphicsMatrix_Rotate: { // wxGraphicsMatrix::Rotate +case wxGraphicsMatrix_Rotate: { // wxGraphicsMatrix::Rotate wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * angle = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->Rotate((wxDouble) *angle); - break; + break; } -case wxGraphicsMatrix_Scale: { // wxGraphicsMatrix::Scale +case wxGraphicsMatrix_Scale: { // wxGraphicsMatrix::Scale wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * xScale = (wxDouble *) bp; bp += 8; wxDouble * yScale = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->Scale((wxDouble) *xScale,(wxDouble) *yScale); - break; + break; } -case wxGraphicsMatrix_Translate: { // wxGraphicsMatrix::Translate +case wxGraphicsMatrix_Translate: { // wxGraphicsMatrix::Translate wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * dx = (wxDouble *) bp; bp += 8; wxDouble * dy = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->Translate((wxDouble) *dx,(wxDouble) *dy); - break; + break; } -case wxGraphicsMatrix_Set: { // wxGraphicsMatrix::Set +case wxGraphicsMatrix_Set: { // wxGraphicsMatrix::Set wxDouble a=1.0; wxDouble b=0.0; wxDouble c=0.0; @@ -6617,7 +6617,7 @@ case wxGraphicsMatrix_Set: { // wxGraphicsMatrix::Set wxDouble ty=0.0; wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; bp += 4; /* Align */ a = * (wxDouble *) bp; bp += 8; @@ -6642,12 +6642,12 @@ case wxGraphicsMatrix_Set: { // wxGraphicsMatrix::Set bp += 4; /* Align */ ty = * (wxDouble *) bp; bp += 8; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Set(a,b,c,d,tx,ty); - break; + break; } -case wxGraphicsMatrix_TransformPoint: { // wxGraphicsMatrix::TransformPoint +case wxGraphicsMatrix_TransformPoint: { // wxGraphicsMatrix::TransformPoint wxDouble x; wxDouble y; wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4; @@ -6656,9 +6656,9 @@ case wxGraphicsMatrix_TransformPoint: { // wxGraphicsMatrix::TransformPoint rt.addFloat(x); rt.addFloat(y); rt.addTupleCount(2); - break; + break; } -case wxGraphicsMatrix_TransformDistance: { // wxGraphicsMatrix::TransformDistance +case wxGraphicsMatrix_TransformDistance: { // wxGraphicsMatrix::TransformDistance wxDouble dx; wxDouble dy; wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4; @@ -6667,20 +6667,20 @@ case wxGraphicsMatrix_TransformDistance: { // wxGraphicsMatrix::TransformDistanc rt.addFloat(dx); rt.addFloat(dy); rt.addTupleCount(2); - break; + break; } #endif // wxUSE_GRAPHICS_CONTEXT #if wxUSE_GRAPHICS_CONTEXT -case wxGraphicsPath_MoveToPoint_2: { // wxGraphicsPath::MoveToPoint +case wxGraphicsPath_MoveToPoint_2: { // wxGraphicsPath::MoveToPoint wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * x = (wxDouble *) bp; bp += 8; wxDouble * y = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->MoveToPoint((wxDouble) *x,(wxDouble) *y); - break; + break; } -case wxGraphicsPath_MoveToPoint_1: { // wxGraphicsPath::MoveToPoint +case wxGraphicsPath_MoveToPoint_1: { // wxGraphicsPath::MoveToPoint wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * pX = (wxDouble *) bp; bp += 8; @@ -6688,9 +6688,9 @@ case wxGraphicsPath_MoveToPoint_1: { // wxGraphicsPath::MoveToPoint wxPoint2DDouble p = wxPoint2DDouble(*pX,*pY); if(!This) throw wxe_badarg(0); This->MoveToPoint(p); - break; + break; } -case wxGraphicsPath_AddArc_6: { // wxGraphicsPath::AddArc +case wxGraphicsPath_AddArc_6: { // wxGraphicsPath::AddArc wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * x = (wxDouble *) bp; bp += 8; @@ -6701,9 +6701,9 @@ case wxGraphicsPath_AddArc_6: { // wxGraphicsPath::AddArc bool * clockwise = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->AddArc((wxDouble) *x,(wxDouble) *y,(wxDouble) *r,(wxDouble) *startAngle,(wxDouble) *endAngle,(bool) *clockwise); - break; + break; } -case wxGraphicsPath_AddArc_5: { // wxGraphicsPath::AddArc +case wxGraphicsPath_AddArc_5: { // wxGraphicsPath::AddArc wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * cX = (wxDouble *) bp; bp += 8; @@ -6715,9 +6715,9 @@ case wxGraphicsPath_AddArc_5: { // wxGraphicsPath::AddArc bool * clockwise = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->AddArc(c,(wxDouble) *r,(wxDouble) *startAngle,(wxDouble) *endAngle,(bool) *clockwise); - break; + break; } -case wxGraphicsPath_AddArcToPoint: { // wxGraphicsPath::AddArcToPoint +case wxGraphicsPath_AddArcToPoint: { // wxGraphicsPath::AddArcToPoint wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * x1 = (wxDouble *) bp; bp += 8; @@ -6727,9 +6727,9 @@ case wxGraphicsPath_AddArcToPoint: { // wxGraphicsPath::AddArcToPoint wxDouble * r = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->AddArcToPoint((wxDouble) *x1,(wxDouble) *y1,(wxDouble) *x2,(wxDouble) *y2,(wxDouble) *r); - break; + break; } -case wxGraphicsPath_AddCircle: { // wxGraphicsPath::AddCircle +case wxGraphicsPath_AddCircle: { // wxGraphicsPath::AddCircle wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * x = (wxDouble *) bp; bp += 8; @@ -6737,9 +6737,9 @@ case wxGraphicsPath_AddCircle: { // wxGraphicsPath::AddCircle wxDouble * r = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->AddCircle((wxDouble) *x,(wxDouble) *y,(wxDouble) *r); - break; + break; } -case wxGraphicsPath_AddCurveToPoint_6: { // wxGraphicsPath::AddCurveToPoint +case wxGraphicsPath_AddCurveToPoint_6: { // wxGraphicsPath::AddCurveToPoint wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * cx1 = (wxDouble *) bp; bp += 8; @@ -6750,9 +6750,9 @@ case wxGraphicsPath_AddCurveToPoint_6: { // wxGraphicsPath::AddCurveToPoint wxDouble * y = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->AddCurveToPoint((wxDouble) *cx1,(wxDouble) *cy1,(wxDouble) *cx2,(wxDouble) *cy2,(wxDouble) *x,(wxDouble) *y); - break; + break; } -case wxGraphicsPath_AddCurveToPoint_3: { // wxGraphicsPath::AddCurveToPoint +case wxGraphicsPath_AddCurveToPoint_3: { // wxGraphicsPath::AddCurveToPoint wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * c1X = (wxDouble *) bp; bp += 8; @@ -6766,9 +6766,9 @@ case wxGraphicsPath_AddCurveToPoint_3: { // wxGraphicsPath::AddCurveToPoint wxPoint2DDouble e = wxPoint2DDouble(*eX,*eY); if(!This) throw wxe_badarg(0); This->AddCurveToPoint(c1,c2,e); - break; + break; } -case wxGraphicsPath_AddEllipse: { // wxGraphicsPath::AddEllipse +case wxGraphicsPath_AddEllipse: { // wxGraphicsPath::AddEllipse wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * x = (wxDouble *) bp; bp += 8; @@ -6777,18 +6777,18 @@ case wxGraphicsPath_AddEllipse: { // wxGraphicsPath::AddEllipse wxDouble * h = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->AddEllipse((wxDouble) *x,(wxDouble) *y,(wxDouble) *w,(wxDouble) *h); - break; + break; } -case wxGraphicsPath_AddLineToPoint_2: { // wxGraphicsPath::AddLineToPoint +case wxGraphicsPath_AddLineToPoint_2: { // wxGraphicsPath::AddLineToPoint wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * x = (wxDouble *) bp; bp += 8; wxDouble * y = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->AddLineToPoint((wxDouble) *x,(wxDouble) *y); - break; + break; } -case wxGraphicsPath_AddLineToPoint_1: { // wxGraphicsPath::AddLineToPoint +case wxGraphicsPath_AddLineToPoint_1: { // wxGraphicsPath::AddLineToPoint wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * pX = (wxDouble *) bp; bp += 8; @@ -6796,16 +6796,16 @@ case wxGraphicsPath_AddLineToPoint_1: { // wxGraphicsPath::AddLineToPoint wxPoint2DDouble p = wxPoint2DDouble(*pX,*pY); if(!This) throw wxe_badarg(0); This->AddLineToPoint(p); - break; + break; } -case wxGraphicsPath_AddPath: { // wxGraphicsPath::AddPath +case wxGraphicsPath_AddPath: { // wxGraphicsPath::AddPath wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; wxGraphicsPath *path = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->AddPath(*path); - break; + break; } -case wxGraphicsPath_AddQuadCurveToPoint: { // wxGraphicsPath::AddQuadCurveToPoint +case wxGraphicsPath_AddQuadCurveToPoint: { // wxGraphicsPath::AddQuadCurveToPoint wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * cx = (wxDouble *) bp; bp += 8; @@ -6814,9 +6814,9 @@ case wxGraphicsPath_AddQuadCurveToPoint: { // wxGraphicsPath::AddQuadCurveToPoin wxDouble * y = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->AddQuadCurveToPoint((wxDouble) *cx,(wxDouble) *cy,(wxDouble) *x,(wxDouble) *y); - break; + break; } -case wxGraphicsPath_AddRectangle: { // wxGraphicsPath::AddRectangle +case wxGraphicsPath_AddRectangle: { // wxGraphicsPath::AddRectangle wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * x = (wxDouble *) bp; bp += 8; @@ -6825,9 +6825,9 @@ case wxGraphicsPath_AddRectangle: { // wxGraphicsPath::AddRectangle wxDouble * h = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->AddRectangle((wxDouble) *x,(wxDouble) *y,(wxDouble) *w,(wxDouble) *h); - break; + break; } -case wxGraphicsPath_AddRoundedRectangle: { // wxGraphicsPath::AddRoundedRectangle +case wxGraphicsPath_AddRoundedRectangle: { // wxGraphicsPath::AddRoundedRectangle wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * x = (wxDouble *) bp; bp += 8; @@ -6837,108 +6837,108 @@ case wxGraphicsPath_AddRoundedRectangle: { // wxGraphicsPath::AddRoundedRectangl wxDouble * radius = (wxDouble *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->AddRoundedRectangle((wxDouble) *x,(wxDouble) *y,(wxDouble) *w,(wxDouble) *h,(wxDouble) *radius); - break; + break; } -case wxGraphicsPath_CloseSubpath: { // wxGraphicsPath::CloseSubpath +case wxGraphicsPath_CloseSubpath: { // wxGraphicsPath::CloseSubpath wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->CloseSubpath(); - break; + break; } -case wxGraphicsPath_Contains_3: { // wxGraphicsPath::Contains +case wxGraphicsPath_Contains_3: { // wxGraphicsPath::Contains int fillStyle=wxODDEVEN_RULE; wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * x = (wxDouble *) bp; bp += 8; wxDouble * y = (wxDouble *) bp; bp += 8; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; fillStyle = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Contains((wxDouble) *x,(wxDouble) *y,fillStyle); rt.addBool(Result); - break; + break; } -case wxGraphicsPath_Contains_2: { // wxGraphicsPath::Contains +case wxGraphicsPath_Contains_2: { // wxGraphicsPath::Contains int fillStyle=wxODDEVEN_RULE; wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * cX = (wxDouble *) bp; bp += 8; wxDouble * cY = (wxDouble *) bp; bp += 8; wxPoint2DDouble c = wxPoint2DDouble(*cX,*cY); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; fillStyle = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Contains(c,fillStyle); rt.addBool(Result); - break; + break; } -case wxGraphicsPath_GetBox: { // wxGraphicsPath::GetBox +case wxGraphicsPath_GetBox: { // wxGraphicsPath::GetBox wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxRect2DDouble Result = This->GetBox(); rt.add(Result); - break; + break; } -case wxGraphicsPath_GetCurrentPoint: { // wxGraphicsPath::GetCurrentPoint +case wxGraphicsPath_GetCurrentPoint: { // wxGraphicsPath::GetCurrentPoint wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPoint2DDouble Result = This->GetCurrentPoint(); rt.add(Result); - break; + break; } -case wxGraphicsPath_Transform: { // wxGraphicsPath::Transform +case wxGraphicsPath_Transform: { // wxGraphicsPath::Transform wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4; wxGraphicsMatrix *matrix = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Transform(*matrix); - break; + break; } #endif // wxUSE_GRAPHICS_CONTEXT #if wxUSE_GRAPHICS_CONTEXT -case wxGraphicsRenderer_GetDefaultRenderer: { // wxGraphicsRenderer::GetDefaultRenderer +case wxGraphicsRenderer_GetDefaultRenderer: { // wxGraphicsRenderer::GetDefaultRenderer wxGraphicsRenderer * Result = (wxGraphicsRenderer*)wxGraphicsRenderer::GetDefaultRenderer(); rt.addRef(getRef((void *)Result,memenv), "wxGraphicsRenderer"); - break; + break; } -case wxGraphicsRenderer_CreateContext_1_1: { // wxGraphicsRenderer::CreateContext +case wxGraphicsRenderer_CreateContext_1_1: { // wxGraphicsRenderer::CreateContext wxGraphicsRenderer *This = (wxGraphicsRenderer *) getPtr(bp,memenv); bp += 4; wxWindowDC * dc = (wxWindowDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGraphicsContext * Result = (wxGraphicsContext*)This->CreateContext(*dc); rt.addRef(getRef((void *)Result,memenv), "wxGraphicsContext"); - break; + break; } -case wxGraphicsRenderer_CreateContext_1_0: { // wxGraphicsRenderer::CreateContext +case wxGraphicsRenderer_CreateContext_1_0: { // wxGraphicsRenderer::CreateContext wxGraphicsRenderer *This = (wxGraphicsRenderer *) getPtr(bp,memenv); bp += 4; wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGraphicsContext * Result = (wxGraphicsContext*)This->CreateContext(window); rt.addRef(getRef((void *)Result,memenv), "wxGraphicsContext"); - break; + break; } -case wxGraphicsRenderer_CreatePen: { // wxGraphicsRenderer::CreatePen +case wxGraphicsRenderer_CreatePen: { // wxGraphicsRenderer::CreatePen wxGraphicsRenderer *This = (wxGraphicsRenderer *) getPtr(bp,memenv); bp += 4; wxPen *pen = (wxPen *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGraphicsPen * Result = new wxGraphicsPen(This->CreatePen(*pen)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxGraphicsPen"); - break; + break; } -case wxGraphicsRenderer_CreateBrush: { // wxGraphicsRenderer::CreateBrush +case wxGraphicsRenderer_CreateBrush: { // wxGraphicsRenderer::CreateBrush wxGraphicsRenderer *This = (wxGraphicsRenderer *) getPtr(bp,memenv); bp += 4; wxBrush *brush = (wxBrush *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGraphicsBrush * Result = new wxGraphicsBrush(This->CreateBrush(*brush)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxGraphicsBrush"); - break; + break; } -case wxGraphicsRenderer_CreateLinearGradientBrush: { // wxGraphicsRenderer::CreateLinearGradientBrush +case wxGraphicsRenderer_CreateLinearGradientBrush: { // wxGraphicsRenderer::CreateLinearGradientBrush wxGraphicsRenderer *This = (wxGraphicsRenderer *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * x1 = (wxDouble *) bp; bp += 8; @@ -6958,9 +6958,9 @@ case wxGraphicsRenderer_CreateLinearGradientBrush: { // wxGraphicsRenderer::Crea if(!This) throw wxe_badarg(0); wxGraphicsBrush * Result = new wxGraphicsBrush(This->CreateLinearGradientBrush((wxDouble) *x1,(wxDouble) *y1,(wxDouble) *x2,(wxDouble) *y2,c1,c2)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxGraphicsBrush"); - break; + break; } -case wxGraphicsRenderer_CreateRadialGradientBrush: { // wxGraphicsRenderer::CreateRadialGradientBrush +case wxGraphicsRenderer_CreateRadialGradientBrush: { // wxGraphicsRenderer::CreateRadialGradientBrush wxGraphicsRenderer *This = (wxGraphicsRenderer *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxDouble * xo = (wxDouble *) bp; bp += 8; @@ -6981,13 +6981,13 @@ case wxGraphicsRenderer_CreateRadialGradientBrush: { // wxGraphicsRenderer::Crea if(!This) throw wxe_badarg(0); wxGraphicsBrush * Result = new wxGraphicsBrush(This->CreateRadialGradientBrush((wxDouble) *xo,(wxDouble) *yo,(wxDouble) *xc,(wxDouble) *yc,(wxDouble) *radius,oColor,cColor)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxGraphicsBrush"); - break; + break; } -case wxGraphicsRenderer_CreateFont: { // wxGraphicsRenderer::CreateFont +case wxGraphicsRenderer_CreateFont: { // wxGraphicsRenderer::CreateFont wxColour col= *wxBLACK; wxGraphicsRenderer *This = (wxGraphicsRenderer *) getPtr(bp,memenv); bp += 4; wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * colR = (int *) bp; bp += 4; int * colG = (int *) bp; bp += 4; @@ -6996,13 +6996,13 @@ case wxGraphicsRenderer_CreateFont: { // wxGraphicsRenderer::CreateFont col = wxColour(*colR,*colG,*colB,*colA); bp += 4; /* Align */ } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxGraphicsFont * Result = new wxGraphicsFont(This->CreateFont(*font,col)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxGraphicsFont"); - break; + break; } -case wxGraphicsRenderer_CreateMatrix: { // wxGraphicsRenderer::CreateMatrix +case wxGraphicsRenderer_CreateMatrix: { // wxGraphicsRenderer::CreateMatrix wxDouble a=1.0; wxDouble b=0.0; wxDouble c=0.0; @@ -7011,7 +7011,7 @@ case wxGraphicsRenderer_CreateMatrix: { // wxGraphicsRenderer::CreateMatrix wxDouble ty=0.0; wxGraphicsRenderer *This = (wxGraphicsRenderer *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; bp += 4; /* Align */ a = * (wxDouble *) bp; bp += 8; @@ -7036,18 +7036,18 @@ case wxGraphicsRenderer_CreateMatrix: { // wxGraphicsRenderer::CreateMatrix bp += 4; /* Align */ ty = * (wxDouble *) bp; bp += 8; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxGraphicsMatrix * Result = new wxGraphicsMatrix(This->CreateMatrix(a,b,c,d,tx,ty)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxGraphicsMatrix"); - break; + break; } -case wxGraphicsRenderer_CreatePath: { // wxGraphicsRenderer::CreatePath +case wxGraphicsRenderer_CreatePath: { // wxGraphicsRenderer::CreatePath wxGraphicsRenderer *This = (wxGraphicsRenderer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGraphicsPath * Result = new wxGraphicsPath(This->CreatePath()); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxGraphicsPath"); - break; + break; } #endif // wxUSE_GRAPHICS_CONTEXT #if wxUSE_GRAPHICS_CONTEXT @@ -7056,20 +7056,20 @@ case wxGraphicsRenderer_CreatePath: { // wxGraphicsRenderer::CreatePath #endif // wxUSE_GRAPHICS_CONTEXT #if wxUSE_GRAPHICS_CONTEXT #endif // wxUSE_GRAPHICS_CONTEXT -case wxMenuBar_new_1: { // wxMenuBar::wxMenuBar +case wxMenuBar_new_1: { // wxMenuBar::wxMenuBar int * style = (int *) bp; bp += 4; wxMenuBar * Result = new EwxMenuBar((long) *style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMenuBar"); - break; + break; } -case wxMenuBar_new_0: { // wxMenuBar::wxMenuBar +case wxMenuBar_new_0: { // wxMenuBar::wxMenuBar wxMenuBar * Result = new EwxMenuBar(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMenuBar"); - break; + break; } -case wxMenuBar_Append: { // wxMenuBar::Append +case wxMenuBar_Append: { // wxMenuBar::Append wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; wxMenu *menu = (wxMenu *) getPtr(bp,memenv); bp += 4; int * titleLen = (int *) bp; bp += 4; @@ -7078,47 +7078,47 @@ case wxMenuBar_Append: { // wxMenuBar::Append if(!This) throw wxe_badarg(0); bool Result = This->Append(menu,title); rt.addBool(Result); - break; + break; } -case wxMenuBar_Check: { // wxMenuBar::Check +case wxMenuBar_Check: { // wxMenuBar::Check wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; bool * check = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Check((int) *itemid,(bool) *check); - break; + break; } -case wxMenuBar_Enable_2: { // wxMenuBar::Enable +case wxMenuBar_Enable_2: { // wxMenuBar::Enable wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; bool * enable = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Enable((int) *itemid,(bool) *enable); - break; + break; } -case wxMenuBar_Enable_1: { // wxMenuBar::Enable +case wxMenuBar_Enable_1: { // wxMenuBar::Enable bool enable=true; wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; enable = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Enable(enable); rt.addBool(Result); - break; + break; } -case wxMenuBar_EnableTop: { // wxMenuBar::EnableTop +case wxMenuBar_EnableTop: { // wxMenuBar::EnableTop wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; bool * flag = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->EnableTop((size_t) *pos,(bool) *flag); - break; + break; } -case wxMenuBar_FindMenu: { // wxMenuBar::FindMenu +case wxMenuBar_FindMenu: { // wxMenuBar::FindMenu wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; int * titleLen = (int *) bp; bp += 4; wxString title = wxString(bp, wxConvUTF8); @@ -7126,9 +7126,9 @@ case wxMenuBar_FindMenu: { // wxMenuBar::FindMenu if(!This) throw wxe_badarg(0); int Result = This->FindMenu(title); rt.addInt(Result); - break; + break; } -case wxMenuBar_FindMenuItem: { // wxMenuBar::FindMenuItem +case wxMenuBar_FindMenuItem: { // wxMenuBar::FindMenuItem wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; int * menuStringLen = (int *) bp; bp += 4; wxString menuString = wxString(bp, wxConvUTF8); @@ -7139,64 +7139,64 @@ case wxMenuBar_FindMenuItem: { // wxMenuBar::FindMenuItem if(!This) throw wxe_badarg(0); int Result = This->FindMenuItem(menuString,itemString); rt.addInt(Result); - break; + break; } -case wxMenuBar_FindItem: { // wxMenuBar::FindItem +case wxMenuBar_FindItem: { // wxMenuBar::FindItem wxMenu ** menu = NULL; wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->FindItem((int) *id,menu); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenuBar_GetHelpString: { // wxMenuBar::GetHelpString +case wxMenuBar_GetHelpString: { // wxMenuBar::GetHelpString wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetHelpString((int) *itemid); rt.add(Result); - break; + break; } -case wxMenuBar_GetLabel_1: { // wxMenuBar::GetLabel +case wxMenuBar_GetLabel_1: { // wxMenuBar::GetLabel wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetLabel((int) *itemid); rt.add(Result); - break; + break; } -case wxMenuBar_GetLabel_0: { // wxMenuBar::GetLabel +case wxMenuBar_GetLabel_0: { // wxMenuBar::GetLabel wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetLabel(); rt.add(Result); - break; + break; } -case wxMenuBar_GetLabelTop: { // wxMenuBar::GetLabelTop +case wxMenuBar_GetLabelTop: { // wxMenuBar::GetLabelTop wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetLabelTop((size_t) *pos); rt.add(Result); - break; + break; } -case wxMenuBar_GetMenu: { // wxMenuBar::GetMenu +case wxMenuBar_GetMenu: { // wxMenuBar::GetMenu wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxMenu * Result = (wxMenu*)This->GetMenu((size_t) *pos); rt.addRef(getRef((void *)Result,memenv), "wxMenu"); - break; + break; } -case wxMenuBar_GetMenuCount: { // wxMenuBar::GetMenuCount +case wxMenuBar_GetMenuCount: { // wxMenuBar::GetMenuCount wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); size_t Result = This->GetMenuCount(); rt.addInt(Result); - break; + break; } -case wxMenuBar_Insert: { // wxMenuBar::Insert +case wxMenuBar_Insert: { // wxMenuBar::Insert wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; wxMenu *menu = (wxMenu *) getPtr(bp,memenv); bp += 4; @@ -7206,40 +7206,40 @@ case wxMenuBar_Insert: { // wxMenuBar::Insert if(!This) throw wxe_badarg(0); bool Result = This->Insert((size_t) *pos,menu,title); rt.addBool(Result); - break; + break; } -case wxMenuBar_IsChecked: { // wxMenuBar::IsChecked +case wxMenuBar_IsChecked: { // wxMenuBar::IsChecked wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsChecked((int) *itemid); rt.addBool(Result); - break; + break; } -case wxMenuBar_IsEnabled_1: { // wxMenuBar::IsEnabled +case wxMenuBar_IsEnabled_1: { // wxMenuBar::IsEnabled wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsEnabled((int) *itemid); rt.addBool(Result); - break; + break; } -case wxMenuBar_IsEnabled_0: { // wxMenuBar::IsEnabled +case wxMenuBar_IsEnabled_0: { // wxMenuBar::IsEnabled wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsEnabled(); rt.addBool(Result); - break; + break; } -case wxMenuBar_Remove: { // wxMenuBar::Remove +case wxMenuBar_Remove: { // wxMenuBar::Remove wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxMenu * Result = (wxMenu*)This->Remove((size_t) *pos); rt.addRef(getRef((void *)Result,memenv), "wxMenu"); - break; + break; } -case wxMenuBar_Replace: { // wxMenuBar::Replace +case wxMenuBar_Replace: { // wxMenuBar::Replace wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; wxMenu *menu = (wxMenu *) getPtr(bp,memenv); bp += 4; @@ -7249,9 +7249,9 @@ case wxMenuBar_Replace: { // wxMenuBar::Replace if(!This) throw wxe_badarg(0); wxMenu * Result = (wxMenu*)This->Replace((size_t) *pos,menu,title); rt.addRef(getRef((void *)Result,memenv), "wxMenu"); - break; + break; } -case wxMenuBar_SetHelpString: { // wxMenuBar::SetHelpString +case wxMenuBar_SetHelpString: { // wxMenuBar::SetHelpString wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; int * helpStringLen = (int *) bp; bp += 4; @@ -7259,9 +7259,9 @@ case wxMenuBar_SetHelpString: { // wxMenuBar::SetHelpString bp += *helpStringLen+((8-((4+ *helpStringLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetHelpString((int) *itemid,helpString); - break; + break; } -case wxMenuBar_SetLabel_2: { // wxMenuBar::SetLabel +case wxMenuBar_SetLabel_2: { // wxMenuBar::SetLabel wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; int * labelLen = (int *) bp; bp += 4; @@ -7269,18 +7269,18 @@ case wxMenuBar_SetLabel_2: { // wxMenuBar::SetLabel bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetLabel((int) *itemid,label); - break; + break; } -case wxMenuBar_SetLabel_1: { // wxMenuBar::SetLabel +case wxMenuBar_SetLabel_1: { // wxMenuBar::SetLabel wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; int * sLen = (int *) bp; bp += 4; wxString s = wxString(bp, wxConvUTF8); bp += *sLen+((8-((0+ *sLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetLabel(s); - break; + break; } -case wxMenuBar_SetLabelTop: { // wxMenuBar::SetLabelTop +case wxMenuBar_SetLabelTop: { // wxMenuBar::SetLabelTop wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; int * labelLen = (int *) bp; bp += 4; @@ -7288,25 +7288,25 @@ case wxMenuBar_SetLabelTop: { // wxMenuBar::SetLabelTop bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetLabelTop((size_t) *pos,label); - break; + break; } -case wxControl_GetLabel: { // wxControl::GetLabel +case wxControl_GetLabel: { // wxControl::GetLabel wxControl *This = (wxControl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetLabel(); rt.add(Result); - break; + break; } -case wxControl_SetLabel: { // wxControl::SetLabel +case wxControl_SetLabel: { // wxControl::SetLabel wxControl *This = (wxControl *) getPtr(bp,memenv); bp += 4; int * labelLen = (int *) bp; bp += 4; wxString label = wxString(bp, wxConvUTF8); bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetLabel(label); - break; + break; } -case wxControlWithItems_Append_1: { // wxControlWithItems::Append +case wxControlWithItems_Append_1: { // wxControlWithItems::Append wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4; int * itemLen = (int *) bp; bp += 4; wxString item = wxString(bp, wxConvUTF8); @@ -7314,20 +7314,20 @@ case wxControlWithItems_Append_1: { // wxControlWithItems::Append if(!This) throw wxe_badarg(0); int Result = This->Append(item); rt.addInt(Result); - break; + break; } -case wxControlWithItems_Append_2: { // wxControlWithItems::Append +case wxControlWithItems_Append_2: { // wxControlWithItems::Append wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4; int * itemLen = (int *) bp; bp += 4; wxString item = wxString(bp, wxConvUTF8); bp += *itemLen+((8-((0+ *itemLen) & 7)) & 7); - wxeErlTerm * clientData = new wxeErlTerm(Ecmd.bin[0]); + wxeErlTerm * clientData = new wxeErlTerm(Ecmd.bin[0]); if(!This) throw wxe_badarg(0); int Result = This->Append(item,clientData); rt.addInt(Result); - break; + break; } -case wxControlWithItems_appendStrings_1: { // wxControlWithItems::Append +case wxControlWithItems_appendStrings_1: { // wxControlWithItems::Append wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4; int * stringsLen = (int *) bp; bp += 4; wxArrayString strings; @@ -7341,83 +7341,83 @@ case wxControlWithItems_appendStrings_1: { // wxControlWithItems::Append bp += (8-((0+ stringsASz) & 7 )) & 7; if(!This) throw wxe_badarg(0); This->Append(strings); - break; + break; } -case wxControlWithItems_Clear: { // wxControlWithItems::Clear +case wxControlWithItems_Clear: { // wxControlWithItems::Clear wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Clear(); - break; + break; } -case wxControlWithItems_Delete: { // wxControlWithItems::Delete +case wxControlWithItems_Delete: { // wxControlWithItems::Delete wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4; unsigned int * n = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Delete((int) *n); - break; + break; } -case wxControlWithItems_FindString: { // wxControlWithItems::FindString +case wxControlWithItems_FindString: { // wxControlWithItems::FindString bool bCase=false; wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4; int * sLen = (int *) bp; bp += 4; wxString s = wxString(bp, wxConvUTF8); bp += *sLen+((8-((0+ *sLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; bCase = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); int Result = This->FindString(s,bCase); rt.addInt(Result); - break; + break; } -case wxControlWithItems_getClientData: { // wxControlWithItems::GetClientObject +case wxControlWithItems_getClientData: { // wxControlWithItems::GetClientObject wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4; unsigned int * n = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxeErlTerm * Result = (wxeErlTerm*)This->GetClientObject((int) *n); rt.addExt2Term(Result); - break; + break; } -case wxControlWithItems_setClientData: { // wxControlWithItems::SetClientObject +case wxControlWithItems_setClientData: { // wxControlWithItems::SetClientObject wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4; unsigned int * n = (unsigned int *) bp; bp += 4; - wxeErlTerm * clientData = new wxeErlTerm(Ecmd.bin[0]); + wxeErlTerm * clientData = new wxeErlTerm(Ecmd.bin[0]); if(!This) throw wxe_badarg(0); This->SetClientObject((int) *n,clientData); - break; + break; } -case wxControlWithItems_GetCount: { // wxControlWithItems::GetCount +case wxControlWithItems_GetCount: { // wxControlWithItems::GetCount wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetCount(); rt.addUint(Result); - break; + break; } -case wxControlWithItems_GetSelection: { // wxControlWithItems::GetSelection +case wxControlWithItems_GetSelection: { // wxControlWithItems::GetSelection wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetSelection(); rt.addInt(Result); - break; + break; } -case wxControlWithItems_GetString: { // wxControlWithItems::GetString +case wxControlWithItems_GetString: { // wxControlWithItems::GetString wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4; unsigned int * n = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetString((int) *n); rt.add(Result); - break; + break; } -case wxControlWithItems_GetStringSelection: { // wxControlWithItems::GetStringSelection +case wxControlWithItems_GetStringSelection: { // wxControlWithItems::GetStringSelection wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetStringSelection(); rt.add(Result); - break; + break; } -case wxControlWithItems_Insert_2: { // wxControlWithItems::Insert +case wxControlWithItems_Insert_2: { // wxControlWithItems::Insert wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4; int * itemLen = (int *) bp; bp += 4; wxString item = wxString(bp, wxConvUTF8); @@ -7426,42 +7426,42 @@ case wxControlWithItems_Insert_2: { // wxControlWithItems::Insert if(!This) throw wxe_badarg(0); int Result = This->Insert(item,(int) *pos); rt.addInt(Result); - break; + break; } -case wxControlWithItems_Insert_3: { // wxControlWithItems::Insert +case wxControlWithItems_Insert_3: { // wxControlWithItems::Insert wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4; int * itemLen = (int *) bp; bp += 4; wxString item = wxString(bp, wxConvUTF8); bp += *itemLen+((8-((0+ *itemLen) & 7)) & 7); unsigned int * pos = (unsigned int *) bp; bp += 4; - wxeErlTerm * clientData = new wxeErlTerm(Ecmd.bin[0]); + wxeErlTerm * clientData = new wxeErlTerm(Ecmd.bin[0]); if(!This) throw wxe_badarg(0); int Result = This->Insert(item,(int) *pos,clientData); rt.addInt(Result); - break; + break; } -case wxControlWithItems_IsEmpty: { // wxControlWithItems::IsEmpty +case wxControlWithItems_IsEmpty: { // wxControlWithItems::IsEmpty wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsEmpty(); rt.addBool(Result); - break; + break; } -case wxControlWithItems_Select: { // wxControlWithItems::Select +case wxControlWithItems_Select: { // wxControlWithItems::Select wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Select((int) *n); - break; + break; } -case wxControlWithItems_SetSelection: { // wxControlWithItems::SetSelection +case wxControlWithItems_SetSelection: { // wxControlWithItems::SetSelection wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSelection((int) *n); - break; + break; } -case wxControlWithItems_SetString: { // wxControlWithItems::SetString +case wxControlWithItems_SetString: { // wxControlWithItems::SetString wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4; unsigned int * n = (unsigned int *) bp; bp += 4; int * sLen = (int *) bp; bp += 4; @@ -7469,9 +7469,9 @@ case wxControlWithItems_SetString: { // wxControlWithItems::SetString bp += *sLen+((8-((4+ *sLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetString((int) *n,s); - break; + break; } -case wxControlWithItems_SetStringSelection: { // wxControlWithItems::SetStringSelection +case wxControlWithItems_SetStringSelection: { // wxControlWithItems::SetStringSelection wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4; int * sLen = (int *) bp; bp += 4; wxString s = wxString(bp, wxConvUTF8); @@ -7479,36 +7479,36 @@ case wxControlWithItems_SetStringSelection: { // wxControlWithItems::SetStringSe if(!This) throw wxe_badarg(0); bool Result = This->SetStringSelection(s); rt.addBool(Result); - break; + break; } -case wxMenu_new_2: { // wxMenu::wxMenu +case wxMenu_new_2: { // wxMenu::wxMenu long style=0; int * titleLen = (int *) bp; bp += 4; wxString title = wxString(bp, wxConvUTF8); bp += *titleLen+((8-((4+ *titleLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxMenu * Result = new EwxMenu(title,style); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMenu"); - break; + break; } -case wxMenu_new_1: { // wxMenu::wxMenu +case wxMenu_new_1: { // wxMenu::wxMenu long style=0; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxMenu * Result = new EwxMenu(style); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMenu"); - break; + break; } -case wxMenu_Append_3: { // wxMenu::Append +case wxMenu_Append_3: { // wxMenu::Append wxString help= wxEmptyString; wxItemKind kind=wxITEM_NORMAL; wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; @@ -7516,7 +7516,7 @@ case wxMenu_Append_3: { // wxMenu::Append int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((4+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * helpLen = (int *) bp; bp += 4; help = wxString(bp, wxConvUTF8); @@ -7525,21 +7525,21 @@ case wxMenu_Append_3: { // wxMenu::Append case 2: {bp += 4; kind = *(wxItemKind *) bp; bp += 4;; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->Append((int) *itemid,text,help,(wxItemKind) kind); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenu_Append_1: { // wxMenu::Append +case wxMenu_Append_1: { // wxMenu::Append wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; wxMenuItem *item = (wxMenuItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->Append(item); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenu_Append_4_0: { // wxMenu::Append +case wxMenu_Append_4_0: { // wxMenu::Append wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; int * textLen = (int *) bp; bp += 4; @@ -7551,9 +7551,9 @@ case wxMenu_Append_4_0: { // wxMenu::Append bool * isCheckable = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Append((int) *itemid,text,help,(bool) *isCheckable); - break; + break; } -case wxMenu_Append_4_1: { // wxMenu::Append +case wxMenu_Append_4_1: { // wxMenu::Append wxString help= wxEmptyString; wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; @@ -7562,118 +7562,118 @@ case wxMenu_Append_4_1: { // wxMenu::Append bp += *textLen+((8-((4+ *textLen) & 7)) & 7); wxMenu *submenu = (wxMenu *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * helpLen = (int *) bp; bp += 4; help = wxString(bp, wxConvUTF8); bp += *helpLen+((8-((0+ *helpLen) & 7)) & 7); } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->Append((int) *itemid,text,submenu,help); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenu_AppendCheckItem: { // wxMenu::AppendCheckItem +case wxMenu_AppendCheckItem: { // wxMenu::AppendCheckItem wxString help= wxEmptyString; wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((4+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * helpLen = (int *) bp; bp += 4; help = wxString(bp, wxConvUTF8); bp += *helpLen+((8-((0+ *helpLen) & 7)) & 7); } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->AppendCheckItem((int) *itemid,text,help); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenu_AppendRadioItem: { // wxMenu::AppendRadioItem +case wxMenu_AppendRadioItem: { // wxMenu::AppendRadioItem wxString help= wxEmptyString; wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((4+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * helpLen = (int *) bp; bp += 4; help = wxString(bp, wxConvUTF8); bp += *helpLen+((8-((0+ *helpLen) & 7)) & 7); } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->AppendRadioItem((int) *itemid,text,help); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenu_AppendSeparator: { // wxMenu::AppendSeparator +case wxMenu_AppendSeparator: { // wxMenu::AppendSeparator wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->AppendSeparator(); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenu_Break: { // wxMenu::Break +case wxMenu_Break: { // wxMenu::Break wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Break(); - break; + break; } -case wxMenu_Check: { // wxMenu::Check +case wxMenu_Check: { // wxMenu::Check wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; bool * check = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Check((int) *itemid,(bool) *check); - break; + break; } -case wxMenu_Delete_1_0: { // wxMenu::Delete +case wxMenu_Delete_1_0: { // wxMenu::Delete wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Delete((int) *itemid); rt.addBool(Result); - break; + break; } -case wxMenu_Delete_1_1: { // wxMenu::Delete +case wxMenu_Delete_1_1: { // wxMenu::Delete wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; wxMenuItem *item = (wxMenuItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Delete(item); rt.addBool(Result); - break; + break; } -case wxMenu_Destroy_1_0: { // wxMenu::Destroy +case wxMenu_Destroy_1_0: { // wxMenu::Destroy wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Destroy((int) *itemid); rt.addBool(Result); - break; + break; } -case wxMenu_Destroy_1_1: { // wxMenu::Destroy +case wxMenu_Destroy_1_1: { // wxMenu::Destroy wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; wxMenuItem *item = (wxMenuItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Destroy(item); rt.addBool(Result); - break; + break; } -case wxMenu_Enable: { // wxMenu::Enable +case wxMenu_Enable: { // wxMenu::Enable wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; bool * enable = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Enable((int) *itemid,(bool) *enable); - break; + break; } -case wxMenu_FindItem_1: { // wxMenu::FindItem +case wxMenu_FindItem_1: { // wxMenu::FindItem wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * itemLen = (int *) bp; bp += 4; wxString item = wxString(bp, wxConvUTF8); @@ -7681,49 +7681,49 @@ case wxMenu_FindItem_1: { // wxMenu::FindItem if(!This) throw wxe_badarg(0); int Result = This->FindItem(item); rt.addInt(Result); - break; + break; } -case wxMenu_FindItem_2: { // wxMenu::FindItem +case wxMenu_FindItem_2: { // wxMenu::FindItem wxMenu ** menu = NULL; wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->FindItem((int) *itemid,menu); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenu_FindItemByPosition: { // wxMenu::FindItemByPosition +case wxMenu_FindItemByPosition: { // wxMenu::FindItemByPosition wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * position = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->FindItemByPosition((size_t) *position); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenu_GetHelpString: { // wxMenu::GetHelpString +case wxMenu_GetHelpString: { // wxMenu::GetHelpString wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetHelpString((int) *itemid); rt.add(Result); - break; + break; } -case wxMenu_GetLabel: { // wxMenu::GetLabel +case wxMenu_GetLabel: { // wxMenu::GetLabel wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetLabel((int) *itemid); rt.add(Result); - break; + break; } -case wxMenu_GetMenuItemCount: { // wxMenu::GetMenuItemCount +case wxMenu_GetMenuItemCount: { // wxMenu::GetMenuItemCount wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); size_t Result = This->GetMenuItemCount(); rt.addInt(Result); - break; + break; } -case wxMenu_GetMenuItems: { // wxMenu::GetMenuItems +case wxMenu_GetMenuItems: { // wxMenu::GetMenuItems wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxMenuItemList Result = This->GetMenuItems(); @@ -7732,25 +7732,25 @@ case wxMenu_GetMenuItems: { // wxMenu::GetMenuItems wxMenuItem * ResultTmp = *it; rt.addRef(getRef((void *)ResultTmp,memenv), "wxMenuItem"); i++;} rt.endList(Result.GetCount()); - break; + break; } -case wxMenu_GetTitle: { // wxMenu::GetTitle +case wxMenu_GetTitle: { // wxMenu::GetTitle wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxString Result = This->GetTitle(); rt.add(Result); - break; + break; } -case wxMenu_Insert_2: { // wxMenu::Insert +case wxMenu_Insert_2: { // wxMenu::Insert wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; wxMenuItem *item = (wxMenuItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->Insert((size_t) *pos,item); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenu_Insert_3: { // wxMenu::Insert +case wxMenu_Insert_3: { // wxMenu::Insert wxString text= wxEmptyString; wxString help= wxEmptyString; wxItemKind kind=wxITEM_NORMAL; @@ -7758,7 +7758,7 @@ case wxMenu_Insert_3: { // wxMenu::Insert int * pos = (int *) bp; bp += 4; int * itemid = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * textLen = (int *) bp; bp += 4; text = wxString(bp, wxConvUTF8); @@ -7772,13 +7772,13 @@ case wxMenu_Insert_3: { // wxMenu::Insert case 3: {bp += 4; kind = *(wxItemKind *) bp; bp += 4;; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->Insert((size_t) *pos,(int) *itemid,text,help,(wxItemKind) kind); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenu_Insert_5_1: { // wxMenu::Insert +case wxMenu_Insert_5_1: { // wxMenu::Insert wxString help= wxEmptyString; wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; @@ -7788,19 +7788,19 @@ case wxMenu_Insert_5_1: { // wxMenu::Insert bp += *textLen+((8-((0+ *textLen) & 7)) & 7); wxMenu *submenu = (wxMenu *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * helpLen = (int *) bp; bp += 4; help = wxString(bp, wxConvUTF8); bp += *helpLen+((8-((0+ *helpLen) & 7)) & 7); } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->Insert((size_t) *pos,(int) *itemid,text,submenu,help); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenu_Insert_5_0: { // wxMenu::Insert +case wxMenu_Insert_5_0: { // wxMenu::Insert wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; int * itemid = (int *) bp; bp += 4; @@ -7813,9 +7813,9 @@ case wxMenu_Insert_5_0: { // wxMenu::Insert bool * isCheckable = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Insert((size_t) *pos,(int) *itemid,text,help,(bool) *isCheckable); - break; + break; } -case wxMenu_InsertCheckItem: { // wxMenu::InsertCheckItem +case wxMenu_InsertCheckItem: { // wxMenu::InsertCheckItem wxString help= wxEmptyString; wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; @@ -7823,19 +7823,19 @@ case wxMenu_InsertCheckItem: { // wxMenu::InsertCheckItem int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * helpLen = (int *) bp; bp += 4; help = wxString(bp, wxConvUTF8); bp += *helpLen+((8-((0+ *helpLen) & 7)) & 7); } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->InsertCheckItem((size_t) *pos,(int) *itemid,text,help); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenu_InsertRadioItem: { // wxMenu::InsertRadioItem +case wxMenu_InsertRadioItem: { // wxMenu::InsertRadioItem wxString help= wxEmptyString; wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; @@ -7843,57 +7843,57 @@ case wxMenu_InsertRadioItem: { // wxMenu::InsertRadioItem int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * helpLen = (int *) bp; bp += 4; help = wxString(bp, wxConvUTF8); bp += *helpLen+((8-((0+ *helpLen) & 7)) & 7); } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->InsertRadioItem((size_t) *pos,(int) *itemid,text,help); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenu_InsertSeparator: { // wxMenu::InsertSeparator +case wxMenu_InsertSeparator: { // wxMenu::InsertSeparator wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->InsertSeparator((size_t) *pos); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenu_IsChecked: { // wxMenu::IsChecked +case wxMenu_IsChecked: { // wxMenu::IsChecked wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsChecked((int) *itemid); rt.addBool(Result); - break; + break; } -case wxMenu_IsEnabled: { // wxMenu::IsEnabled +case wxMenu_IsEnabled: { // wxMenu::IsEnabled wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsEnabled((int) *itemid); rt.addBool(Result); - break; + break; } -case wxMenu_Prepend_1: { // wxMenu::Prepend +case wxMenu_Prepend_1: { // wxMenu::Prepend wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; wxMenuItem *item = (wxMenuItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->Prepend(item); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenu_Prepend_2: { // wxMenu::Prepend +case wxMenu_Prepend_2: { // wxMenu::Prepend wxString text= wxEmptyString; wxString help= wxEmptyString; wxItemKind kind=wxITEM_NORMAL; wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * textLen = (int *) bp; bp += 4; text = wxString(bp, wxConvUTF8); @@ -7907,13 +7907,13 @@ case wxMenu_Prepend_2: { // wxMenu::Prepend case 3: {bp += 4; kind = *(wxItemKind *) bp; bp += 4;; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->Prepend((int) *itemid,text,help,(wxItemKind) kind); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenu_Prepend_4_1: { // wxMenu::Prepend +case wxMenu_Prepend_4_1: { // wxMenu::Prepend wxString help= wxEmptyString; wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; @@ -7922,19 +7922,19 @@ case wxMenu_Prepend_4_1: { // wxMenu::Prepend bp += *textLen+((8-((4+ *textLen) & 7)) & 7); wxMenu *submenu = (wxMenu *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * helpLen = (int *) bp; bp += 4; help = wxString(bp, wxConvUTF8); bp += *helpLen+((8-((0+ *helpLen) & 7)) & 7); } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->Prepend((int) *itemid,text,submenu,help); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenu_Prepend_4_0: { // wxMenu::Prepend +case wxMenu_Prepend_4_0: { // wxMenu::Prepend wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; int * textLen = (int *) bp; bp += 4; @@ -7946,70 +7946,70 @@ case wxMenu_Prepend_4_0: { // wxMenu::Prepend bool * isCheckable = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Prepend((int) *itemid,text,help,(bool) *isCheckable); - break; + break; } -case wxMenu_PrependCheckItem: { // wxMenu::PrependCheckItem +case wxMenu_PrependCheckItem: { // wxMenu::PrependCheckItem wxString help= wxEmptyString; wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((4+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * helpLen = (int *) bp; bp += 4; help = wxString(bp, wxConvUTF8); bp += *helpLen+((8-((0+ *helpLen) & 7)) & 7); } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->PrependCheckItem((int) *itemid,text,help); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenu_PrependRadioItem: { // wxMenu::PrependRadioItem +case wxMenu_PrependRadioItem: { // wxMenu::PrependRadioItem wxString help= wxEmptyString; wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((4+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * helpLen = (int *) bp; bp += 4; help = wxString(bp, wxConvUTF8); bp += *helpLen+((8-((0+ *helpLen) & 7)) & 7); } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->PrependRadioItem((int) *itemid,text,help); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenu_PrependSeparator: { // wxMenu::PrependSeparator +case wxMenu_PrependSeparator: { // wxMenu::PrependSeparator wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->PrependSeparator(); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenu_Remove_1_0: { // wxMenu::Remove +case wxMenu_Remove_1_0: { // wxMenu::Remove wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->Remove((int) *itemid); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenu_Remove_1_1: { // wxMenu::Remove +case wxMenu_Remove_1_1: { // wxMenu::Remove wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; wxMenuItem *item = (wxMenuItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxMenuItem * Result = (wxMenuItem*)This->Remove(item); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenu_SetHelpString: { // wxMenu::SetHelpString +case wxMenu_SetHelpString: { // wxMenu::SetHelpString wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; int * helpStringLen = (int *) bp; bp += 4; @@ -8017,9 +8017,9 @@ case wxMenu_SetHelpString: { // wxMenu::SetHelpString bp += *helpStringLen+((8-((4+ *helpStringLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetHelpString((int) *itemid,helpString); - break; + break; } -case wxMenu_SetLabel: { // wxMenu::SetLabel +case wxMenu_SetLabel: { // wxMenu::SetLabel wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * itemid = (int *) bp; bp += 4; int * labelLen = (int *) bp; bp += 4; @@ -8027,25 +8027,25 @@ case wxMenu_SetLabel: { // wxMenu::SetLabel bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetLabel((int) *itemid,label); - break; + break; } -case wxMenu_SetTitle: { // wxMenu::SetTitle +case wxMenu_SetTitle: { // wxMenu::SetTitle wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4; int * titleLen = (int *) bp; bp += 4; wxString title = wxString(bp, wxConvUTF8); bp += *titleLen+((8-((0+ *titleLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetTitle(title); - break; + break; } -case wxMenuItem_new: { // wxMenuItem::wxMenuItem +case wxMenuItem_new: { // wxMenuItem::wxMenuItem wxMenu * parentMenu=(wxMenu *) NULL; int id=wxID_SEPARATOR; wxString text= wxEmptyString; wxString help= wxEmptyString; wxItemKind kind=wxITEM_NORMAL; wxMenu * subMenu=(wxMenu *) NULL; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; parentMenu = (wxMenu *) getPtr(bp,memenv); bp += 4; } break; @@ -8068,192 +8068,192 @@ kind = *(wxItemKind *) bp; bp += 4;; case 6: {bp += 4; subMenu = (wxMenu *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxMenuItem * Result = new EwxMenuItem(parentMenu,id,text,help,(wxItemKind) kind,subMenu); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMenuItem"); - break; + break; } -case wxMenuItem_Check: { // wxMenuItem::Check +case wxMenuItem_Check: { // wxMenuItem::Check bool check=TRUE; wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; check = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Check(check); - break; + break; } -case wxMenuItem_Enable: { // wxMenuItem::Enable +case wxMenuItem_Enable: { // wxMenuItem::Enable bool enable=TRUE; wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; enable = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Enable(enable); - break; + break; } -case wxMenuItem_GetBitmap: { // wxMenuItem::GetBitmap +case wxMenuItem_GetBitmap: { // wxMenuItem::GetBitmap wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxBitmap * Result = &This->GetBitmap(); rt.addRef(getRef((void *)Result,memenv), "wxBitmap"); - break; + break; } -case wxMenuItem_GetHelp: { // wxMenuItem::GetHelp +case wxMenuItem_GetHelp: { // wxMenuItem::GetHelp wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxString * Result = &This->GetHelp(); rt.add(Result); - break; + break; } -case wxMenuItem_GetId: { // wxMenuItem::GetId +case wxMenuItem_GetId: { // wxMenuItem::GetId wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetId(); rt.addInt(Result); - break; + break; } -case wxMenuItem_GetKind: { // wxMenuItem::GetKind +case wxMenuItem_GetKind: { // wxMenuItem::GetKind wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetKind(); rt.addInt(Result); - break; + break; } -case wxMenuItem_GetLabel: { // wxMenuItem::GetLabel +case wxMenuItem_GetLabel: { // wxMenuItem::GetLabel wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetLabel(); rt.add(Result); - break; + break; } -case wxMenuItem_GetLabelFromText: { // wxMenuItem::GetLabelFromText +case wxMenuItem_GetLabelFromText: { // wxMenuItem::GetLabelFromText int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((4+ *textLen) & 7)) & 7); wxString Result = wxMenuItem::GetLabelFromText(text); rt.add(Result); - break; + break; } -case wxMenuItem_GetMenu: { // wxMenuItem::GetMenu +case wxMenuItem_GetMenu: { // wxMenuItem::GetMenu wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxMenu * Result = (wxMenu*)This->GetMenu(); rt.addRef(getRef((void *)Result,memenv), "wxMenu"); - break; + break; } -case wxMenuItem_GetText: { // wxMenuItem::GetText +case wxMenuItem_GetText: { // wxMenuItem::GetText wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxString * Result = &This->GetText(); rt.add(Result); - break; + break; } -case wxMenuItem_GetSubMenu: { // wxMenuItem::GetSubMenu +case wxMenuItem_GetSubMenu: { // wxMenuItem::GetSubMenu wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxMenu * Result = (wxMenu*)This->GetSubMenu(); rt.addRef(getRef((void *)Result,memenv), "wxMenu"); - break; + break; } -case wxMenuItem_IsCheckable: { // wxMenuItem::IsCheckable +case wxMenuItem_IsCheckable: { // wxMenuItem::IsCheckable wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsCheckable(); rt.addBool(Result); - break; + break; } -case wxMenuItem_IsChecked: { // wxMenuItem::IsChecked +case wxMenuItem_IsChecked: { // wxMenuItem::IsChecked wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsChecked(); rt.addBool(Result); - break; + break; } -case wxMenuItem_IsEnabled: { // wxMenuItem::IsEnabled +case wxMenuItem_IsEnabled: { // wxMenuItem::IsEnabled wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsEnabled(); rt.addBool(Result); - break; + break; } -case wxMenuItem_IsSeparator: { // wxMenuItem::IsSeparator +case wxMenuItem_IsSeparator: { // wxMenuItem::IsSeparator wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsSeparator(); rt.addBool(Result); - break; + break; } -case wxMenuItem_IsSubMenu: { // wxMenuItem::IsSubMenu +case wxMenuItem_IsSubMenu: { // wxMenuItem::IsSubMenu wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsSubMenu(); rt.addBool(Result); - break; + break; } -case wxMenuItem_SetBitmap: { // wxMenuItem::SetBitmap +case wxMenuItem_SetBitmap: { // wxMenuItem::SetBitmap wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4; wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetBitmap(*bitmap); - break; + break; } -case wxMenuItem_SetHelp: { // wxMenuItem::SetHelp +case wxMenuItem_SetHelp: { // wxMenuItem::SetHelp wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4; int * strLen = (int *) bp; bp += 4; wxString str = wxString(bp, wxConvUTF8); bp += *strLen+((8-((0+ *strLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetHelp(str); - break; + break; } -case wxMenuItem_SetMenu: { // wxMenuItem::SetMenu +case wxMenuItem_SetMenu: { // wxMenuItem::SetMenu wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4; wxMenu *menu = (wxMenu *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetMenu(menu); - break; + break; } -case wxMenuItem_SetSubMenu: { // wxMenuItem::SetSubMenu +case wxMenuItem_SetSubMenu: { // wxMenuItem::SetSubMenu wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4; wxMenu *menu = (wxMenu *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetSubMenu(menu); - break; + break; } -case wxMenuItem_SetText: { // wxMenuItem::SetText +case wxMenuItem_SetText: { // wxMenuItem::SetText wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4; int * strLen = (int *) bp; bp += 4; wxString str = wxString(bp, wxConvUTF8); bp += *strLen+((8-((0+ *strLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetText(str); - break; + break; } -case wxToolBar_AddControl: { // wxToolBar::AddControl +case wxToolBar_AddControl: { // wxToolBar::AddControl wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; wxControl *control = (wxControl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddControl(control); rt.addRef(getRef((void *)Result,memenv), "wx"); - break; + break; } -case wxToolBar_AddSeparator: { // wxToolBar::AddSeparator +case wxToolBar_AddSeparator: { // wxToolBar::AddSeparator wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddSeparator(); rt.addRef(getRef((void *)Result,memenv), "wx"); - break; + break; } -case wxToolBar_AddTool_5: { // wxToolBar::AddTool +case wxToolBar_AddTool_5: { // wxToolBar::AddTool wxItemKind kind=wxITEM_NORMAL; wxString shortHelp= wxEmptyString; wxString longHelp= wxEmptyString; @@ -8265,7 +8265,7 @@ case wxToolBar_AddTool_5: { // wxToolBar::AddTool bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7); wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; wxBitmap *bmpDisabled = (wxBitmap *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; kind = *(wxItemKind *) bp; bp += 4;; } break; @@ -8282,13 +8282,13 @@ kind = *(wxItemKind *) bp; bp += 4;; case 4: {bp += 4; data = (wxObject *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddTool((int) *toolid,label,*bitmap,*bmpDisabled,(wxItemKind) kind,shortHelp,longHelp,data); rt.addRef(getRef((void *)Result,memenv), "wx"); - break; + break; } -case wxToolBar_AddTool_4_0: { // wxToolBar::AddTool +case wxToolBar_AddTool_4_0: { // wxToolBar::AddTool wxString shortHelp= wxEmptyString; wxItemKind kind=wxITEM_NORMAL; wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; @@ -8298,7 +8298,7 @@ case wxToolBar_AddTool_4_0: { // wxToolBar::AddTool bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7); wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * shortHelpLen = (int *) bp; bp += 4; shortHelp = wxString(bp, wxConvUTF8); @@ -8307,21 +8307,21 @@ case wxToolBar_AddTool_4_0: { // wxToolBar::AddTool case 2: {bp += 4; kind = *(wxItemKind *) bp; bp += 4;; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddTool((int) *toolid,label,*bitmap,shortHelp,(wxItemKind) kind); rt.addRef(getRef((void *)Result,memenv), "wx"); - break; + break; } -case wxToolBar_AddTool_1: { // wxToolBar::AddTool +case wxToolBar_AddTool_1: { // wxToolBar::AddTool wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; wxToolBarToolBase *tool = (wxToolBarToolBase *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddTool(tool); rt.addRef(getRef((void *)Result,memenv), "wx"); - break; + break; } -case wxToolBar_AddTool_4_1: { // wxToolBar::AddTool +case wxToolBar_AddTool_4_1: { // wxToolBar::AddTool bool toggle=false; wxObject * clientData=NULL; wxString shortHelpString= wxEmptyString; @@ -8330,7 +8330,7 @@ case wxToolBar_AddTool_4_1: { // wxToolBar::AddTool int * toolid = (int *) bp; bp += 4; wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; wxBitmap *bmpDisabled = (wxBitmap *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; toggle = *(bool *) bp; bp += 4; } break; @@ -8347,20 +8347,20 @@ clientData = (wxObject *) getPtr(bp,memenv); bp += 4; longHelpString = wxString(bp, wxConvUTF8); bp += *longHelpStringLen+((8-((0+ *longHelpStringLen) & 7)) & 7); } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddTool((int) *toolid,*bitmap,*bmpDisabled,toggle,clientData,shortHelpString,longHelpString); rt.addRef(getRef((void *)Result,memenv), "wx"); - break; + break; } -case wxToolBar_AddTool_3: { // wxToolBar::AddTool +case wxToolBar_AddTool_3: { // wxToolBar::AddTool wxString shortHelpString= wxEmptyString; wxString longHelpString= wxEmptyString; wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * toolid = (int *) bp; bp += 4; wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * shortHelpStringLen = (int *) bp; bp += 4; shortHelpString = wxString(bp, wxConvUTF8); @@ -8371,13 +8371,13 @@ case wxToolBar_AddTool_3: { // wxToolBar::AddTool longHelpString = wxString(bp, wxConvUTF8); bp += *longHelpStringLen+((8-((0+ *longHelpStringLen) & 7)) & 7); } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddTool((int) *toolid,*bitmap,shortHelpString,longHelpString); rt.addRef(getRef((void *)Result,memenv), "wx"); - break; + break; } -case wxToolBar_AddTool_6: { // wxToolBar::AddTool +case wxToolBar_AddTool_6: { // wxToolBar::AddTool wxCoord yPos=wxDefaultCoord; wxObject * clientData=NULL; wxString shortHelp= wxEmptyString; @@ -8388,7 +8388,7 @@ case wxToolBar_AddTool_6: { // wxToolBar::AddTool wxBitmap *bmpDisabled = (wxBitmap *) getPtr(bp,memenv); bp += 4; bool * toggle = (bool *) bp; bp += 4; int * xPos = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; yPos = (wxCoord)*(int *) bp; bp += 4; } break; @@ -8405,13 +8405,13 @@ clientData = (wxObject *) getPtr(bp,memenv); bp += 4; longHelp = wxString(bp, wxConvUTF8); bp += *longHelpLen+((8-((0+ *longHelpLen) & 7)) & 7); } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddTool((int) *toolid,*bitmap,*bmpDisabled,(bool) *toggle,(wxCoord) *xPos,yPos,clientData,shortHelp,longHelp); rt.addRef(getRef((void *)Result,memenv), "wx"); - break; + break; } -case wxToolBar_AddCheckTool: { // wxToolBar::AddCheckTool +case wxToolBar_AddCheckTool: { // wxToolBar::AddCheckTool const wxBitmap * bmpDisabled= &wxNullBitmap; wxString shortHelp= wxEmptyString; wxString longHelp= wxEmptyString; @@ -8423,7 +8423,7 @@ case wxToolBar_AddCheckTool: { // wxToolBar::AddCheckTool bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7); wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; bmpDisabled = (wxBitmap *) getPtr(bp,memenv); bp += 4; } break; @@ -8440,13 +8440,13 @@ bmpDisabled = (wxBitmap *) getPtr(bp,memenv); bp += 4; case 4: {bp += 4; data = (wxObject *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddCheckTool((int) *toolid,label,*bitmap,*bmpDisabled,shortHelp,longHelp,data); rt.addRef(getRef((void *)Result,memenv), "wx"); - break; + break; } -case wxToolBar_AddRadioTool: { // wxToolBar::AddRadioTool +case wxToolBar_AddRadioTool: { // wxToolBar::AddRadioTool const wxBitmap * bmpDisabled= &wxNullBitmap; wxString shortHelp= wxEmptyString; wxString longHelp= wxEmptyString; @@ -8458,7 +8458,7 @@ case wxToolBar_AddRadioTool: { // wxToolBar::AddRadioTool bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7); wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; bmpDisabled = (wxBitmap *) getPtr(bp,memenv); bp += 4; } break; @@ -8475,154 +8475,154 @@ bmpDisabled = (wxBitmap *) getPtr(bp,memenv); bp += 4; case 4: {bp += 4; data = (wxObject *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddRadioTool((int) *toolid,label,*bitmap,*bmpDisabled,shortHelp,longHelp,data); rt.addRef(getRef((void *)Result,memenv), "wx"); - break; + break; } -case wxToolBar_DeleteTool: { // wxToolBar::DeleteTool +case wxToolBar_DeleteTool: { // wxToolBar::DeleteTool wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * toolid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->DeleteTool((int) *toolid); rt.addBool(Result); - break; + break; } -case wxToolBar_DeleteToolByPos: { // wxToolBar::DeleteToolByPos +case wxToolBar_DeleteToolByPos: { // wxToolBar::DeleteToolByPos wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->DeleteToolByPos((size_t) *pos); rt.addBool(Result); - break; + break; } -case wxToolBar_EnableTool: { // wxToolBar::EnableTool +case wxToolBar_EnableTool: { // wxToolBar::EnableTool wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * toolid = (int *) bp; bp += 4; bool * enable = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->EnableTool((int) *toolid,(bool) *enable); - break; + break; } -case wxToolBar_FindById: { // wxToolBar::FindById +case wxToolBar_FindById: { // wxToolBar::FindById wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * toolid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxToolBarToolBase * Result = (wxToolBarToolBase*)This->FindById((int) *toolid); rt.addRef(getRef((void *)Result,memenv), "wx"); - break; + break; } -case wxToolBar_FindControl: { // wxToolBar::FindControl +case wxToolBar_FindControl: { // wxToolBar::FindControl wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * toolid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxControl * Result = (wxControl*)This->FindControl((int) *toolid); rt.addRef(getRef((void *)Result,memenv), "wxControl"); - break; + break; } -case wxToolBar_FindToolForPosition: { // wxToolBar::FindToolForPosition +case wxToolBar_FindToolForPosition: { // wxToolBar::FindToolForPosition wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxToolBarToolBase * Result = (wxToolBarToolBase*)This->FindToolForPosition((wxCoord) *x,(wxCoord) *y); rt.addRef(getRef((void *)Result,memenv), "wx"); - break; + break; } -case wxToolBar_GetToolSize: { // wxToolBar::GetToolSize +case wxToolBar_GetToolSize: { // wxToolBar::GetToolSize wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetToolSize(); rt.add(Result); - break; + break; } -case wxToolBar_GetToolBitmapSize: { // wxToolBar::GetToolBitmapSize +case wxToolBar_GetToolBitmapSize: { // wxToolBar::GetToolBitmapSize wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetToolBitmapSize(); rt.add(Result); - break; + break; } -case wxToolBar_GetMargins: { // wxToolBar::GetMargins +case wxToolBar_GetMargins: { // wxToolBar::GetMargins wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetMargins(); rt.add(Result); - break; + break; } -case wxToolBar_GetToolEnabled: { // wxToolBar::GetToolEnabled +case wxToolBar_GetToolEnabled: { // wxToolBar::GetToolEnabled wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * toolid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetToolEnabled((int) *toolid); rt.addBool(Result); - break; + break; } -case wxToolBar_GetToolLongHelp: { // wxToolBar::GetToolLongHelp +case wxToolBar_GetToolLongHelp: { // wxToolBar::GetToolLongHelp wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * toolid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetToolLongHelp((int) *toolid); rt.add(Result); - break; + break; } -case wxToolBar_GetToolPacking: { // wxToolBar::GetToolPacking +case wxToolBar_GetToolPacking: { // wxToolBar::GetToolPacking wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetToolPacking(); rt.addInt(Result); - break; + break; } -case wxToolBar_GetToolPos: { // wxToolBar::GetToolPos +case wxToolBar_GetToolPos: { // wxToolBar::GetToolPos wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetToolPos((int) *id); rt.addInt(Result); - break; + break; } -case wxToolBar_GetToolSeparation: { // wxToolBar::GetToolSeparation +case wxToolBar_GetToolSeparation: { // wxToolBar::GetToolSeparation wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetToolSeparation(); rt.addInt(Result); - break; + break; } -case wxToolBar_GetToolShortHelp: { // wxToolBar::GetToolShortHelp +case wxToolBar_GetToolShortHelp: { // wxToolBar::GetToolShortHelp wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * toolid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetToolShortHelp((int) *toolid); rt.add(Result); - break; + break; } -case wxToolBar_GetToolState: { // wxToolBar::GetToolState +case wxToolBar_GetToolState: { // wxToolBar::GetToolState wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * toolid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetToolState((int) *toolid); rt.addBool(Result); - break; + break; } -case wxToolBar_InsertControl: { // wxToolBar::InsertControl +case wxToolBar_InsertControl: { // wxToolBar::InsertControl wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; wxControl *control = (wxControl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxToolBarToolBase * Result = (wxToolBarToolBase*)This->InsertControl((size_t) *pos,control); rt.addRef(getRef((void *)Result,memenv), "wx"); - break; + break; } -case wxToolBar_InsertSeparator: { // wxToolBar::InsertSeparator +case wxToolBar_InsertSeparator: { // wxToolBar::InsertSeparator wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxToolBarToolBase * Result = (wxToolBarToolBase*)This->InsertSeparator((size_t) *pos); rt.addRef(getRef((void *)Result,memenv), "wx"); - break; + break; } -case wxToolBar_InsertTool_5: { // wxToolBar::InsertTool +case wxToolBar_InsertTool_5: { // wxToolBar::InsertTool const wxBitmap * bmpDisabled= &wxNullBitmap; wxItemKind kind=wxITEM_NORMAL; wxString shortHelp= wxEmptyString; @@ -8636,7 +8636,7 @@ case wxToolBar_InsertTool_5: { // wxToolBar::InsertTool bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7); wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; bmpDisabled = (wxBitmap *) getPtr(bp,memenv); bp += 4; } break; @@ -8656,22 +8656,22 @@ kind = *(wxItemKind *) bp; bp += 4;; case 5: {bp += 4; clientData = (wxObject *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxToolBarToolBase * Result = (wxToolBarToolBase*)This->InsertTool((size_t) *pos,(int) *toolid,label,*bitmap,*bmpDisabled,(wxItemKind) kind,shortHelp,longHelp,clientData); rt.addRef(getRef((void *)Result,memenv), "wx"); - break; + break; } -case wxToolBar_InsertTool_2: { // wxToolBar::InsertTool +case wxToolBar_InsertTool_2: { // wxToolBar::InsertTool wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; wxToolBarToolBase *tool = (wxToolBarToolBase *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxToolBarToolBase * Result = (wxToolBarToolBase*)This->InsertTool((size_t) *pos,tool); rt.addRef(getRef((void *)Result,memenv), "wx"); - break; + break; } -case wxToolBar_InsertTool_4: { // wxToolBar::InsertTool +case wxToolBar_InsertTool_4: { // wxToolBar::InsertTool const wxBitmap * bmpDisabled= &wxNullBitmap; bool toggle=false; wxObject * clientData=NULL; @@ -8681,7 +8681,7 @@ case wxToolBar_InsertTool_4: { // wxToolBar::InsertTool int * pos = (int *) bp; bp += 4; int * toolid = (int *) bp; bp += 4; wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; bmpDisabled = (wxBitmap *) getPtr(bp,memenv); bp += 4; } break; @@ -8701,45 +8701,45 @@ clientData = (wxObject *) getPtr(bp,memenv); bp += 4; longHelp = wxString(bp, wxConvUTF8); bp += *longHelpLen+((8-((0+ *longHelpLen) & 7)) & 7); } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxToolBarToolBase * Result = (wxToolBarToolBase*)This->InsertTool((size_t) *pos,(int) *toolid,*bitmap,*bmpDisabled,toggle,clientData,shortHelp,longHelp); rt.addRef(getRef((void *)Result,memenv), "wx"); - break; + break; } -case wxToolBar_Realize: { // wxToolBar::Realize +case wxToolBar_Realize: { // wxToolBar::Realize wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Realize(); rt.addBool(Result); - break; + break; } -case wxToolBar_RemoveTool: { // wxToolBar::RemoveTool +case wxToolBar_RemoveTool: { // wxToolBar::RemoveTool wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * toolid = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxToolBarToolBase * Result = (wxToolBarToolBase*)This->RemoveTool((int) *toolid); rt.addRef(getRef((void *)Result,memenv), "wx"); - break; + break; } -case wxToolBar_SetMargins: { // wxToolBar::SetMargins +case wxToolBar_SetMargins: { // wxToolBar::SetMargins wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMargins((int) *x,(int) *y); - break; + break; } -case wxToolBar_SetToolBitmapSize: { // wxToolBar::SetToolBitmapSize +case wxToolBar_SetToolBitmapSize: { // wxToolBar::SetToolBitmapSize wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; wxSize size = wxSize(*sizeW,*sizeH); if(!This) throw wxe_badarg(0); This->SetToolBitmapSize(size); - break; + break; } -case wxToolBar_SetToolLongHelp: { // wxToolBar::SetToolLongHelp +case wxToolBar_SetToolLongHelp: { // wxToolBar::SetToolLongHelp wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * toolid = (int *) bp; bp += 4; int * helpStringLen = (int *) bp; bp += 4; @@ -8747,16 +8747,16 @@ case wxToolBar_SetToolLongHelp: { // wxToolBar::SetToolLongHelp bp += *helpStringLen+((8-((4+ *helpStringLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetToolLongHelp((int) *toolid,helpString); - break; + break; } -case wxToolBar_SetToolPacking: { // wxToolBar::SetToolPacking +case wxToolBar_SetToolPacking: { // wxToolBar::SetToolPacking wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * packing = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetToolPacking((int) *packing); - break; + break; } -case wxToolBar_SetToolShortHelp: { // wxToolBar::SetToolShortHelp +case wxToolBar_SetToolShortHelp: { // wxToolBar::SetToolShortHelp wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; int * helpStringLen = (int *) bp; bp += 4; @@ -8764,66 +8764,66 @@ case wxToolBar_SetToolShortHelp: { // wxToolBar::SetToolShortHelp bp += *helpStringLen+((8-((4+ *helpStringLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetToolShortHelp((int) *id,helpString); - break; + break; } -case wxToolBar_SetToolSeparation: { // wxToolBar::SetToolSeparation +case wxToolBar_SetToolSeparation: { // wxToolBar::SetToolSeparation wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * separation = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetToolSeparation((int) *separation); - break; + break; } -case wxToolBar_ToggleTool: { // wxToolBar::ToggleTool +case wxToolBar_ToggleTool: { // wxToolBar::ToggleTool wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * toolid = (int *) bp; bp += 4; bool * toggle = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->ToggleTool((int) *toolid,(bool) *toggle); - break; + break; } -case wxStatusBar_new_0: { // wxStatusBar::wxStatusBar +case wxStatusBar_new_0: { // wxStatusBar::wxStatusBar wxStatusBar * Result = new EwxStatusBar(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxStatusBar"); - break; + break; } -case wxStatusBar_new_2: { // wxStatusBar::wxStatusBar +case wxStatusBar_new_2: { // wxStatusBar::wxStatusBar wxWindowID winid=wxID_ANY; long style=wxST_SIZEGRIP; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; winid = (wxWindowID)*(int *) bp; bp += 4; } break; case 2: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxStatusBar * Result = new EwxStatusBar(parent,winid,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxStatusBar"); - break; + break; } -case wxStatusBar_Create: { // wxStatusBar::Create +case wxStatusBar_Create: { // wxStatusBar::Create wxWindowID winid=wxID_ANY; long style=wxST_SIZEGRIP; wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; winid = (wxWindowID)*(int *) bp; bp += 4; } break; case 2: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,winid,style); rt.addBool(Result); - break; + break; } -case wxStatusBar_GetFieldRect: { // wxStatusBar::GetFieldRect +case wxStatusBar_GetFieldRect: { // wxStatusBar::GetFieldRect wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4; int * i = (int *) bp; bp += 4; int * rectX = (int *) bp; bp += 4; @@ -8834,241 +8834,241 @@ case wxStatusBar_GetFieldRect: { // wxStatusBar::GetFieldRect if(!This) throw wxe_badarg(0); bool Result = This->GetFieldRect((int) *i,rect); rt.addBool(Result); - break; + break; } -case wxStatusBar_GetFieldsCount: { // wxStatusBar::GetFieldsCount +case wxStatusBar_GetFieldsCount: { // wxStatusBar::GetFieldsCount wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetFieldsCount(); rt.addInt(Result); - break; + break; } -case wxStatusBar_GetStatusText: { // wxStatusBar::GetStatusText +case wxStatusBar_GetStatusText: { // wxStatusBar::GetStatusText int number=0; wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; number = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxString Result = This->GetStatusText(number); rt.add(Result); - break; + break; } -case wxStatusBar_PopStatusText: { // wxStatusBar::PopStatusText +case wxStatusBar_PopStatusText: { // wxStatusBar::PopStatusText int number=0; wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; number = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->PopStatusText(number); - break; + break; } -case wxStatusBar_PushStatusText: { // wxStatusBar::PushStatusText +case wxStatusBar_PushStatusText: { // wxStatusBar::PushStatusText int number=0; wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; number = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->PushStatusText(text,number); - break; + break; } -case wxStatusBar_SetFieldsCount: { // wxStatusBar::SetFieldsCount +case wxStatusBar_SetFieldsCount: { // wxStatusBar::SetFieldsCount int * widthsLen = 0; int * widths = (int *) NULL; wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4; int * number = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; widthsLen = (int *) bp; bp += 4; widths = (int *) bp; bp += *widthsLen*4+((0+ *widthsLen)%2 )*4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetFieldsCount((int) *number,widths); - break; + break; } -case wxStatusBar_SetMinHeight: { // wxStatusBar::SetMinHeight +case wxStatusBar_SetMinHeight: { // wxStatusBar::SetMinHeight wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4; int * height = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMinHeight((int) *height); - break; + break; } -case wxStatusBar_SetStatusText: { // wxStatusBar::SetStatusText +case wxStatusBar_SetStatusText: { // wxStatusBar::SetStatusText int number=0; wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; number = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetStatusText(text,number); - break; + break; } -case wxStatusBar_SetStatusWidths: { // wxStatusBar::SetStatusWidths +case wxStatusBar_SetStatusWidths: { // wxStatusBar::SetStatusWidths wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4; int * widths_fieldLen = (int *) bp; bp += 4; int * widths_field = (int *) bp; bp += *widths_fieldLen*4+((0+ *widths_fieldLen)%2 )*4; if(!This) throw wxe_badarg(0); This->SetStatusWidths(*widths_fieldLen,widths_field); - break; + break; } -case wxStatusBar_SetStatusStyles: { // wxStatusBar::SetStatusStyles +case wxStatusBar_SetStatusStyles: { // wxStatusBar::SetStatusStyles wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4; int * stylesLen = (int *) bp; bp += 4; int * styles = (int *) bp; bp += *stylesLen*4+((0+ *stylesLen)%2 )*4; if(!This) throw wxe_badarg(0); This->SetStatusStyles(*stylesLen,styles); - break; + break; } -case wxBitmap_new_0: { // wxBitmap::wxBitmap +case wxBitmap_new_0: { // wxBitmap::wxBitmap wxBitmap * Result = new EwxBitmap(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxBitmap"); - break; + break; } -case wxBitmap_new_3: { // wxBitmap::wxBitmap +case wxBitmap_new_3: { // wxBitmap::wxBitmap int depth=-1; int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; depth = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxBitmap * Result = new EwxBitmap((int) *width,(int) *height,depth); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxBitmap"); - break; + break; } -case wxBitmap_new_4: { // wxBitmap::wxBitmap +case wxBitmap_new_4: { // wxBitmap::wxBitmap int depth=1; - const char * bits = (const char*) Ecmd.bin[0]->base; + const char * bits = (const char*) Ecmd.bin[0]->base; int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; depth = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxBitmap * Result = new EwxBitmap(bits,(int) *width,(int) *height,depth); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxBitmap"); - break; + break; } -case wxBitmap_new_2_0: { // wxBitmap::wxBitmap +case wxBitmap_new_2_0: { // wxBitmap::wxBitmap wxBitmapType type=wxBITMAP_TYPE_XPM; int * filenameLen = (int *) bp; bp += 4; wxString filename = wxString(bp, wxConvUTF8); bp += *filenameLen+((8-((4+ *filenameLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; type = *(wxBitmapType *) bp; bp += 4;; } break; - }}; + }}; wxBitmap * Result = new EwxBitmap(filename,(wxBitmapType) type); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxBitmap"); - break; + break; } -case wxBitmap_new_2_1: { // wxBitmap::wxBitmap +case wxBitmap_new_2_1: { // wxBitmap::wxBitmap int depth=-1; wxImage *image = (wxImage *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; depth = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxBitmap * Result = new EwxBitmap(*image,depth); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxBitmap"); - break; + break; } -case wxBitmap_ConvertToImage: { // wxBitmap::ConvertToImage +case wxBitmap_ConvertToImage: { // wxBitmap::ConvertToImage wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxImage * Result = new wxImage(This->ConvertToImage()); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxImage"); - break; + break; } -case wxBitmap_CopyFromIcon: { // wxBitmap::CopyFromIcon +case wxBitmap_CopyFromIcon: { // wxBitmap::CopyFromIcon wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4; wxIcon *icon = (wxIcon *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CopyFromIcon(*icon); rt.addBool(Result); - break; + break; } -case wxBitmap_Create: { // wxBitmap::Create +case wxBitmap_Create: { // wxBitmap::Create int depth=-1; wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; depth = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create((int) *width,(int) *height,depth); rt.addBool(Result); - break; + break; } -case wxBitmap_GetDepth: { // wxBitmap::GetDepth +case wxBitmap_GetDepth: { // wxBitmap::GetDepth wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetDepth(); rt.addInt(Result); - break; + break; } -case wxBitmap_GetHeight: { // wxBitmap::GetHeight +case wxBitmap_GetHeight: { // wxBitmap::GetHeight wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetHeight(); rt.addInt(Result); - break; + break; } -case wxBitmap_GetPalette: { // wxBitmap::GetPalette +case wxBitmap_GetPalette: { // wxBitmap::GetPalette wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPalette * Result = (wxPalette*)This->GetPalette(); rt.addRef(getRef((void *)Result,memenv), "wxPalette"); - break; + break; } -case wxBitmap_GetMask: { // wxBitmap::GetMask +case wxBitmap_GetMask: { // wxBitmap::GetMask wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxMask * Result = (wxMask*)This->GetMask(); rt.addRef(getRef((void *)Result,memenv), "wxMask"); - break; + break; } -case wxBitmap_GetWidth: { // wxBitmap::GetWidth +case wxBitmap_GetWidth: { // wxBitmap::GetWidth wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetWidth(); rt.addInt(Result); - break; + break; } -case wxBitmap_GetSubBitmap: { // wxBitmap::GetSubBitmap +case wxBitmap_GetSubBitmap: { // wxBitmap::GetSubBitmap wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4; int * rectX = (int *) bp; bp += 4; int * rectY = (int *) bp; bp += 4; @@ -9078,32 +9078,32 @@ case wxBitmap_GetSubBitmap: { // wxBitmap::GetSubBitmap if(!This) throw wxe_badarg(0); wxBitmap * Result = new wxBitmap(This->GetSubBitmap(rect)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxBitmap"); - break; + break; } -case wxBitmap_LoadFile: { // wxBitmap::LoadFile +case wxBitmap_LoadFile: { // wxBitmap::LoadFile wxBitmapType type=wxBITMAP_TYPE_XPM; wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; type = *(wxBitmapType *) bp; bp += 4;; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->LoadFile(name,(wxBitmapType) type); rt.addBool(Result); - break; + break; } -case wxBitmap_Ok: { // wxBitmap::Ok +case wxBitmap_Ok: { // wxBitmap::Ok wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Ok(); rt.addBool(Result); - break; + break; } -case wxBitmap_SaveFile: { // wxBitmap::SaveFile +case wxBitmap_SaveFile: { // wxBitmap::SaveFile const wxPalette * palette=(wxPalette *) NULL; wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; @@ -9111,65 +9111,65 @@ case wxBitmap_SaveFile: { // wxBitmap::SaveFile bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7); wxBitmapType type = *(wxBitmapType *) bp; bp += 4;; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; palette = (wxPalette *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->SaveFile(name,(wxBitmapType) type,palette); rt.addBool(Result); - break; + break; } -case wxBitmap_SetDepth: { // wxBitmap::SetDepth +case wxBitmap_SetDepth: { // wxBitmap::SetDepth wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4; int * depth = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetDepth((int) *depth); - break; + break; } -case wxBitmap_SetHeight: { // wxBitmap::SetHeight +case wxBitmap_SetHeight: { // wxBitmap::SetHeight wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4; int * height = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetHeight((int) *height); - break; + break; } -case wxBitmap_SetMask: { // wxBitmap::SetMask +case wxBitmap_SetMask: { // wxBitmap::SetMask wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4; wxMask *mask = (wxMask *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetMask(mask); - break; + break; } -case wxBitmap_SetPalette: { // wxBitmap::SetPalette +case wxBitmap_SetPalette: { // wxBitmap::SetPalette wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4; wxPalette *palette = (wxPalette *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetPalette(*palette); - break; + break; } -case wxBitmap_SetWidth: { // wxBitmap::SetWidth +case wxBitmap_SetWidth: { // wxBitmap::SetWidth wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetWidth((int) *width); - break; + break; } -case wxIcon_new_0: { // wxIcon::wxIcon +case wxIcon_new_0: { // wxIcon::wxIcon wxIcon * Result = new EwxIcon(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxIcon"); - break; + break; } -case wxIcon_new_2: { // wxIcon::wxIcon +case wxIcon_new_2: { // wxIcon::wxIcon wxBitmapType type=wxBITMAP_TYPE_XPM; int desiredWidth=-1; int desiredHeight=-1; int * filenameLen = (int *) bp; bp += 4; wxString filename = wxString(bp, wxConvUTF8); bp += *filenameLen+((8-((4+ *filenameLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; type = *(wxBitmapType *) bp; bp += 4;; } break; @@ -9179,33 +9179,33 @@ type = *(wxBitmapType *) bp; bp += 4;; case 3: {bp += 4; desiredHeight = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxIcon * Result = new EwxIcon(filename,(wxBitmapType) type,desiredWidth,desiredHeight); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxIcon"); - break; + break; } -case wxIcon_new_1: { // wxIcon::wxIcon +case wxIcon_new_1: { // wxIcon::wxIcon wxIconLocation *loc = (wxIconLocation *) getPtr(bp,memenv); bp += 4; wxIcon * Result = new EwxIcon(*loc); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxIcon"); - break; + break; } -case wxIcon_CopyFromBitmap: { // wxIcon::CopyFromBitmap +case wxIcon_CopyFromBitmap: { // wxIcon::CopyFromBitmap wxIcon *This = (wxIcon *) getPtr(bp,memenv); bp += 4; wxBitmap *bmp = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->CopyFromBitmap(*bmp); - break; + break; } -case wxIconBundle_new_0: { // wxIconBundle::wxIconBundle +case wxIconBundle_new_0: { // wxIconBundle::wxIconBundle wxIconBundle * Result = new wxIconBundle(); newPtr((void *) Result, 61, memenv); rt.addRef(getRef((void *)Result,memenv), "wxIconBundle"); - break; + break; } -case wxIconBundle_new_2: { // wxIconBundle::wxIconBundle +case wxIconBundle_new_2: { // wxIconBundle::wxIconBundle int * fileLen = (int *) bp; bp += 4; wxString file = wxString(bp, wxConvUTF8); bp += *fileLen+((8-((4+ *fileLen) & 7)) & 7); @@ -9213,29 +9213,29 @@ case wxIconBundle_new_2: { // wxIconBundle::wxIconBundle wxIconBundle * Result = new wxIconBundle(file,(long) *type); newPtr((void *) Result, 61, memenv); rt.addRef(getRef((void *)Result,memenv), "wxIconBundle"); - break; + break; } -case wxIconBundle_new_1_0: { // wxIconBundle::wxIconBundle +case wxIconBundle_new_1_0: { // wxIconBundle::wxIconBundle wxIcon *icon = (wxIcon *) getPtr(bp,memenv); bp += 4; wxIconBundle * Result = new wxIconBundle(*icon); newPtr((void *) Result, 61, memenv); rt.addRef(getRef((void *)Result,memenv), "wxIconBundle"); - break; + break; } -case wxIconBundle_new_1_1: { // wxIconBundle::wxIconBundle +case wxIconBundle_new_1_1: { // wxIconBundle::wxIconBundle wxIconBundle * ic = (wxIconBundle *) getPtr(bp,memenv); bp += 4; wxIconBundle * Result = new wxIconBundle(*ic); newPtr((void *) Result, 61, memenv); rt.addRef(getRef((void *)Result,memenv), "wxIconBundle"); - break; + break; } -case wxIconBundle_destruct: { // wxIconBundle::~wxIconBundle +case wxIconBundle_destruct: { // wxIconBundle::~wxIconBundle wxIconBundle *This = (wxIconBundle *) getPtr(bp,memenv); bp += 4; if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This); delete This;} - break; + break; } -case wxIconBundle_AddIcon_2: { // wxIconBundle::AddIcon +case wxIconBundle_AddIcon_2: { // wxIconBundle::AddIcon wxIconBundle *This = (wxIconBundle *) getPtr(bp,memenv); bp += 4; int * fileLen = (int *) bp; bp += 4; wxString file = wxString(bp, wxConvUTF8); @@ -9243,16 +9243,16 @@ case wxIconBundle_AddIcon_2: { // wxIconBundle::AddIcon int * type = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->AddIcon(file,(long) *type); - break; + break; } -case wxIconBundle_AddIcon_1: { // wxIconBundle::AddIcon +case wxIconBundle_AddIcon_1: { // wxIconBundle::AddIcon wxIconBundle *This = (wxIconBundle *) getPtr(bp,memenv); bp += 4; wxIcon *icon = (wxIcon *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->AddIcon(*icon); - break; + break; } -case wxIconBundle_GetIcon_1_1: { // wxIconBundle::GetIcon +case wxIconBundle_GetIcon_1_1: { // wxIconBundle::GetIcon wxIconBundle *This = (wxIconBundle *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; @@ -9260,75 +9260,75 @@ case wxIconBundle_GetIcon_1_1: { // wxIconBundle::GetIcon if(!This) throw wxe_badarg(0); const wxIcon * Result = &This->GetIcon(size); rt.addRef(getRef((void *)Result,memenv), "wxIcon"); - break; + break; } -case wxIconBundle_GetIcon_1_0: { // wxIconBundle::GetIcon +case wxIconBundle_GetIcon_1_0: { // wxIconBundle::GetIcon wxCoord size=wxDefaultCoord; wxIconBundle *This = (wxIconBundle *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; size = (wxCoord)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); const wxIcon * Result = &This->GetIcon(size); rt.addRef(getRef((void *)Result,memenv), "wxIcon"); - break; + break; } -case wxCursor_new_0: { // wxCursor::wxCursor +case wxCursor_new_0: { // wxCursor::wxCursor wxCursor * Result = new EwxCursor(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxCursor"); - break; + break; } -case wxCursor_new_1_0: { // wxCursor::wxCursor +case wxCursor_new_1_0: { // wxCursor::wxCursor int * cursorId = (int *) bp; bp += 4; wxCursor * Result = new EwxCursor((int) *cursorId); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxCursor"); - break; + break; } -case wxCursor_new_1_1: { // wxCursor::wxCursor +case wxCursor_new_1_1: { // wxCursor::wxCursor wxImage *image = (wxImage *) getPtr(bp,memenv); bp += 4; wxCursor * Result = new EwxCursor(*image); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxCursor"); - break; + break; } -case wxCursor_new_4: { // wxCursor::wxCursor +case wxCursor_new_4: { // wxCursor::wxCursor int hotSpotX=-1; int hotSpotY=-1; - const char * bits = (const char*) Ecmd.bin[0]->base; + const char * bits = (const char*) Ecmd.bin[0]->base; int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; hotSpotX = (int)*(int *) bp; bp += 4; } break; case 2: {bp += 4; hotSpotY = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxCursor * Result = new EwxCursor(bits,(int) *width,(int) *height,hotSpotX,hotSpotY); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxCursor"); - break; + break; } -case wxCursor_Ok: { // wxCursor::Ok +case wxCursor_Ok: { // wxCursor::Ok wxCursor *This = (wxCursor *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Ok(); rt.addBool(Result); - break; + break; } -case wxMask_new_0: { // wxMask::wxMask +case wxMask_new_0: { // wxMask::wxMask wxMask * Result = new EwxMask(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMask"); - break; + break; } -case wxMask_new_2_1: { // wxMask::wxMask +case wxMask_new_2_1: { // wxMask::wxMask wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; int * colourR = (int *) bp; bp += 4; int * colourG = (int *) bp; bp += 4; @@ -9338,24 +9338,24 @@ case wxMask_new_2_1: { // wxMask::wxMask wxMask * Result = new EwxMask(*bitmap,colour); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMask"); - break; + break; } -case wxMask_new_2_0: { // wxMask::wxMask +case wxMask_new_2_0: { // wxMask::wxMask wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; int * paletteIndex = (int *) bp; bp += 4; wxMask * Result = new EwxMask(*bitmap,(int) *paletteIndex); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMask"); - break; + break; } -case wxMask_new_1: { // wxMask::wxMask +case wxMask_new_1: { // wxMask::wxMask wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; wxMask * Result = new EwxMask(*bitmap); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMask"); - break; + break; } -case wxMask_Create_2_1: { // wxMask::Create +case wxMask_Create_2_1: { // wxMask::Create wxMask *This = (wxMask *) getPtr(bp,memenv); bp += 4; wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; int * colourR = (int *) bp; bp += 4; @@ -9366,98 +9366,98 @@ case wxMask_Create_2_1: { // wxMask::Create if(!This) throw wxe_badarg(0); bool Result = This->Create(*bitmap,colour); rt.addBool(Result); - break; + break; } -case wxMask_Create_2_0: { // wxMask::Create +case wxMask_Create_2_0: { // wxMask::Create wxMask *This = (wxMask *) getPtr(bp,memenv); bp += 4; wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; int * paletteIndex = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Create(*bitmap,(int) *paletteIndex); rt.addBool(Result); - break; + break; } -case wxMask_Create_1: { // wxMask::Create +case wxMask_Create_1: { // wxMask::Create wxMask *This = (wxMask *) getPtr(bp,memenv); bp += 4; wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Create(*bitmap); rt.addBool(Result); - break; + break; } -case wxImage_new_0: { // wxImage::wxImage +case wxImage_new_0: { // wxImage::wxImage wxImage * Result = new EwxImage(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxImage"); - break; + break; } -case wxImage_new_3_0: { // wxImage::wxImage +case wxImage_new_3_0: { // wxImage::wxImage bool clear=true; int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; clear = *(bool *) bp; bp += 4; } break; - }}; + }}; wxImage * Result = new EwxImage((int) *width,(int) *height,clear); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxImage"); - break; + break; } -case wxImage_new_4: { // wxImage::wxImage +case wxImage_new_4: { // wxImage::wxImage bool static_data=false; int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; - unsigned char * data = (unsigned char*) Ecmd.bin[0]->base; - while( * (int*) bp) { switch (* (int*) bp) { + unsigned char * data = (unsigned char*) Ecmd.bin[0]->base; + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; static_data = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!static_data) {data = (unsigned char *) malloc(Ecmd.bin[0]->size);memcpy(data,Ecmd.bin[0]->base,Ecmd.bin[0]->size);}; wxImage * Result = new EwxImage((int) *width,(int) *height,data,static_data); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxImage"); - break; + break; } -case wxImage_new_5: { // wxImage::wxImage +case wxImage_new_5: { // wxImage::wxImage bool static_data=false; int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; - unsigned char * data = (unsigned char*) Ecmd.bin[0]->base; - unsigned char * alpha = (unsigned char*) Ecmd.bin[1]->base; - while( * (int*) bp) { switch (* (int*) bp) { + unsigned char * data = (unsigned char*) Ecmd.bin[0]->base; + unsigned char * alpha = (unsigned char*) Ecmd.bin[1]->base; + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; static_data = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!static_data) { data = (unsigned char *) malloc(Ecmd.bin[0]->size); alpha = (unsigned char *) malloc(Ecmd.bin[1]->size); memcpy(data,Ecmd.bin[0]->base,Ecmd.bin[0]->size); memcpy(alpha,Ecmd.bin[1]->base,Ecmd.bin[1]->size);}; wxImage * Result = new EwxImage((int) *width,(int) *height,data,alpha,static_data); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxImage"); - break; + break; } -case wxImage_new_2: { // wxImage::wxImage +case wxImage_new_2: { // wxImage::wxImage long type=wxBITMAP_TYPE_ANY; int index=-1; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); bp += *nameLen+((8-((4+ *nameLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; type = (long)*(int *) bp; bp += 4; } break; case 2: {bp += 4; index = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxImage * Result = new EwxImage(name,type,index); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxImage"); - break; + break; } -case wxImage_new_3_1: { // wxImage::wxImage +case wxImage_new_3_1: { // wxImage::wxImage int index=-1; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); @@ -9465,61 +9465,61 @@ case wxImage_new_3_1: { // wxImage::wxImage int * mimetypeLen = (int *) bp; bp += 4; wxString mimetype = wxString(bp, wxConvUTF8); bp += *mimetypeLen+((8-((4+ *mimetypeLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; index = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxImage * Result = new EwxImage(name,mimetype,index); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxImage"); - break; + break; } -case wxImage_Blur: { // wxImage::Blur +case wxImage_Blur: { // wxImage::Blur wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * radius = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxImage * Result = new wxImage(This->Blur((int) *radius)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxImage"); - break; + break; } -case wxImage_BlurHorizontal: { // wxImage::BlurHorizontal +case wxImage_BlurHorizontal: { // wxImage::BlurHorizontal wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * radius = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxImage * Result = new wxImage(This->BlurHorizontal((int) *radius)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxImage"); - break; + break; } -case wxImage_BlurVertical: { // wxImage::BlurVertical +case wxImage_BlurVertical: { // wxImage::BlurVertical wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * radius = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxImage * Result = new wxImage(This->BlurVertical((int) *radius)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxImage"); - break; + break; } -case wxImage_ConvertAlphaToMask: { // wxImage::ConvertAlphaToMask +case wxImage_ConvertAlphaToMask: { // wxImage::ConvertAlphaToMask char threshold=wxIMAGE_ALPHA_THRESHOLD; wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; threshold = (char)*(unsigned int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->ConvertAlphaToMask(threshold); rt.addBool(Result); - break; + break; } -case wxImage_ConvertToGreyscale: { // wxImage::ConvertToGreyscale +case wxImage_ConvertToGreyscale: { // wxImage::ConvertToGreyscale double lr=0.299; double lg=0.587; double lb=0.114; wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; bp += 4; /* Align */ lr = * (double *) bp; bp += 8; @@ -9532,13 +9532,13 @@ case wxImage_ConvertToGreyscale: { // wxImage::ConvertToGreyscale bp += 4; /* Align */ lb = * (double *) bp; bp += 8; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxImage * Result = new wxImage(This->ConvertToGreyscale(lr,lg,lb)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxImage"); - break; + break; } -case wxImage_ConvertToMono: { // wxImage::ConvertToMono +case wxImage_ConvertToMono: { // wxImage::ConvertToMono wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; unsigned int * r = (unsigned int *) bp; bp += 4; unsigned int * g = (unsigned int *) bp; bp += 4; @@ -9546,75 +9546,75 @@ case wxImage_ConvertToMono: { // wxImage::ConvertToMono if(!This) throw wxe_badarg(0); wxImage * Result = new wxImage(This->ConvertToMono((char) *r,(char) *g,(char) *b)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxImage"); - break; + break; } -case wxImage_Copy: { // wxImage::Copy +case wxImage_Copy: { // wxImage::Copy wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxImage * Result = new wxImage(This->Copy()); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxImage"); - break; + break; } -case wxImage_Create_3: { // wxImage::Create +case wxImage_Create_3: { // wxImage::Create bool clear=true; wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; clear = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create((int) *width,(int) *height,clear); rt.addBool(Result); - break; + break; } -case wxImage_Create_4: { // wxImage::Create +case wxImage_Create_4: { // wxImage::Create bool static_data=false; wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; - unsigned char * data = (unsigned char*) Ecmd.bin[0]->base; + unsigned char * data = (unsigned char*) Ecmd.bin[0]->base; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; static_data = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!static_data) {data = (unsigned char *) malloc(Ecmd.bin[0]->size);memcpy(data,Ecmd.bin[0]->base,Ecmd.bin[0]->size);}; if(!This) throw wxe_badarg(0); bool Result = This->Create((int) *width,(int) *height,data,static_data); rt.addBool(Result); - break; + break; } -case wxImage_Create_5: { // wxImage::Create +case wxImage_Create_5: { // wxImage::Create bool static_data=false; wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; - unsigned char * data = (unsigned char*) Ecmd.bin[0]->base; - unsigned char * alpha = (unsigned char*) Ecmd.bin[1]->base; + unsigned char * data = (unsigned char*) Ecmd.bin[0]->base; + unsigned char * alpha = (unsigned char*) Ecmd.bin[1]->base; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; static_data = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!static_data) { data = (unsigned char *) malloc(Ecmd.bin[0]->size); alpha = (unsigned char *) malloc(Ecmd.bin[1]->size); memcpy(data,Ecmd.bin[0]->base,Ecmd.bin[0]->size); memcpy(alpha,Ecmd.bin[1]->base,Ecmd.bin[1]->size);}; if(!This) throw wxe_badarg(0); bool Result = This->Create((int) *width,(int) *height,data,alpha,static_data); rt.addBool(Result); - break; + break; } -case wxImage_Destroy: { // wxImage::Destroy +case wxImage_Destroy: { // wxImage::Destroy wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Destroy(); - break; + break; } -case wxImage_FindFirstUnusedColour: { // wxImage::FindFirstUnusedColour +case wxImage_FindFirstUnusedColour: { // wxImage::FindFirstUnusedColour unsigned char r; unsigned char g; unsigned char b; @@ -9623,7 +9623,7 @@ case wxImage_FindFirstUnusedColour: { // wxImage::FindFirstUnusedColour char startB=0; wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; startR = (char)*(unsigned int *) bp; bp += 4; } break; @@ -9633,7 +9633,7 @@ case wxImage_FindFirstUnusedColour: { // wxImage::FindFirstUnusedColour case 3: {bp += 4; startB = (char)*(unsigned int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->FindFirstUnusedColour(&r,&g,&b,startR,startG,startB); rt.addBool(Result); @@ -9641,101 +9641,101 @@ case wxImage_FindFirstUnusedColour: { // wxImage::FindFirstUnusedColour rt.addUint(g); rt.addUint(b); rt.addTupleCount(4); - break; + break; } -case wxImage_GetImageExtWildcard: { // wxImage::GetImageExtWildcard +case wxImage_GetImageExtWildcard: { // wxImage::GetImageExtWildcard wxString Result = wxImage::GetImageExtWildcard(); rt.add(Result); - break; + break; } -case wxImage_GetAlpha_2: { // wxImage::GetAlpha +case wxImage_GetAlpha_2: { // wxImage::GetAlpha wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); char Result = This->GetAlpha((int) *x,(int) *y); rt.addUint(Result); - break; + break; } -case wxImage_GetAlpha_0: { // wxImage::GetAlpha +case wxImage_GetAlpha_0: { // wxImage::GetAlpha wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); char * Result = (char*)This->GetAlpha(); if(Result) { rt.addBinary(Result, (This->GetWidth()*This->GetHeight())); } else {rt.addAtom("null");}; - break; + break; } -case wxImage_GetBlue: { // wxImage::GetBlue +case wxImage_GetBlue: { // wxImage::GetBlue wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); char Result = This->GetBlue((int) *x,(int) *y); rt.addUint(Result); - break; + break; } -case wxImage_GetData: { // wxImage::GetData +case wxImage_GetData: { // wxImage::GetData wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); char * Result = (char*)This->GetData(); if(Result) { rt.addBinary(Result, (This->GetWidth()*This->GetHeight()*3)); } else {rt.addAtom("null");}; - break; + break; } -case wxImage_GetGreen: { // wxImage::GetGreen +case wxImage_GetGreen: { // wxImage::GetGreen wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); char Result = This->GetGreen((int) *x,(int) *y); rt.addUint(Result); - break; + break; } -case wxImage_GetImageCount: { // wxImage::GetImageCount +case wxImage_GetImageCount: { // wxImage::GetImageCount long type=wxBITMAP_TYPE_ANY; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); bp += *nameLen+((8-((4+ *nameLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; type = (long)*(int *) bp; bp += 4; } break; - }}; + }}; int Result = wxImage::GetImageCount(name,type); rt.addInt(Result); - break; + break; } -case wxImage_GetHeight: { // wxImage::GetHeight +case wxImage_GetHeight: { // wxImage::GetHeight wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetHeight(); rt.addInt(Result); - break; + break; } -case wxImage_GetMaskBlue: { // wxImage::GetMaskBlue +case wxImage_GetMaskBlue: { // wxImage::GetMaskBlue wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); char Result = This->GetMaskBlue(); rt.addUint(Result); - break; + break; } -case wxImage_GetMaskGreen: { // wxImage::GetMaskGreen +case wxImage_GetMaskGreen: { // wxImage::GetMaskGreen wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); char Result = This->GetMaskGreen(); rt.addUint(Result); - break; + break; } -case wxImage_GetMaskRed: { // wxImage::GetMaskRed +case wxImage_GetMaskRed: { // wxImage::GetMaskRed wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); char Result = This->GetMaskRed(); rt.addUint(Result); - break; + break; } -case wxImage_GetOrFindMaskColour: { // wxImage::GetOrFindMaskColour +case wxImage_GetOrFindMaskColour: { // wxImage::GetOrFindMaskColour unsigned char r; unsigned char g; unsigned char b; @@ -9747,25 +9747,25 @@ case wxImage_GetOrFindMaskColour: { // wxImage::GetOrFindMaskColour rt.addUint(g); rt.addUint(b); rt.addTupleCount(4); - break; + break; } -case wxImage_GetPalette: { // wxImage::GetPalette +case wxImage_GetPalette: { // wxImage::GetPalette wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxPalette * Result = &This->GetPalette(); rt.addRef(getRef((void *)Result,memenv), "wxPalette"); - break; + break; } -case wxImage_GetRed: { // wxImage::GetRed +case wxImage_GetRed: { // wxImage::GetRed wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); char Result = This->GetRed((int) *x,(int) *y); rt.addUint(Result); - break; + break; } -case wxImage_GetSubImage: { // wxImage::GetSubImage +case wxImage_GetSubImage: { // wxImage::GetSubImage wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * rectX = (int *) bp; bp += 4; int * rectY = (int *) bp; bp += 4; @@ -9775,30 +9775,30 @@ case wxImage_GetSubImage: { // wxImage::GetSubImage if(!This) throw wxe_badarg(0); wxImage * Result = new wxImage(This->GetSubImage(rect)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxImage"); - break; + break; } -case wxImage_GetWidth: { // wxImage::GetWidth +case wxImage_GetWidth: { // wxImage::GetWidth wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetWidth(); rt.addInt(Result); - break; + break; } -case wxImage_HasAlpha: { // wxImage::HasAlpha +case wxImage_HasAlpha: { // wxImage::HasAlpha wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasAlpha(); rt.addBool(Result); - break; + break; } -case wxImage_HasMask: { // wxImage::HasMask +case wxImage_HasMask: { // wxImage::HasMask wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasMask(); rt.addBool(Result); - break; + break; } -case wxImage_GetOption: { // wxImage::GetOption +case wxImage_GetOption: { // wxImage::GetOption wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); @@ -9806,9 +9806,9 @@ case wxImage_GetOption: { // wxImage::GetOption if(!This) throw wxe_badarg(0); wxString Result = This->GetOption(name); rt.add(Result); - break; + break; } -case wxImage_GetOptionInt: { // wxImage::GetOptionInt +case wxImage_GetOptionInt: { // wxImage::GetOptionInt wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); @@ -9816,9 +9816,9 @@ case wxImage_GetOptionInt: { // wxImage::GetOptionInt if(!This) throw wxe_badarg(0); int Result = This->GetOptionInt(name); rt.addInt(Result); - break; + break; } -case wxImage_HasOption: { // wxImage::HasOption +case wxImage_HasOption: { // wxImage::HasOption wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); @@ -9826,55 +9826,55 @@ case wxImage_HasOption: { // wxImage::HasOption if(!This) throw wxe_badarg(0); bool Result = This->HasOption(name); rt.addBool(Result); - break; + break; } -case wxImage_InitAlpha: { // wxImage::InitAlpha +case wxImage_InitAlpha: { // wxImage::InitAlpha wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->InitAlpha(); - break; + break; } -case wxImage_InitStandardHandlers: { // wxImage::InitStandardHandlers +case wxImage_InitStandardHandlers: { // wxImage::InitStandardHandlers wxImage::InitStandardHandlers(); - break; + break; } -case wxImage_IsTransparent: { // wxImage::IsTransparent +case wxImage_IsTransparent: { // wxImage::IsTransparent char threshold=wxIMAGE_ALPHA_THRESHOLD; wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; threshold = (char)*(unsigned int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->IsTransparent((int) *x,(int) *y,threshold); rt.addBool(Result); - break; + break; } -case wxImage_LoadFile_2: { // wxImage::LoadFile +case wxImage_LoadFile_2: { // wxImage::LoadFile long type=wxBITMAP_TYPE_ANY; int index=-1; wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; type = (long)*(int *) bp; bp += 4; } break; case 2: {bp += 4; index = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->LoadFile(name,type,index); rt.addBool(Result); - break; + break; } -case wxImage_LoadFile_3: { // wxImage::LoadFile +case wxImage_LoadFile_3: { // wxImage::LoadFile int index=-1; wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; @@ -9883,46 +9883,46 @@ case wxImage_LoadFile_3: { // wxImage::LoadFile int * mimetypeLen = (int *) bp; bp += 4; wxString mimetype = wxString(bp, wxConvUTF8); bp += *mimetypeLen+((8-((4+ *mimetypeLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; index = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->LoadFile(name,mimetype,index); rt.addBool(Result); - break; + break; } -case wxImage_Ok: { // wxImage::Ok +case wxImage_Ok: { // wxImage::Ok wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Ok(); rt.addBool(Result); - break; + break; } -case wxImage_RemoveHandler: { // wxImage::RemoveHandler +case wxImage_RemoveHandler: { // wxImage::RemoveHandler int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); bp += *nameLen+((8-((4+ *nameLen) & 7)) & 7); bool Result = wxImage::RemoveHandler(name); rt.addBool(Result); - break; + break; } -case wxImage_Mirror: { // wxImage::Mirror +case wxImage_Mirror: { // wxImage::Mirror bool horizontally=true; wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; horizontally = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxImage * Result = new wxImage(This->Mirror(horizontally)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxImage"); - break; + break; } -case wxImage_Replace: { // wxImage::Replace +case wxImage_Replace: { // wxImage::Replace wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; unsigned int * r1 = (unsigned int *) bp; bp += 4; unsigned int * g1 = (unsigned int *) bp; bp += 4; @@ -9932,25 +9932,25 @@ case wxImage_Replace: { // wxImage::Replace unsigned int * b2 = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Replace((char) *r1,(char) *g1,(char) *b1,(char) *r2,(char) *g2,(char) *b2); - break; + break; } -case wxImage_Rescale: { // wxImage::Rescale +case wxImage_Rescale: { // wxImage::Rescale int quality=wxIMAGE_QUALITY_NORMAL; wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; quality = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxImage * Result = &This->Rescale((int) *width,(int) *height,quality); rt.addRef(getRef((void *)Result,memenv), "wxImage"); - break; + break; } -case wxImage_Resize: { // wxImage::Resize +case wxImage_Resize: { // wxImage::Resize int r=-1; int g=-1; int b=-1; @@ -9962,7 +9962,7 @@ case wxImage_Resize: { // wxImage::Resize int * posY = (int *) bp; bp += 4; wxPoint pos = wxPoint(*posX,*posY); bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; r = (int)*(int *) bp; bp += 4; } break; @@ -9972,13 +9972,13 @@ case wxImage_Resize: { // wxImage::Resize case 3: {bp += 4; b = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxImage * Result = &This->Resize(size,pos,r,g,b); rt.addRef(getRef((void *)Result,memenv), "wxImage"); - break; + break; } -case wxImage_Rotate: { // wxImage::Rotate +case wxImage_Rotate: { // wxImage::Rotate bool interpolating=true; wxPoint *offset_after_rotation=(wxPoint *) NULL; wxPoint offset_after_rotationTmp; wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; @@ -9987,7 +9987,7 @@ case wxImage_Rotate: { // wxImage::Rotate int * centre_of_rotationX = (int *) bp; bp += 4; int * centre_of_rotationY = (int *) bp; bp += 4; wxPoint centre_of_rotation = wxPoint(*centre_of_rotationX,*centre_of_rotationY); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; interpolating = *(bool *) bp; bp += 4; } break; @@ -9997,35 +9997,35 @@ case wxImage_Rotate: { // wxImage::Rotate offset_after_rotationTmp = wxPoint(*offset_after_rotationX,*offset_after_rotationY); offset_after_rotation = & offset_after_rotationTmp; bp += 4; /* Align */ } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxImage * Result = new wxImage(This->Rotate((double) *angle,centre_of_rotation,interpolating,offset_after_rotation)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxImage"); - break; + break; } -case wxImage_RotateHue: { // wxImage::RotateHue +case wxImage_RotateHue: { // wxImage::RotateHue wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ double * angle = (double *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->RotateHue((double) *angle); - break; + break; } -case wxImage_Rotate90: { // wxImage::Rotate90 +case wxImage_Rotate90: { // wxImage::Rotate90 bool clockwise=true; wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; clockwise = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxImage * Result = new wxImage(This->Rotate90(clockwise)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxImage"); - break; + break; } -case wxImage_SaveFile_1: { // wxImage::SaveFile +case wxImage_SaveFile_1: { // wxImage::SaveFile wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); @@ -10033,9 +10033,9 @@ case wxImage_SaveFile_1: { // wxImage::SaveFile if(!This) throw wxe_badarg(0); bool Result = This->SaveFile(name); rt.addBool(Result); - break; + break; } -case wxImage_SaveFile_2_0: { // wxImage::SaveFile +case wxImage_SaveFile_2_0: { // wxImage::SaveFile wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); @@ -10044,9 +10044,9 @@ case wxImage_SaveFile_2_0: { // wxImage::SaveFile if(!This) throw wxe_badarg(0); bool Result = This->SaveFile(name,(int) *type); rt.addBool(Result); - break; + break; } -case wxImage_SaveFile_2_1: { // wxImage::SaveFile +case wxImage_SaveFile_2_1: { // wxImage::SaveFile wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); @@ -10057,25 +10057,25 @@ case wxImage_SaveFile_2_1: { // wxImage::SaveFile if(!This) throw wxe_badarg(0); bool Result = This->SaveFile(name,mimetype); rt.addBool(Result); - break; + break; } -case wxImage_Scale: { // wxImage::Scale +case wxImage_Scale: { // wxImage::Scale int quality=wxIMAGE_QUALITY_NORMAL; wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; quality = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxImage * Result = new wxImage(This->Scale((int) *width,(int) *height,quality)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxImage"); - break; + break; } -case wxImage_Size: { // wxImage::Size +case wxImage_Size: { // wxImage::Size int r=-1; int g=-1; int b=-1; @@ -10087,7 +10087,7 @@ case wxImage_Size: { // wxImage::Size int * posY = (int *) bp; bp += 4; wxPoint pos = wxPoint(*posX,*posY); bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; r = (int)*(int *) bp; bp += 4; } break; @@ -10097,91 +10097,91 @@ case wxImage_Size: { // wxImage::Size case 3: {bp += 4; b = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxImage * Result = new wxImage(This->Size(size,pos,r,g,b)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxImage"); - break; + break; } -case wxImage_SetAlpha_3: { // wxImage::SetAlpha +case wxImage_SetAlpha_3: { // wxImage::SetAlpha wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; unsigned int * alpha = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetAlpha((int) *x,(int) *y,(char) *alpha); - break; + break; } -case wxImage_SetAlpha_2: { // wxImage::SetAlpha +case wxImage_SetAlpha_2: { // wxImage::SetAlpha bool static_data=false; wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; - unsigned char * alpha = (unsigned char*) Ecmd.bin[0]->base; + unsigned char * alpha = (unsigned char*) Ecmd.bin[0]->base; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; static_data = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!static_data) {alpha = (unsigned char *) malloc(Ecmd.bin[0]->size);memcpy(alpha,Ecmd.bin[0]->base,Ecmd.bin[0]->size);}; if(!This) throw wxe_badarg(0); This->SetAlpha(alpha,static_data); - break; + break; } -case wxImage_SetData_2: { // wxImage::SetData +case wxImage_SetData_2: { // wxImage::SetData bool static_data=false; wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; - unsigned char * data = (unsigned char*) Ecmd.bin[0]->base; + unsigned char * data = (unsigned char*) Ecmd.bin[0]->base; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; static_data = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!static_data) {data = (unsigned char *) malloc(Ecmd.bin[0]->size);memcpy(data,Ecmd.bin[0]->base,Ecmd.bin[0]->size);}; if(!This) throw wxe_badarg(0); This->SetData(data,static_data); - break; + break; } -case wxImage_SetData_4: { // wxImage::SetData +case wxImage_SetData_4: { // wxImage::SetData bool static_data=false; wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; - unsigned char * data = (unsigned char*) Ecmd.bin[0]->base; + unsigned char * data = (unsigned char*) Ecmd.bin[0]->base; int * new_width = (int *) bp; bp += 4; int * new_height = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; static_data = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!static_data) {data = (unsigned char *) malloc(Ecmd.bin[0]->size);memcpy(data,Ecmd.bin[0]->base,Ecmd.bin[0]->size);}; if(!This) throw wxe_badarg(0); This->SetData(data,(int) *new_width,(int) *new_height,static_data); - break; + break; } -case wxImage_SetMask: { // wxImage::SetMask +case wxImage_SetMask: { // wxImage::SetMask bool mask=true; wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; mask = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetMask(mask); - break; + break; } -case wxImage_SetMaskColour: { // wxImage::SetMaskColour +case wxImage_SetMaskColour: { // wxImage::SetMaskColour wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; unsigned int * r = (unsigned int *) bp; bp += 4; unsigned int * g = (unsigned int *) bp; bp += 4; unsigned int * b = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMaskColour((char) *r,(char) *g,(char) *b); - break; + break; } -case wxImage_SetMaskFromImage: { // wxImage::SetMaskFromImage +case wxImage_SetMaskFromImage: { // wxImage::SetMaskFromImage wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; wxImage *mask = (wxImage *) getPtr(bp,memenv); bp += 4; unsigned int * mr = (unsigned int *) bp; bp += 4; @@ -10190,9 +10190,9 @@ case wxImage_SetMaskFromImage: { // wxImage::SetMaskFromImage if(!This) throw wxe_badarg(0); bool Result = This->SetMaskFromImage(*mask,(char) *mr,(char) *mg,(char) *mb); rt.addBool(Result); - break; + break; } -case wxImage_SetOption_2_1: { // wxImage::SetOption +case wxImage_SetOption_2_1: { // wxImage::SetOption wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); @@ -10202,9 +10202,9 @@ case wxImage_SetOption_2_1: { // wxImage::SetOption bp += *valueLen+((8-((4+ *valueLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetOption(name,value); - break; + break; } -case wxImage_SetOption_2_0: { // wxImage::SetOption +case wxImage_SetOption_2_0: { // wxImage::SetOption wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); @@ -10212,16 +10212,16 @@ case wxImage_SetOption_2_0: { // wxImage::SetOption int * value = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetOption(name,(int) *value); - break; + break; } -case wxImage_SetPalette: { // wxImage::SetPalette +case wxImage_SetPalette: { // wxImage::SetPalette wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; wxPalette *palette = (wxPalette *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetPalette(*palette); - break; + break; } -case wxImage_SetRGB_5: { // wxImage::SetRGB +case wxImage_SetRGB_5: { // wxImage::SetRGB wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; @@ -10230,9 +10230,9 @@ case wxImage_SetRGB_5: { // wxImage::SetRGB unsigned int * b = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetRGB((int) *x,(int) *y,(char) *r,(char) *g,(char) *b); - break; + break; } -case wxImage_SetRGB_4: { // wxImage::SetRGB +case wxImage_SetRGB_4: { // wxImage::SetRGB wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4; int * rectX = (int *) bp; bp += 4; int * rectY = (int *) bp; bp += 4; @@ -10244,74 +10244,74 @@ case wxImage_SetRGB_4: { // wxImage::SetRGB unsigned int * b = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetRGB(rect,(char) *r,(char) *g,(char) *b); - break; + break; } -case wxBrush_new_0: { // wxBrush::wxBrush +case wxBrush_new_0: { // wxBrush::wxBrush wxBrush * Result = new EwxBrush(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxBrush"); - break; + break; } -case wxBrush_new_2: { // wxBrush::wxBrush +case wxBrush_new_2: { // wxBrush::wxBrush int style=wxSOLID; int * colourR = (int *) bp; bp += 4; int * colourG = (int *) bp; bp += 4; int * colourB = (int *) bp; bp += 4; int * colourA = (int *) bp; bp += 4; wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; style = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxBrush * Result = new EwxBrush(colour,style); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxBrush"); - break; + break; } -case wxBrush_new_1: { // wxBrush::wxBrush +case wxBrush_new_1: { // wxBrush::wxBrush wxBitmap *stippleBitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; wxBrush * Result = new EwxBrush(*stippleBitmap); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxBrush"); - break; + break; } -case wxBrush_GetColour: { // wxBrush::GetColour +case wxBrush_GetColour: { // wxBrush::GetColour wxBrush *This = (wxBrush *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxColour * Result = &This->GetColour(); rt.add((*Result)); - break; + break; } -case wxBrush_GetStipple: { // wxBrush::GetStipple +case wxBrush_GetStipple: { // wxBrush::GetStipple wxBrush *This = (wxBrush *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxBitmap * Result = (wxBitmap*)This->GetStipple(); rt.addRef(getRef((void *)Result,memenv), "wxBitmap"); - break; + break; } -case wxBrush_GetStyle: { // wxBrush::GetStyle +case wxBrush_GetStyle: { // wxBrush::GetStyle wxBrush *This = (wxBrush *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetStyle(); rt.addInt(Result); - break; + break; } -case wxBrush_IsHatch: { // wxBrush::IsHatch +case wxBrush_IsHatch: { // wxBrush::IsHatch wxBrush *This = (wxBrush *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsHatch(); rt.addBool(Result); - break; + break; } -case wxBrush_IsOk: { // wxBrush::IsOk +case wxBrush_IsOk: { // wxBrush::IsOk wxBrush *This = (wxBrush *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsOk(); rt.addBool(Result); - break; + break; } -case wxBrush_SetColour_1: { // wxBrush::SetColour +case wxBrush_SetColour_1: { // wxBrush::SetColour wxBrush *This = (wxBrush *) getPtr(bp,memenv); bp += 4; int * colR = (int *) bp; bp += 4; int * colG = (int *) bp; bp += 4; @@ -10320,38 +10320,38 @@ case wxBrush_SetColour_1: { // wxBrush::SetColour wxColour col = wxColour(*colR,*colG,*colB,*colA); if(!This) throw wxe_badarg(0); This->SetColour(col); - break; + break; } -case wxBrush_SetColour_3: { // wxBrush::SetColour +case wxBrush_SetColour_3: { // wxBrush::SetColour wxBrush *This = (wxBrush *) getPtr(bp,memenv); bp += 4; unsigned int * r = (unsigned int *) bp; bp += 4; unsigned int * g = (unsigned int *) bp; bp += 4; unsigned int * b = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetColour((char) *r,(char) *g,(char) *b); - break; + break; } -case wxBrush_SetStipple: { // wxBrush::SetStipple +case wxBrush_SetStipple: { // wxBrush::SetStipple wxBrush *This = (wxBrush *) getPtr(bp,memenv); bp += 4; wxBitmap *stipple = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetStipple(*stipple); - break; + break; } -case wxBrush_SetStyle: { // wxBrush::SetStyle +case wxBrush_SetStyle: { // wxBrush::SetStyle wxBrush *This = (wxBrush *) getPtr(bp,memenv); bp += 4; int * style = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetStyle((int) *style); - break; + break; } -case wxPen_new_0: { // wxPen::wxPen +case wxPen_new_0: { // wxPen::wxPen wxPen * Result = new EwxPen(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPen"); - break; + break; } -case wxPen_new_2: { // wxPen::wxPen +case wxPen_new_2: { // wxPen::wxPen int width=1; int style=wxSOLID; int * colourR = (int *) bp; bp += 4; @@ -10359,69 +10359,69 @@ case wxPen_new_2: { // wxPen::wxPen int * colourB = (int *) bp; bp += 4; int * colourA = (int *) bp; bp += 4; wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; width = (int)*(int *) bp; bp += 4; } break; case 2: {bp += 4; style = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxPen * Result = new EwxPen(colour,width,style); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPen"); - break; + break; } -case wxPen_GetCap: { // wxPen::GetCap +case wxPen_GetCap: { // wxPen::GetCap wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetCap(); rt.addInt(Result); - break; + break; } -case wxPen_GetColour: { // wxPen::GetColour +case wxPen_GetColour: { // wxPen::GetColour wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxColour * Result = &This->GetColour(); rt.add((*Result)); - break; + break; } -case wxPen_GetJoin: { // wxPen::GetJoin +case wxPen_GetJoin: { // wxPen::GetJoin wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetJoin(); rt.addInt(Result); - break; + break; } -case wxPen_GetStyle: { // wxPen::GetStyle +case wxPen_GetStyle: { // wxPen::GetStyle wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetStyle(); rt.addInt(Result); - break; + break; } -case wxPen_GetWidth: { // wxPen::GetWidth +case wxPen_GetWidth: { // wxPen::GetWidth wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetWidth(); rt.addInt(Result); - break; + break; } -case wxPen_IsOk: { // wxPen::IsOk +case wxPen_IsOk: { // wxPen::IsOk wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsOk(); rt.addBool(Result); - break; + break; } -case wxPen_SetCap: { // wxPen::SetCap +case wxPen_SetCap: { // wxPen::SetCap wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4; int * capStyle = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetCap((int) *capStyle); - break; + break; } -case wxPen_SetColour_1: { // wxPen::SetColour +case wxPen_SetColour_1: { // wxPen::SetColour wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4; int * colourR = (int *) bp; bp += 4; int * colourG = (int *) bp; bp += 4; @@ -10430,45 +10430,45 @@ case wxPen_SetColour_1: { // wxPen::SetColour wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA); if(!This) throw wxe_badarg(0); This->SetColour(colour); - break; + break; } -case wxPen_SetColour_3: { // wxPen::SetColour +case wxPen_SetColour_3: { // wxPen::SetColour wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4; unsigned int * red = (unsigned int *) bp; bp += 4; unsigned int * green = (unsigned int *) bp; bp += 4; unsigned int * blue = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetColour((char) *red,(char) *green,(char) *blue); - break; + break; } -case wxPen_SetJoin: { // wxPen::SetJoin +case wxPen_SetJoin: { // wxPen::SetJoin wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4; int * joinStyle = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetJoin((int) *joinStyle); - break; + break; } -case wxPen_SetStyle: { // wxPen::SetStyle +case wxPen_SetStyle: { // wxPen::SetStyle wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4; int * style = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetStyle((int) *style); - break; + break; } -case wxPen_SetWidth: { // wxPen::SetWidth +case wxPen_SetWidth: { // wxPen::SetWidth wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetWidth((int) *width); - break; + break; } -case wxRegion_new_0: { // wxRegion::wxRegion +case wxRegion_new_0: { // wxRegion::wxRegion wxRegion * Result = new EwxRegion(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxRegion"); - break; + break; } -case wxRegion_new_4: { // wxRegion::wxRegion +case wxRegion_new_4: { // wxRegion::wxRegion int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; int * w = (int *) bp; bp += 4; @@ -10476,9 +10476,9 @@ case wxRegion_new_4: { // wxRegion::wxRegion wxRegion * Result = new EwxRegion((wxCoord) *x,(wxCoord) *y,(wxCoord) *w,(wxCoord) *h); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxRegion"); - break; + break; } -case wxRegion_new_2: { // wxRegion::wxRegion +case wxRegion_new_2: { // wxRegion::wxRegion int * topLeftX = (int *) bp; bp += 4; int * topLeftY = (int *) bp; bp += 4; wxPoint topLeft = wxPoint(*topLeftX,*topLeftY); @@ -10488,9 +10488,9 @@ case wxRegion_new_2: { // wxRegion::wxRegion wxRegion * Result = new EwxRegion(topLeft,bottomRight); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxRegion"); - break; + break; } -case wxRegion_new_1_1: { // wxRegion::wxRegion +case wxRegion_new_1_1: { // wxRegion::wxRegion int * rectX = (int *) bp; bp += 4; int * rectY = (int *) bp; bp += 4; int * rectW = (int *) bp; bp += 4; @@ -10499,31 +10499,31 @@ case wxRegion_new_1_1: { // wxRegion::wxRegion wxRegion * Result = new EwxRegion(rect); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxRegion"); - break; + break; } -case wxRegion_new_1_0: { // wxRegion::wxRegion +case wxRegion_new_1_0: { // wxRegion::wxRegion wxBitmap *bmp = (wxBitmap *) getPtr(bp,memenv); bp += 4; wxRegion * Result = new EwxRegion(*bmp); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxRegion"); - break; + break; } -case wxRegion_Clear: { // wxRegion::Clear +case wxRegion_Clear: { // wxRegion::Clear wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Clear(); - break; + break; } -case wxRegion_Contains_2: { // wxRegion::Contains +case wxRegion_Contains_2: { // wxRegion::Contains wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->Contains((wxCoord) *x,(wxCoord) *y); rt.addInt(Result); - break; + break; } -case wxRegion_Contains_1_0: { // wxRegion::Contains +case wxRegion_Contains_1_0: { // wxRegion::Contains wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; @@ -10531,9 +10531,9 @@ case wxRegion_Contains_1_0: { // wxRegion::Contains if(!This) throw wxe_badarg(0); int Result = This->Contains(pt); rt.addInt(Result); - break; + break; } -case wxRegion_Contains_4: { // wxRegion::Contains +case wxRegion_Contains_4: { // wxRegion::Contains wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; @@ -10542,9 +10542,9 @@ case wxRegion_Contains_4: { // wxRegion::Contains if(!This) throw wxe_badarg(0); int Result = This->Contains((wxCoord) *x,(wxCoord) *y,(wxCoord) *w,(wxCoord) *h); rt.addInt(Result); - break; + break; } -case wxRegion_Contains_1_1: { // wxRegion::Contains +case wxRegion_Contains_1_1: { // wxRegion::Contains wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; int * rectX = (int *) bp; bp += 4; int * rectY = (int *) bp; bp += 4; @@ -10554,23 +10554,23 @@ case wxRegion_Contains_1_1: { // wxRegion::Contains if(!This) throw wxe_badarg(0); int Result = This->Contains(rect); rt.addInt(Result); - break; + break; } -case wxRegion_ConvertToBitmap: { // wxRegion::ConvertToBitmap +case wxRegion_ConvertToBitmap: { // wxRegion::ConvertToBitmap wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxBitmap * Result = new wxBitmap(This->ConvertToBitmap()); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxBitmap"); - break; + break; } -case wxRegion_GetBox: { // wxRegion::GetBox +case wxRegion_GetBox: { // wxRegion::GetBox wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxRect Result = This->GetBox(); rt.add(Result); - break; + break; } -case wxRegion_Intersect_4: { // wxRegion::Intersect +case wxRegion_Intersect_4: { // wxRegion::Intersect wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; @@ -10579,9 +10579,9 @@ case wxRegion_Intersect_4: { // wxRegion::Intersect if(!This) throw wxe_badarg(0); bool Result = This->Intersect((wxCoord) *x,(wxCoord) *y,(wxCoord) *w,(wxCoord) *h); rt.addBool(Result); - break; + break; } -case wxRegion_Intersect_1_1: { // wxRegion::Intersect +case wxRegion_Intersect_1_1: { // wxRegion::Intersect wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; int * rectX = (int *) bp; bp += 4; int * rectY = (int *) bp; bp += 4; @@ -10591,24 +10591,24 @@ case wxRegion_Intersect_1_1: { // wxRegion::Intersect if(!This) throw wxe_badarg(0); bool Result = This->Intersect(rect); rt.addBool(Result); - break; + break; } -case wxRegion_Intersect_1_0: { // wxRegion::Intersect +case wxRegion_Intersect_1_0: { // wxRegion::Intersect wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; wxRegion *region = (wxRegion *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Intersect(*region); rt.addBool(Result); - break; + break; } -case wxRegion_IsEmpty: { // wxRegion::IsEmpty +case wxRegion_IsEmpty: { // wxRegion::IsEmpty wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsEmpty(); rt.addBool(Result); - break; + break; } -case wxRegion_Subtract_4: { // wxRegion::Subtract +case wxRegion_Subtract_4: { // wxRegion::Subtract wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; @@ -10617,9 +10617,9 @@ case wxRegion_Subtract_4: { // wxRegion::Subtract if(!This) throw wxe_badarg(0); bool Result = This->Subtract((wxCoord) *x,(wxCoord) *y,(wxCoord) *w,(wxCoord) *h); rt.addBool(Result); - break; + break; } -case wxRegion_Subtract_1_1: { // wxRegion::Subtract +case wxRegion_Subtract_1_1: { // wxRegion::Subtract wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; int * rectX = (int *) bp; bp += 4; int * rectY = (int *) bp; bp += 4; @@ -10629,26 +10629,26 @@ case wxRegion_Subtract_1_1: { // wxRegion::Subtract if(!This) throw wxe_badarg(0); bool Result = This->Subtract(rect); rt.addBool(Result); - break; + break; } -case wxRegion_Subtract_1_0: { // wxRegion::Subtract +case wxRegion_Subtract_1_0: { // wxRegion::Subtract wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; wxRegion *region = (wxRegion *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Subtract(*region); rt.addBool(Result); - break; + break; } -case wxRegion_Offset_2: { // wxRegion::Offset +case wxRegion_Offset_2: { // wxRegion::Offset wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Offset((wxCoord) *x,(wxCoord) *y); rt.addBool(Result); - break; + break; } -case wxRegion_Offset_1: { // wxRegion::Offset +case wxRegion_Offset_1: { // wxRegion::Offset wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; @@ -10656,9 +10656,9 @@ case wxRegion_Offset_1: { // wxRegion::Offset if(!This) throw wxe_badarg(0); bool Result = This->Offset(pt); rt.addBool(Result); - break; + break; } -case wxRegion_Union_4: { // wxRegion::Union +case wxRegion_Union_4: { // wxRegion::Union wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; @@ -10667,9 +10667,9 @@ case wxRegion_Union_4: { // wxRegion::Union if(!This) throw wxe_badarg(0); bool Result = This->Union((wxCoord) *x,(wxCoord) *y,(wxCoord) *w,(wxCoord) *h); rt.addBool(Result); - break; + break; } -case wxRegion_Union_1_2: { // wxRegion::Union +case wxRegion_Union_1_2: { // wxRegion::Union wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; int * rectX = (int *) bp; bp += 4; int * rectY = (int *) bp; bp += 4; @@ -10679,25 +10679,25 @@ case wxRegion_Union_1_2: { // wxRegion::Union if(!This) throw wxe_badarg(0); bool Result = This->Union(rect); rt.addBool(Result); - break; + break; } -case wxRegion_Union_1_1: { // wxRegion::Union +case wxRegion_Union_1_1: { // wxRegion::Union wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; wxRegion * region = (wxRegion *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Union(*region); rt.addBool(Result); - break; + break; } -case wxRegion_Union_1_0: { // wxRegion::Union +case wxRegion_Union_1_0: { // wxRegion::Union wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; wxBitmap *bmp = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Union(*bmp); rt.addBool(Result); - break; + break; } -case wxRegion_Union_3: { // wxRegion::Union +case wxRegion_Union_3: { // wxRegion::Union int tolerance=0; wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; wxBitmap *bmp = (wxBitmap *) getPtr(bp,memenv); bp += 4; @@ -10706,17 +10706,17 @@ case wxRegion_Union_3: { // wxRegion::Union int * transpB = (int *) bp; bp += 4; int * transpA = (int *) bp; bp += 4; wxColour transp = wxColour(*transpR,*transpG,*transpB,*transpA); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; tolerance = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Union(*bmp,transp,tolerance); rt.addBool(Result); - break; + break; } -case wxRegion_Xor_4: { // wxRegion::Xor +case wxRegion_Xor_4: { // wxRegion::Xor wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; @@ -10725,9 +10725,9 @@ case wxRegion_Xor_4: { // wxRegion::Xor if(!This) throw wxe_badarg(0); bool Result = This->Xor((wxCoord) *x,(wxCoord) *y,(wxCoord) *w,(wxCoord) *h); rt.addBool(Result); - break; + break; } -case wxRegion_Xor_1_1: { // wxRegion::Xor +case wxRegion_Xor_1_1: { // wxRegion::Xor wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; int * rectX = (int *) bp; bp += 4; int * rectY = (int *) bp; bp += 4; @@ -10737,23 +10737,23 @@ case wxRegion_Xor_1_1: { // wxRegion::Xor if(!This) throw wxe_badarg(0); bool Result = This->Xor(rect); rt.addBool(Result); - break; + break; } -case wxRegion_Xor_1_0: { // wxRegion::Xor +case wxRegion_Xor_1_0: { // wxRegion::Xor wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4; wxRegion *region = (wxRegion *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Xor(*region); rt.addBool(Result); - break; + break; } -case wxAcceleratorTable_new_0: { // wxAcceleratorTable::wxAcceleratorTable +case wxAcceleratorTable_new_0: { // wxAcceleratorTable::wxAcceleratorTable wxAcceleratorTable * Result = new EwxAcceleratorTable(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxAcceleratorTable"); - break; + break; } -case wxAcceleratorTable_new_2: { // wxAcceleratorTable::wxAcceleratorTable +case wxAcceleratorTable_new_2: { // wxAcceleratorTable::wxAcceleratorTable int * n = (int *) bp; bp += 4; int * entriesLen = (int *) bp; bp += 4; wxAcceleratorEntry *entries; @@ -10763,21 +10763,21 @@ case wxAcceleratorTable_new_2: { // wxAcceleratorTable::wxAcceleratorTable newPtr((void *) Result, 1, memenv); driver_free(entries); rt.addRef(getRef((void *)Result,memenv), "wxAcceleratorTable"); - break; + break; } -case wxAcceleratorTable_Ok: { // wxAcceleratorTable::Ok +case wxAcceleratorTable_Ok: { // wxAcceleratorTable::Ok wxAcceleratorTable *This = (wxAcceleratorTable *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Ok(); rt.addBool(Result); - break; + break; } -case wxAcceleratorEntry_new_1_0: { // wxAcceleratorEntry::wxAcceleratorEntry +case wxAcceleratorEntry_new_1_0: { // wxAcceleratorEntry::wxAcceleratorEntry int flags=0; int keyCode=0; int cmd=0; wxMenuItem * item=NULL; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; flags = (int)*(int *) bp; bp += 4; } break; @@ -10790,71 +10790,71 @@ case wxAcceleratorEntry_new_1_0: { // wxAcceleratorEntry::wxAcceleratorEntry case 4: {bp += 4; item = (wxMenuItem *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxAcceleratorEntry * Result = new wxAcceleratorEntry(flags,keyCode,cmd,item); newPtr((void *) Result, 69, memenv); rt.addRef(getRef((void *)Result,memenv), "wxAcceleratorEntry"); - break; + break; } -case wxAcceleratorEntry_new_1_1: { // wxAcceleratorEntry::wxAcceleratorEntry +case wxAcceleratorEntry_new_1_1: { // wxAcceleratorEntry::wxAcceleratorEntry wxAcceleratorEntry *entry = (wxAcceleratorEntry *) getPtr(bp,memenv); bp += 4; wxAcceleratorEntry * Result = new wxAcceleratorEntry(*entry); newPtr((void *) Result, 69, memenv); rt.addRef(getRef((void *)Result,memenv), "wxAcceleratorEntry"); - break; + break; } -case wxAcceleratorEntry_GetCommand: { // wxAcceleratorEntry::GetCommand +case wxAcceleratorEntry_GetCommand: { // wxAcceleratorEntry::GetCommand wxAcceleratorEntry *This = (wxAcceleratorEntry *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetCommand(); rt.addInt(Result); - break; + break; } -case wxAcceleratorEntry_GetFlags: { // wxAcceleratorEntry::GetFlags +case wxAcceleratorEntry_GetFlags: { // wxAcceleratorEntry::GetFlags wxAcceleratorEntry *This = (wxAcceleratorEntry *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetFlags(); rt.addInt(Result); - break; + break; } -case wxAcceleratorEntry_GetKeyCode: { // wxAcceleratorEntry::GetKeyCode +case wxAcceleratorEntry_GetKeyCode: { // wxAcceleratorEntry::GetKeyCode wxAcceleratorEntry *This = (wxAcceleratorEntry *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetKeyCode(); rt.addInt(Result); - break; + break; } -case wxAcceleratorEntry_Set: { // wxAcceleratorEntry::Set +case wxAcceleratorEntry_Set: { // wxAcceleratorEntry::Set wxMenuItem * item=NULL; wxAcceleratorEntry *This = (wxAcceleratorEntry *) getPtr(bp,memenv); bp += 4; int * flags = (int *) bp; bp += 4; int * keyCode = (int *) bp; bp += 4; int * cmd = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; item = (wxMenuItem *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Set((int) *flags,(int) *keyCode,(int) *cmd,item); - break; + break; } -case wxAcceleratorEntry_destroy: { // wxAcceleratorEntry::destroy +case wxAcceleratorEntry_destroy: { // wxAcceleratorEntry::destroy wxAcceleratorEntry *This = (wxAcceleratorEntry *) getPtr(bp,memenv); bp += 4; if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This); delete This;} - break; + break; } -case wxCaret_new_3: { // wxCaret::wxCaret +case wxCaret_new_3: { // wxCaret::wxCaret wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; wxCaret * Result = new EwxCaret(window,(int) *width,(int) *height); newPtr((void *) Result, 70, memenv); rt.addRef(getRef((void *)Result,memenv), "wxCaret"); - break; + break; } -case wxCaret_new_2: { // wxCaret::wxCaret +case wxCaret_new_2: { // wxCaret::wxCaret wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; @@ -10862,15 +10862,15 @@ case wxCaret_new_2: { // wxCaret::wxCaret wxCaret * Result = new EwxCaret(window,size); newPtr((void *) Result, 70, memenv); rt.addRef(getRef((void *)Result,memenv), "wxCaret"); - break; + break; } -case wxCaret_destruct: { // wxCaret::~wxCaret +case wxCaret_destruct: { // wxCaret::~wxCaret wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4; if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This); delete This;} - break; + break; } -case wxCaret_Create_3: { // wxCaret::Create +case wxCaret_Create_3: { // wxCaret::Create wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4; wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; @@ -10878,9 +10878,9 @@ case wxCaret_Create_3: { // wxCaret::Create if(!This) throw wxe_badarg(0); bool Result = This->Create(window,(int) *width,(int) *height); rt.addBool(Result); - break; + break; } -case wxCaret_Create_2: { // wxCaret::Create +case wxCaret_Create_2: { // wxCaret::Create wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4; wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; @@ -10889,114 +10889,114 @@ case wxCaret_Create_2: { // wxCaret::Create if(!This) throw wxe_badarg(0); bool Result = This->Create(window,size); rt.addBool(Result); - break; + break; } -case wxCaret_GetBlinkTime: { // wxCaret::GetBlinkTime +case wxCaret_GetBlinkTime: { // wxCaret::GetBlinkTime int Result = wxCaret::GetBlinkTime(); rt.addInt(Result); - break; + break; } -case wxCaret_GetPosition: { // wxCaret::GetPosition +case wxCaret_GetPosition: { // wxCaret::GetPosition wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPoint Result = This->GetPosition(); rt.add(Result); - break; + break; } -case wxCaret_GetSize: { // wxCaret::GetSize +case wxCaret_GetSize: { // wxCaret::GetSize wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetSize(); rt.add(Result); - break; + break; } -case wxCaret_GetWindow: { // wxCaret::GetWindow +case wxCaret_GetWindow: { // wxCaret::GetWindow wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetWindow(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxCaret_Hide: { // wxCaret::Hide +case wxCaret_Hide: { // wxCaret::Hide wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Hide(); - break; + break; } -case wxCaret_IsOk: { // wxCaret::IsOk +case wxCaret_IsOk: { // wxCaret::IsOk wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsOk(); rt.addBool(Result); - break; + break; } -case wxCaret_IsVisible: { // wxCaret::IsVisible +case wxCaret_IsVisible: { // wxCaret::IsVisible wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsVisible(); rt.addBool(Result); - break; + break; } -case wxCaret_Move_2: { // wxCaret::Move +case wxCaret_Move_2: { // wxCaret::Move wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Move((int) *x,(int) *y); - break; + break; } -case wxCaret_Move_1: { // wxCaret::Move +case wxCaret_Move_1: { // wxCaret::Move wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; wxPoint pt = wxPoint(*ptX,*ptY); if(!This) throw wxe_badarg(0); This->Move(pt); - break; + break; } -case wxCaret_SetBlinkTime: { // wxCaret::SetBlinkTime +case wxCaret_SetBlinkTime: { // wxCaret::SetBlinkTime int * milliseconds = (int *) bp; bp += 4; wxCaret::SetBlinkTime((int) *milliseconds); - break; + break; } -case wxCaret_SetSize_2: { // wxCaret::SetSize +case wxCaret_SetSize_2: { // wxCaret::SetSize wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSize((int) *width,(int) *height); - break; + break; } -case wxCaret_SetSize_1: { // wxCaret::SetSize +case wxCaret_SetSize_1: { // wxCaret::SetSize wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; wxSize size = wxSize(*sizeW,*sizeH); if(!This) throw wxe_badarg(0); This->SetSize(size); - break; + break; } -case wxCaret_Show: { // wxCaret::Show +case wxCaret_Show: { // wxCaret::Show bool show=true; wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; show = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Show(show); - break; + break; } -case wxSizer_Add_2_1: { // wxSizer::Add +case wxSizer_Add_2_1: { // wxSizer::Add int proportion=0; int flag=0; int border=0; wxObject * userData=NULL; wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; proportion = (int)*(int *) bp; bp += 4; } break; @@ -11009,20 +11009,20 @@ case wxSizer_Add_2_1: { // wxSizer::Add case 4: {bp += 4; userData = (wxObject *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Add(window,proportion,flag,border,userData); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_Add_2_0: { // wxSizer::Add +case wxSizer_Add_2_0: { // wxSizer::Add int proportion=0; int flag=0; int border=0; wxObject * userData=NULL; wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; proportion = (int)*(int *) bp; bp += 4; } break; @@ -11035,13 +11035,13 @@ case wxSizer_Add_2_0: { // wxSizer::Add case 4: {bp += 4; userData = (wxObject *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Add(sizer,proportion,flag,border,userData); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_Add_3: { // wxSizer::Add +case wxSizer_Add_3: { // wxSizer::Add int proportion=0; int flag=0; int border=0; @@ -11050,7 +11050,7 @@ case wxSizer_Add_3: { // wxSizer::Add int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; proportion = (int)*(int *) bp; bp += 4; } break; @@ -11063,112 +11063,112 @@ case wxSizer_Add_3: { // wxSizer::Add case 4: {bp += 4; userData = (wxObject *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Add((int) *width,(int) *height,proportion,flag,border,userData); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_Add_2_3: { // wxSizer::Add +case wxSizer_Add_2_3: { // wxSizer::Add wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4; wxSizerFlags *flags = (wxSizerFlags *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Add(window,*flags); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_Add_2_2: { // wxSizer::Add +case wxSizer_Add_2_2: { // wxSizer::Add wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; wxSizerFlags *flags = (wxSizerFlags *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Add(sizer,*flags); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_AddSpacer: { // wxSizer::AddSpacer +case wxSizer_AddSpacer: { // wxSizer::AddSpacer wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; int * size = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->AddSpacer((int) *size); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_AddStretchSpacer: { // wxSizer::AddStretchSpacer +case wxSizer_AddStretchSpacer: { // wxSizer::AddStretchSpacer int prop=1; wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; prop = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->AddStretchSpacer(prop); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_CalcMin: { // wxSizer::CalcMin +case wxSizer_CalcMin: { // wxSizer::CalcMin wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->CalcMin(); rt.add(Result); - break; + break; } -case wxSizer_Clear: { // wxSizer::Clear +case wxSizer_Clear: { // wxSizer::Clear bool delete_windows=false; wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; delete_windows = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Clear(delete_windows); - break; + break; } -case wxSizer_Detach_1_2: { // wxSizer::Detach +case wxSizer_Detach_1_2: { // wxSizer::Detach wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Detach(window); rt.addBool(Result); - break; + break; } -case wxSizer_Detach_1_1: { // wxSizer::Detach +case wxSizer_Detach_1_1: { // wxSizer::Detach wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Detach(sizer); rt.addBool(Result); - break; + break; } -case wxSizer_Detach_1_0: { // wxSizer::Detach +case wxSizer_Detach_1_0: { // wxSizer::Detach wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Detach((int) *index); rt.addBool(Result); - break; + break; } -case wxSizer_Fit: { // wxSizer::Fit +case wxSizer_Fit: { // wxSizer::Fit wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->Fit(window); rt.add(Result); - break; + break; } -case wxSizer_FitInside: { // wxSizer::FitInside +case wxSizer_FitInside: { // wxSizer::FitInside wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->FitInside(window); - break; + break; } -case wxSizer_GetChildren: { // wxSizer::GetChildren +case wxSizer_GetChildren: { // wxSizer::GetChildren wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSizerItemList Result = This->GetChildren(); @@ -11177,102 +11177,102 @@ case wxSizer_GetChildren: { // wxSizer::GetChildren wxSizerItem * ResultTmp = *it; rt.addRef(getRef((void *)ResultTmp,memenv), "wxSizerItem"); i++;} rt.endList(Result.GetCount()); - break; + break; } -case wxSizer_GetItem_2_1: { // wxSizer::GetItem +case wxSizer_GetItem_2_1: { // wxSizer::GetItem bool recursive=false; wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; recursive = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->GetItem(window,recursive); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_GetItem_2_0: { // wxSizer::GetItem +case wxSizer_GetItem_2_0: { // wxSizer::GetItem bool recursive=false; wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; recursive = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->GetItem(sizer,recursive); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_GetItem_1: { // wxSizer::GetItem +case wxSizer_GetItem_1: { // wxSizer::GetItem wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->GetItem((size_t) *index); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_GetSize: { // wxSizer::GetSize +case wxSizer_GetSize: { // wxSizer::GetSize wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetSize(); rt.add(Result); - break; + break; } -case wxSizer_GetPosition: { // wxSizer::GetPosition +case wxSizer_GetPosition: { // wxSizer::GetPosition wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPoint Result = This->GetPosition(); rt.add(Result); - break; + break; } -case wxSizer_GetMinSize: { // wxSizer::GetMinSize +case wxSizer_GetMinSize: { // wxSizer::GetMinSize wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetMinSize(); rt.add(Result); - break; + break; } -case wxSizer_Hide_2_0: { // wxSizer::Hide +case wxSizer_Hide_2_0: { // wxSizer::Hide bool recursive=false; wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; recursive = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Hide(sizer,recursive); rt.addBool(Result); - break; + break; } -case wxSizer_Hide_2_1: { // wxSizer::Hide +case wxSizer_Hide_2_1: { // wxSizer::Hide bool recursive=false; wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; recursive = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Hide(window,recursive); rt.addBool(Result); - break; + break; } -case wxSizer_Hide_1: { // wxSizer::Hide +case wxSizer_Hide_1: { // wxSizer::Hide wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Hide((size_t) *index); rt.addBool(Result); - break; + break; } -case wxSizer_Insert_3_1: { // wxSizer::Insert +case wxSizer_Insert_3_1: { // wxSizer::Insert int proportion=0; int flag=0; int border=0; @@ -11281,7 +11281,7 @@ case wxSizer_Insert_3_1: { // wxSizer::Insert int * index = (int *) bp; bp += 4; wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; proportion = (int)*(int *) bp; bp += 4; } break; @@ -11294,13 +11294,13 @@ case wxSizer_Insert_3_1: { // wxSizer::Insert case 4: {bp += 4; userData = (wxObject *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Insert((size_t) *index,window,proportion,flag,border,userData); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_Insert_3_0: { // wxSizer::Insert +case wxSizer_Insert_3_0: { // wxSizer::Insert int proportion=0; int flag=0; int border=0; @@ -11309,7 +11309,7 @@ case wxSizer_Insert_3_0: { // wxSizer::Insert int * index = (int *) bp; bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; proportion = (int)*(int *) bp; bp += 4; } break; @@ -11322,13 +11322,13 @@ case wxSizer_Insert_3_0: { // wxSizer::Insert case 4: {bp += 4; userData = (wxObject *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Insert((size_t) *index,sizer,proportion,flag,border,userData); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_Insert_4: { // wxSizer::Insert +case wxSizer_Insert_4: { // wxSizer::Insert int proportion=0; int flag=0; int border=0; @@ -11337,7 +11337,7 @@ case wxSizer_Insert_4: { // wxSizer::Insert int * index = (int *) bp; bp += 4; int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; proportion = (int)*(int *) bp; bp += 4; } break; @@ -11350,13 +11350,13 @@ case wxSizer_Insert_4: { // wxSizer::Insert case 4: {bp += 4; userData = (wxObject *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Insert((size_t) *index,(int) *width,(int) *height,proportion,flag,border,userData); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_Insert_3_3: { // wxSizer::Insert +case wxSizer_Insert_3_3: { // wxSizer::Insert wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4; @@ -11364,9 +11364,9 @@ case wxSizer_Insert_3_3: { // wxSizer::Insert if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Insert((size_t) *index,window,*flags); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_Insert_3_2: { // wxSizer::Insert +case wxSizer_Insert_3_2: { // wxSizer::Insert wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; @@ -11374,78 +11374,78 @@ case wxSizer_Insert_3_2: { // wxSizer::Insert if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Insert((size_t) *index,sizer,*flags); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_Insert_2: { // wxSizer::Insert +case wxSizer_Insert_2: { // wxSizer::Insert wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; wxSizerItem *item = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Insert((size_t) *index,item); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_InsertSpacer: { // wxSizer::InsertSpacer +case wxSizer_InsertSpacer: { // wxSizer::InsertSpacer wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; int * size = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->InsertSpacer((size_t) *index,(int) *size); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_InsertStretchSpacer: { // wxSizer::InsertStretchSpacer +case wxSizer_InsertStretchSpacer: { // wxSizer::InsertStretchSpacer int prop=1; wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; prop = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->InsertStretchSpacer((size_t) *index,prop); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_IsShown_1_2: { // wxSizer::IsShown +case wxSizer_IsShown_1_2: { // wxSizer::IsShown wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsShown(window); rt.addBool(Result); - break; + break; } -case wxSizer_IsShown_1_1: { // wxSizer::IsShown +case wxSizer_IsShown_1_1: { // wxSizer::IsShown wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsShown(sizer); rt.addBool(Result); - break; + break; } -case wxSizer_IsShown_1_0: { // wxSizer::IsShown +case wxSizer_IsShown_1_0: { // wxSizer::IsShown wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsShown((size_t) *index); rt.addBool(Result); - break; + break; } -case wxSizer_Layout: { // wxSizer::Layout +case wxSizer_Layout: { // wxSizer::Layout wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Layout(); - break; + break; } -case wxSizer_Prepend_2_1: { // wxSizer::Prepend +case wxSizer_Prepend_2_1: { // wxSizer::Prepend int proportion=0; int flag=0; int border=0; wxObject * userData=NULL; wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; proportion = (int)*(int *) bp; bp += 4; } break; @@ -11458,20 +11458,20 @@ case wxSizer_Prepend_2_1: { // wxSizer::Prepend case 4: {bp += 4; userData = (wxObject *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Prepend(window,proportion,flag,border,userData); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_Prepend_2_0: { // wxSizer::Prepend +case wxSizer_Prepend_2_0: { // wxSizer::Prepend int proportion=0; int flag=0; int border=0; wxObject * userData=NULL; wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; proportion = (int)*(int *) bp; bp += 4; } break; @@ -11484,13 +11484,13 @@ case wxSizer_Prepend_2_0: { // wxSizer::Prepend case 4: {bp += 4; userData = (wxObject *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Prepend(sizer,proportion,flag,border,userData); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_Prepend_3: { // wxSizer::Prepend +case wxSizer_Prepend_3: { // wxSizer::Prepend int proportion=0; int flag=0; int border=0; @@ -11499,7 +11499,7 @@ case wxSizer_Prepend_3: { // wxSizer::Prepend int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; proportion = (int)*(int *) bp; bp += 4; } break; @@ -11512,124 +11512,124 @@ case wxSizer_Prepend_3: { // wxSizer::Prepend case 4: {bp += 4; userData = (wxObject *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Prepend((int) *width,(int) *height,proportion,flag,border,userData); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_Prepend_2_3: { // wxSizer::Prepend +case wxSizer_Prepend_2_3: { // wxSizer::Prepend wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4; wxSizerFlags *flags = (wxSizerFlags *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Prepend(window,*flags); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_Prepend_2_2: { // wxSizer::Prepend +case wxSizer_Prepend_2_2: { // wxSizer::Prepend wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; wxSizerFlags *flags = (wxSizerFlags *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Prepend(sizer,*flags); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_Prepend_1: { // wxSizer::Prepend +case wxSizer_Prepend_1: { // wxSizer::Prepend wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxSizerItem *item = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Prepend(item); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_PrependSpacer: { // wxSizer::PrependSpacer +case wxSizer_PrependSpacer: { // wxSizer::PrependSpacer wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; int * size = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->PrependSpacer((int) *size); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_PrependStretchSpacer: { // wxSizer::PrependStretchSpacer +case wxSizer_PrependStretchSpacer: { // wxSizer::PrependStretchSpacer int prop=1; wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; prop = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->PrependStretchSpacer(prop); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizer_RecalcSizes: { // wxSizer::RecalcSizes +case wxSizer_RecalcSizes: { // wxSizer::RecalcSizes wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->RecalcSizes(); - break; + break; } -case wxSizer_Remove_1_1: { // wxSizer::Remove +case wxSizer_Remove_1_1: { // wxSizer::Remove wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Remove(sizer); rt.addBool(Result); - break; + break; } -case wxSizer_Remove_1_0: { // wxSizer::Remove +case wxSizer_Remove_1_0: { // wxSizer::Remove wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Remove((int) *index); rt.addBool(Result); - break; + break; } -case wxSizer_Replace_3_1: { // wxSizer::Replace +case wxSizer_Replace_3_1: { // wxSizer::Replace bool recursive=false; wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxWindow * oldwin = (wxWindow *) getPtr(bp,memenv); bp += 4; wxWindow * newwin = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; recursive = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Replace(oldwin,newwin,recursive); rt.addBool(Result); - break; + break; } -case wxSizer_Replace_3_0: { // wxSizer::Replace +case wxSizer_Replace_3_0: { // wxSizer::Replace bool recursive=false; wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxSizer *oldsz = (wxSizer *) getPtr(bp,memenv); bp += 4; wxSizer *newsz = (wxSizer *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; recursive = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Replace(oldsz,newsz,recursive); rt.addBool(Result); - break; + break; } -case wxSizer_Replace_2: { // wxSizer::Replace +case wxSizer_Replace_2: { // wxSizer::Replace wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; wxSizerItem *newitem = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Replace((size_t) *index,newitem); rt.addBool(Result); - break; + break; } -case wxSizer_SetDimension: { // wxSizer::SetDimension +case wxSizer_SetDimension: { // wxSizer::SetDimension wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; @@ -11637,26 +11637,26 @@ case wxSizer_SetDimension: { // wxSizer::SetDimension int * height = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetDimension((int) *x,(int) *y,(int) *width,(int) *height); - break; + break; } -case wxSizer_SetMinSize_2: { // wxSizer::SetMinSize +case wxSizer_SetMinSize_2: { // wxSizer::SetMinSize wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMinSize((int) *width,(int) *height); - break; + break; } -case wxSizer_SetMinSize_1: { // wxSizer::SetMinSize +case wxSizer_SetMinSize_1: { // wxSizer::SetMinSize wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; wxSize size = wxSize(*sizeW,*sizeH); if(!This) throw wxe_badarg(0); This->SetMinSize(size); - break; + break; } -case wxSizer_SetItemMinSize_3_2: { // wxSizer::SetItemMinSize +case wxSizer_SetItemMinSize_3_2: { // wxSizer::SetItemMinSize wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; @@ -11664,9 +11664,9 @@ case wxSizer_SetItemMinSize_3_2: { // wxSizer::SetItemMinSize if(!This) throw wxe_badarg(0); bool Result = This->SetItemMinSize(window,(int) *width,(int) *height); rt.addBool(Result); - break; + break; } -case wxSizer_SetItemMinSize_2_2: { // wxSizer::SetItemMinSize +case wxSizer_SetItemMinSize_2_2: { // wxSizer::SetItemMinSize wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; @@ -11675,9 +11675,9 @@ case wxSizer_SetItemMinSize_2_2: { // wxSizer::SetItemMinSize if(!This) throw wxe_badarg(0); bool Result = This->SetItemMinSize(window,size); rt.addBool(Result); - break; + break; } -case wxSizer_SetItemMinSize_3_1: { // wxSizer::SetItemMinSize +case wxSizer_SetItemMinSize_3_1: { // wxSizer::SetItemMinSize wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; @@ -11685,9 +11685,9 @@ case wxSizer_SetItemMinSize_3_1: { // wxSizer::SetItemMinSize if(!This) throw wxe_badarg(0); bool Result = This->SetItemMinSize(sizer,(int) *width,(int) *height); rt.addBool(Result); - break; + break; } -case wxSizer_SetItemMinSize_2_1: { // wxSizer::SetItemMinSize +case wxSizer_SetItemMinSize_2_1: { // wxSizer::SetItemMinSize wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; @@ -11696,9 +11696,9 @@ case wxSizer_SetItemMinSize_2_1: { // wxSizer::SetItemMinSize if(!This) throw wxe_badarg(0); bool Result = This->SetItemMinSize(sizer,size); rt.addBool(Result); - break; + break; } -case wxSizer_SetItemMinSize_3_0: { // wxSizer::SetItemMinSize +case wxSizer_SetItemMinSize_3_0: { // wxSizer::SetItemMinSize wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; int * width = (int *) bp; bp += 4; @@ -11706,9 +11706,9 @@ case wxSizer_SetItemMinSize_3_0: { // wxSizer::SetItemMinSize if(!This) throw wxe_badarg(0); bool Result = This->SetItemMinSize((size_t) *index,(int) *width,(int) *height); rt.addBool(Result); - break; + break; } -case wxSizer_SetItemMinSize_2_0: { // wxSizer::SetItemMinSize +case wxSizer_SetItemMinSize_2_0: { // wxSizer::SetItemMinSize wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; int * sizeW = (int *) bp; bp += 4; @@ -11717,172 +11717,172 @@ case wxSizer_SetItemMinSize_2_0: { // wxSizer::SetItemMinSize if(!This) throw wxe_badarg(0); bool Result = This->SetItemMinSize((size_t) *index,size); rt.addBool(Result); - break; + break; } -case wxSizer_SetSizeHints: { // wxSizer::SetSizeHints +case wxSizer_SetSizeHints: { // wxSizer::SetSizeHints wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetSizeHints(window); - break; + break; } -case wxSizer_SetVirtualSizeHints: { // wxSizer::SetVirtualSizeHints +case wxSizer_SetVirtualSizeHints: { // wxSizer::SetVirtualSizeHints wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetVirtualSizeHints(window); - break; + break; } -case wxSizer_Show_2_2: { // wxSizer::Show +case wxSizer_Show_2_2: { // wxSizer::Show bool show=true; bool recursive=false; wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; show = *(bool *) bp; bp += 4; } break; case 2: {bp += 4; recursive = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Show(window,show,recursive); rt.addBool(Result); - break; + break; } -case wxSizer_Show_2_1: { // wxSizer::Show +case wxSizer_Show_2_1: { // wxSizer::Show bool show=true; bool recursive=false; wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; show = *(bool *) bp; bp += 4; } break; case 2: {bp += 4; recursive = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Show(sizer,show,recursive); rt.addBool(Result); - break; + break; } -case wxSizer_Show_2_0: { // wxSizer::Show +case wxSizer_Show_2_0: { // wxSizer::Show bool show=true; wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; show = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Show((size_t) *index,show); rt.addBool(Result); - break; + break; } -case wxSizer_Show_1: { // wxSizer::Show +case wxSizer_Show_1: { // wxSizer::Show wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4; bool * show = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Show((bool) *show); - break; + break; } -case wxSizerFlags_new: { // wxSizerFlags::wxSizerFlags +case wxSizerFlags_new: { // wxSizerFlags::wxSizerFlags int proportion=0; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; proportion = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxSizerFlags * Result = new wxSizerFlags(proportion); newPtr((void *) Result, 72, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSizerFlags"); - break; + break; } -case wxSizerFlags_Align: { // wxSizerFlags::Align +case wxSizerFlags_Align: { // wxSizerFlags::Align wxSizerFlags *This = (wxSizerFlags *) getPtr(bp,memenv); bp += 4; int * alignment = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxSizerFlags * Result = &This->Align((int) *alignment); rt.addRef(getRef((void *)Result,memenv), "wxSizerFlags"); - break; + break; } -case wxSizerFlags_Border_2: { // wxSizerFlags::Border +case wxSizerFlags_Border_2: { // wxSizerFlags::Border wxSizerFlags *This = (wxSizerFlags *) getPtr(bp,memenv); bp += 4; int * direction = (int *) bp; bp += 4; int * borderInPixels = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxSizerFlags * Result = &This->Border((int) *direction,(int) *borderInPixels); rt.addRef(getRef((void *)Result,memenv), "wxSizerFlags"); - break; + break; } -case wxSizerFlags_Border_1: { // wxSizerFlags::Border +case wxSizerFlags_Border_1: { // wxSizerFlags::Border int direction=wxALL; wxSizerFlags *This = (wxSizerFlags *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; direction = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxSizerFlags * Result = &This->Border(direction); rt.addRef(getRef((void *)Result,memenv), "wxSizerFlags"); - break; + break; } -case wxSizerFlags_Center: { // wxSizerFlags::Center +case wxSizerFlags_Center: { // wxSizerFlags::Center wxSizerFlags *This = (wxSizerFlags *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSizerFlags * Result = &This->Center(); rt.addRef(getRef((void *)Result,memenv), "wxSizerFlags"); - break; + break; } -case wxSizerFlags_Centre: { // wxSizerFlags::Centre +case wxSizerFlags_Centre: { // wxSizerFlags::Centre wxSizerFlags *This = (wxSizerFlags *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSizerFlags * Result = &This->Centre(); rt.addRef(getRef((void *)Result,memenv), "wxSizerFlags"); - break; + break; } -case wxSizerFlags_Expand: { // wxSizerFlags::Expand +case wxSizerFlags_Expand: { // wxSizerFlags::Expand wxSizerFlags *This = (wxSizerFlags *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSizerFlags * Result = &This->Expand(); rt.addRef(getRef((void *)Result,memenv), "wxSizerFlags"); - break; + break; } -case wxSizerFlags_Left: { // wxSizerFlags::Left +case wxSizerFlags_Left: { // wxSizerFlags::Left wxSizerFlags *This = (wxSizerFlags *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSizerFlags * Result = &This->Left(); rt.addRef(getRef((void *)Result,memenv), "wxSizerFlags"); - break; + break; } -case wxSizerFlags_Proportion: { // wxSizerFlags::Proportion +case wxSizerFlags_Proportion: { // wxSizerFlags::Proportion wxSizerFlags *This = (wxSizerFlags *) getPtr(bp,memenv); bp += 4; int * proportion = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxSizerFlags * Result = &This->Proportion((int) *proportion); rt.addRef(getRef((void *)Result,memenv), "wxSizerFlags"); - break; + break; } -case wxSizerFlags_Right: { // wxSizerFlags::Right +case wxSizerFlags_Right: { // wxSizerFlags::Right wxSizerFlags *This = (wxSizerFlags *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSizerFlags * Result = &This->Right(); rt.addRef(getRef((void *)Result,memenv), "wxSizerFlags"); - break; + break; } -case wxSizerFlags_destroy: { // wxSizerFlags::destroy +case wxSizerFlags_destroy: { // wxSizerFlags::destroy wxSizerFlags *This = (wxSizerFlags *) getPtr(bp,memenv); bp += 4; if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This); delete This;} - break; + break; } -case wxSizerItem_new_5_1: { // wxSizerItem::wxSizerItem +case wxSizerItem_new_5_1: { // wxSizerItem::wxSizerItem wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4; int * proportion = (int *) bp; bp += 4; int * flag = (int *) bp; bp += 4; @@ -11891,17 +11891,17 @@ case wxSizerItem_new_5_1: { // wxSizerItem::wxSizerItem wxSizerItem * Result = new EwxSizerItem(window,(int) *proportion,(int) *flag,(int) *border,userData); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizerItem_new_2_1: { // wxSizerItem::wxSizerItem +case wxSizerItem_new_2_1: { // wxSizerItem::wxSizerItem wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4; wxSizerFlags *flags = (wxSizerFlags *) getPtr(bp,memenv); bp += 4; wxSizerItem * Result = new EwxSizerItem(window,*flags); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizerItem_new_5_0: { // wxSizerItem::wxSizerItem +case wxSizerItem_new_5_0: { // wxSizerItem::wxSizerItem wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; int * proportion = (int *) bp; bp += 4; int * flag = (int *) bp; bp += 4; @@ -11910,17 +11910,17 @@ case wxSizerItem_new_5_0: { // wxSizerItem::wxSizerItem wxSizerItem * Result = new EwxSizerItem(sizer,(int) *proportion,(int) *flag,(int) *border,userData); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizerItem_new_2_0: { // wxSizerItem::wxSizerItem +case wxSizerItem_new_2_0: { // wxSizerItem::wxSizerItem wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; wxSizerFlags *flags = (wxSizerFlags *) getPtr(bp,memenv); bp += 4; wxSizerItem * Result = new EwxSizerItem(sizer,*flags); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizerItem_new_6: { // wxSizerItem::wxSizerItem +case wxSizerItem_new_6: { // wxSizerItem::wxSizerItem int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; int * proportion = (int *) bp; bp += 4; @@ -11930,162 +11930,162 @@ case wxSizerItem_new_6: { // wxSizerItem::wxSizerItem wxSizerItem * Result = new EwxSizerItem((int) *width,(int) *height,(int) *proportion,(int) *flag,(int) *border,userData); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizerItem_new_3: { // wxSizerItem::wxSizerItem +case wxSizerItem_new_3: { // wxSizerItem::wxSizerItem int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; wxSizerFlags *flags = (wxSizerFlags *) getPtr(bp,memenv); bp += 4; wxSizerItem * Result = new EwxSizerItem((int) *width,(int) *height,*flags); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizerItem_new_0: { // wxSizerItem::wxSizerItem +case wxSizerItem_new_0: { // wxSizerItem::wxSizerItem wxSizerItem * Result = new EwxSizerItem(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxSizerItem_CalcMin: { // wxSizerItem::CalcMin +case wxSizerItem_CalcMin: { // wxSizerItem::CalcMin wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->CalcMin(); rt.add(Result); - break; + break; } -case wxSizerItem_DeleteWindows: { // wxSizerItem::DeleteWindows +case wxSizerItem_DeleteWindows: { // wxSizerItem::DeleteWindows wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->DeleteWindows(); - break; + break; } -case wxSizerItem_DetachSizer: { // wxSizerItem::DetachSizer +case wxSizerItem_DetachSizer: { // wxSizerItem::DetachSizer wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->DetachSizer(); - break; + break; } -case wxSizerItem_GetBorder: { // wxSizerItem::GetBorder +case wxSizerItem_GetBorder: { // wxSizerItem::GetBorder wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetBorder(); rt.addInt(Result); - break; + break; } -case wxSizerItem_GetFlag: { // wxSizerItem::GetFlag +case wxSizerItem_GetFlag: { // wxSizerItem::GetFlag wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetFlag(); rt.addInt(Result); - break; + break; } -case wxSizerItem_GetMinSize: { // wxSizerItem::GetMinSize +case wxSizerItem_GetMinSize: { // wxSizerItem::GetMinSize wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetMinSize(); rt.add(Result); - break; + break; } -case wxSizerItem_GetPosition: { // wxSizerItem::GetPosition +case wxSizerItem_GetPosition: { // wxSizerItem::GetPosition wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPoint Result = This->GetPosition(); rt.add(Result); - break; + break; } -case wxSizerItem_GetProportion: { // wxSizerItem::GetProportion +case wxSizerItem_GetProportion: { // wxSizerItem::GetProportion wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetProportion(); rt.addInt(Result); - break; + break; } -case wxSizerItem_GetRatio: { // wxSizerItem::GetRatio +case wxSizerItem_GetRatio: { // wxSizerItem::GetRatio wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); float Result = This->GetRatio(); rt.addFloat(Result); - break; + break; } -case wxSizerItem_GetRect: { // wxSizerItem::GetRect +case wxSizerItem_GetRect: { // wxSizerItem::GetRect wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxRect Result = This->GetRect(); rt.add(Result); - break; + break; } -case wxSizerItem_GetSize: { // wxSizerItem::GetSize +case wxSizerItem_GetSize: { // wxSizerItem::GetSize wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetSize(); rt.add(Result); - break; + break; } -case wxSizerItem_GetSizer: { // wxSizerItem::GetSizer +case wxSizerItem_GetSizer: { // wxSizerItem::GetSizer wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSizer * Result = (wxSizer*)This->GetSizer(); rt.addRef(getRef((void *)Result,memenv), "wxSizer"); - break; + break; } -case wxSizerItem_GetSpacer: { // wxSizerItem::GetSpacer +case wxSizerItem_GetSpacer: { // wxSizerItem::GetSpacer wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetSpacer(); rt.add(Result); - break; + break; } -case wxSizerItem_GetUserData: { // wxSizerItem::GetUserData +case wxSizerItem_GetUserData: { // wxSizerItem::GetUserData wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxObject * Result = (wxObject*)This->GetUserData(); rt.addRef(getRef((void *)Result,memenv), "wx"); - break; + break; } -case wxSizerItem_GetWindow: { // wxSizerItem::GetWindow +case wxSizerItem_GetWindow: { // wxSizerItem::GetWindow wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetWindow(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxSizerItem_IsSizer: { // wxSizerItem::IsSizer +case wxSizerItem_IsSizer: { // wxSizerItem::IsSizer wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsSizer(); rt.addBool(Result); - break; + break; } -case wxSizerItem_IsShown: { // wxSizerItem::IsShown +case wxSizerItem_IsShown: { // wxSizerItem::IsShown wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsShown(); rt.addBool(Result); - break; + break; } -case wxSizerItem_IsSpacer: { // wxSizerItem::IsSpacer +case wxSizerItem_IsSpacer: { // wxSizerItem::IsSpacer wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsSpacer(); rt.addBool(Result); - break; + break; } -case wxSizerItem_IsWindow: { // wxSizerItem::IsWindow +case wxSizerItem_IsWindow: { // wxSizerItem::IsWindow wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsWindow(); rt.addBool(Result); - break; + break; } -case wxSizerItem_SetBorder: { // wxSizerItem::SetBorder +case wxSizerItem_SetBorder: { // wxSizerItem::SetBorder wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; int * border = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetBorder((int) *border); - break; + break; } -case wxSizerItem_SetDimension: { // wxSizerItem::SetDimension +case wxSizerItem_SetDimension: { // wxSizerItem::SetDimension wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -12095,155 +12095,155 @@ case wxSizerItem_SetDimension: { // wxSizerItem::SetDimension wxSize size = wxSize(*sizeW,*sizeH); if(!This) throw wxe_badarg(0); This->SetDimension(pos,size); - break; + break; } -case wxSizerItem_SetFlag: { // wxSizerItem::SetFlag +case wxSizerItem_SetFlag: { // wxSizerItem::SetFlag wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; int * flag = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetFlag((int) *flag); - break; + break; } -case wxSizerItem_SetInitSize: { // wxSizerItem::SetInitSize +case wxSizerItem_SetInitSize: { // wxSizerItem::SetInitSize wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetInitSize((int) *x,(int) *y); - break; + break; } -case wxSizerItem_SetMinSize_1: { // wxSizerItem::SetMinSize +case wxSizerItem_SetMinSize_1: { // wxSizerItem::SetMinSize wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; wxSize size = wxSize(*sizeW,*sizeH); if(!This) throw wxe_badarg(0); This->SetMinSize(size); - break; + break; } -case wxSizerItem_SetMinSize_2: { // wxSizerItem::SetMinSize +case wxSizerItem_SetMinSize_2: { // wxSizerItem::SetMinSize wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMinSize((int) *x,(int) *y); - break; + break; } -case wxSizerItem_SetProportion: { // wxSizerItem::SetProportion +case wxSizerItem_SetProportion: { // wxSizerItem::SetProportion wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; int * proportion = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetProportion((int) *proportion); - break; + break; } -case wxSizerItem_SetRatio_2: { // wxSizerItem::SetRatio +case wxSizerItem_SetRatio_2: { // wxSizerItem::SetRatio wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetRatio((int) *width,(int) *height); - break; + break; } -case wxSizerItem_SetRatio_1_1: { // wxSizerItem::SetRatio +case wxSizerItem_SetRatio_1_1: { // wxSizerItem::SetRatio wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; wxSize size = wxSize(*sizeW,*sizeH); if(!This) throw wxe_badarg(0); This->SetRatio(size); - break; + break; } -case wxSizerItem_SetRatio_1_0: { // wxSizerItem::SetRatio +case wxSizerItem_SetRatio_1_0: { // wxSizerItem::SetRatio wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; float * ratio = (float *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetRatio((float) *ratio); - break; + break; } -case wxSizerItem_SetSizer: { // wxSizerItem::SetSizer +case wxSizerItem_SetSizer: { // wxSizerItem::SetSizer wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetSizer(sizer); - break; + break; } -case wxSizerItem_SetSpacer_1: { // wxSizerItem::SetSpacer +case wxSizerItem_SetSpacer_1: { // wxSizerItem::SetSpacer wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; wxSize size = wxSize(*sizeW,*sizeH); if(!This) throw wxe_badarg(0); This->SetSpacer(size); - break; + break; } -case wxSizerItem_SetSpacer_2: { // wxSizerItem::SetSpacer +case wxSizerItem_SetSpacer_2: { // wxSizerItem::SetSpacer wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSpacer((int) *width,(int) *height); - break; + break; } -case wxSizerItem_SetWindow: { // wxSizerItem::SetWindow +case wxSizerItem_SetWindow: { // wxSizerItem::SetWindow wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetWindow(window); - break; + break; } -case wxSizerItem_Show: { // wxSizerItem::Show +case wxSizerItem_Show: { // wxSizerItem::Show wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4; bool * show = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Show((bool) *show); - break; + break; } -case wxBoxSizer_new: { // wxBoxSizer::wxBoxSizer +case wxBoxSizer_new: { // wxBoxSizer::wxBoxSizer int * orient = (int *) bp; bp += 4; wxBoxSizer * Result = new EwxBoxSizer((int) *orient); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxBoxSizer"); - break; + break; } -case wxBoxSizer_GetOrientation: { // wxBoxSizer::GetOrientation +case wxBoxSizer_GetOrientation: { // wxBoxSizer::GetOrientation wxBoxSizer *This = (wxBoxSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetOrientation(); rt.addInt(Result); - break; + break; } -case wxStaticBoxSizer_new_2: { // wxStaticBoxSizer::wxStaticBoxSizer +case wxStaticBoxSizer_new_2: { // wxStaticBoxSizer::wxStaticBoxSizer wxStaticBox *box = (wxStaticBox *) getPtr(bp,memenv); bp += 4; int * orient = (int *) bp; bp += 4; wxStaticBoxSizer * Result = new EwxStaticBoxSizer(box,(int) *orient); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxStaticBoxSizer"); - break; + break; } -case wxStaticBoxSizer_new_3: { // wxStaticBoxSizer::wxStaticBoxSizer +case wxStaticBoxSizer_new_3: { // wxStaticBoxSizer::wxStaticBoxSizer wxString label= wxEmptyString; int * orient = (int *) bp; bp += 4; wxWindow *win = (wxWindow *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * labelLen = (int *) bp; bp += 4; label = wxString(bp, wxConvUTF8); bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7); } break; - }}; + }}; wxStaticBoxSizer * Result = new EwxStaticBoxSizer((int) *orient,win,label); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxStaticBoxSizer"); - break; + break; } -case wxStaticBoxSizer_GetStaticBox: { // wxStaticBoxSizer::GetStaticBox +case wxStaticBoxSizer_GetStaticBox: { // wxStaticBoxSizer::GetStaticBox wxStaticBoxSizer *This = (wxStaticBoxSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxStaticBox * Result = (wxStaticBox*)This->GetStaticBox(); rt.addRef(getRef((void *)Result,memenv), "wxStaticBox"); - break; + break; } -case wxGridSizer_new_4: { // wxGridSizer::wxGridSizer +case wxGridSizer_new_4: { // wxGridSizer::wxGridSizer int * rows = (int *) bp; bp += 4; int * cols = (int *) bp; bp += 4; int * vgap = (int *) bp; bp += 4; @@ -12251,83 +12251,83 @@ case wxGridSizer_new_4: { // wxGridSizer::wxGridSizer wxGridSizer * Result = new EwxGridSizer((int) *rows,(int) *cols,(int) *vgap,(int) *hgap); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxGridSizer"); - break; + break; } -case wxGridSizer_new_2: { // wxGridSizer::wxGridSizer +case wxGridSizer_new_2: { // wxGridSizer::wxGridSizer int vgap=0; int hgap=0; int * cols = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; vgap = (int)*(int *) bp; bp += 4; } break; case 2: {bp += 4; hgap = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxGridSizer * Result = new EwxGridSizer((int) *cols,vgap,hgap); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxGridSizer"); - break; + break; } -case wxGridSizer_GetCols: { // wxGridSizer::GetCols +case wxGridSizer_GetCols: { // wxGridSizer::GetCols wxGridSizer *This = (wxGridSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetCols(); rt.addInt(Result); - break; + break; } -case wxGridSizer_GetHGap: { // wxGridSizer::GetHGap +case wxGridSizer_GetHGap: { // wxGridSizer::GetHGap wxGridSizer *This = (wxGridSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetHGap(); rt.addInt(Result); - break; + break; } -case wxGridSizer_GetRows: { // wxGridSizer::GetRows +case wxGridSizer_GetRows: { // wxGridSizer::GetRows wxGridSizer *This = (wxGridSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetRows(); rt.addInt(Result); - break; + break; } -case wxGridSizer_GetVGap: { // wxGridSizer::GetVGap +case wxGridSizer_GetVGap: { // wxGridSizer::GetVGap wxGridSizer *This = (wxGridSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetVGap(); rt.addInt(Result); - break; + break; } -case wxGridSizer_SetCols: { // wxGridSizer::SetCols +case wxGridSizer_SetCols: { // wxGridSizer::SetCols wxGridSizer *This = (wxGridSizer *) getPtr(bp,memenv); bp += 4; int * cols = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetCols((int) *cols); - break; + break; } -case wxGridSizer_SetHGap: { // wxGridSizer::SetHGap +case wxGridSizer_SetHGap: { // wxGridSizer::SetHGap wxGridSizer *This = (wxGridSizer *) getPtr(bp,memenv); bp += 4; int * gap = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetHGap((int) *gap); - break; + break; } -case wxGridSizer_SetRows: { // wxGridSizer::SetRows +case wxGridSizer_SetRows: { // wxGridSizer::SetRows wxGridSizer *This = (wxGridSizer *) getPtr(bp,memenv); bp += 4; int * rows = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetRows((int) *rows); - break; + break; } -case wxGridSizer_SetVGap: { // wxGridSizer::SetVGap +case wxGridSizer_SetVGap: { // wxGridSizer::SetVGap wxGridSizer *This = (wxGridSizer *) getPtr(bp,memenv); bp += 4; int * gap = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetVGap((int) *gap); - break; + break; } -case wxFlexGridSizer_new_4: { // wxFlexGridSizer::wxFlexGridSizer +case wxFlexGridSizer_new_4: { // wxFlexGridSizer::wxFlexGridSizer int * rows = (int *) bp; bp += 4; int * cols = (int *) bp; bp += 4; int * vgap = (int *) bp; bp += 4; @@ -12335,111 +12335,111 @@ case wxFlexGridSizer_new_4: { // wxFlexGridSizer::wxFlexGridSizer wxFlexGridSizer * Result = new EwxFlexGridSizer((int) *rows,(int) *cols,(int) *vgap,(int) *hgap); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxFlexGridSizer"); - break; + break; } -case wxFlexGridSizer_new_2: { // wxFlexGridSizer::wxFlexGridSizer +case wxFlexGridSizer_new_2: { // wxFlexGridSizer::wxFlexGridSizer int vgap=0; int hgap=0; int * cols = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; vgap = (int)*(int *) bp; bp += 4; } break; case 2: {bp += 4; hgap = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxFlexGridSizer * Result = new EwxFlexGridSizer((int) *cols,vgap,hgap); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxFlexGridSizer"); - break; + break; } -case wxFlexGridSizer_AddGrowableCol: { // wxFlexGridSizer::AddGrowableCol +case wxFlexGridSizer_AddGrowableCol: { // wxFlexGridSizer::AddGrowableCol int proportion=0; wxFlexGridSizer *This = (wxFlexGridSizer *) getPtr(bp,memenv); bp += 4; int * idx = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; proportion = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->AddGrowableCol((size_t) *idx,proportion); - break; + break; } -case wxFlexGridSizer_AddGrowableRow: { // wxFlexGridSizer::AddGrowableRow +case wxFlexGridSizer_AddGrowableRow: { // wxFlexGridSizer::AddGrowableRow int proportion=0; wxFlexGridSizer *This = (wxFlexGridSizer *) getPtr(bp,memenv); bp += 4; int * idx = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; proportion = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->AddGrowableRow((size_t) *idx,proportion); - break; + break; } -case wxFlexGridSizer_GetFlexibleDirection: { // wxFlexGridSizer::GetFlexibleDirection +case wxFlexGridSizer_GetFlexibleDirection: { // wxFlexGridSizer::GetFlexibleDirection wxFlexGridSizer *This = (wxFlexGridSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetFlexibleDirection(); rt.addInt(Result); - break; + break; } -case wxFlexGridSizer_GetNonFlexibleGrowMode: { // wxFlexGridSizer::GetNonFlexibleGrowMode +case wxFlexGridSizer_GetNonFlexibleGrowMode: { // wxFlexGridSizer::GetNonFlexibleGrowMode wxFlexGridSizer *This = (wxFlexGridSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetNonFlexibleGrowMode(); rt.addInt(Result); - break; + break; } -case wxFlexGridSizer_RemoveGrowableCol: { // wxFlexGridSizer::RemoveGrowableCol +case wxFlexGridSizer_RemoveGrowableCol: { // wxFlexGridSizer::RemoveGrowableCol wxFlexGridSizer *This = (wxFlexGridSizer *) getPtr(bp,memenv); bp += 4; int * idx = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->RemoveGrowableCol((size_t) *idx); - break; + break; } -case wxFlexGridSizer_RemoveGrowableRow: { // wxFlexGridSizer::RemoveGrowableRow +case wxFlexGridSizer_RemoveGrowableRow: { // wxFlexGridSizer::RemoveGrowableRow wxFlexGridSizer *This = (wxFlexGridSizer *) getPtr(bp,memenv); bp += 4; int * idx = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->RemoveGrowableRow((size_t) *idx); - break; + break; } -case wxFlexGridSizer_SetFlexibleDirection: { // wxFlexGridSizer::SetFlexibleDirection +case wxFlexGridSizer_SetFlexibleDirection: { // wxFlexGridSizer::SetFlexibleDirection wxFlexGridSizer *This = (wxFlexGridSizer *) getPtr(bp,memenv); bp += 4; int * direction = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetFlexibleDirection((int) *direction); - break; + break; } -case wxFlexGridSizer_SetNonFlexibleGrowMode: { // wxFlexGridSizer::SetNonFlexibleGrowMode +case wxFlexGridSizer_SetNonFlexibleGrowMode: { // wxFlexGridSizer::SetNonFlexibleGrowMode wxFlexGridSizer *This = (wxFlexGridSizer *) getPtr(bp,memenv); bp += 4; wxFlexSizerGrowMode mode = *(wxFlexSizerGrowMode *) bp; bp += 4;; if(!This) throw wxe_badarg(0); This->SetNonFlexibleGrowMode((wxFlexSizerGrowMode) mode); - break; + break; } -case wxGridBagSizer_new: { // wxGridBagSizer::wxGridBagSizer +case wxGridBagSizer_new: { // wxGridBagSizer::wxGridBagSizer int vgap=0; int hgap=0; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; vgap = (int)*(int *) bp; bp += 4; } break; case 2: {bp += 4; hgap = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxGridBagSizer * Result = new EwxGridBagSizer(vgap,hgap); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxGridBagSizer"); - break; + break; } -case wxGridBagSizer_Add_3_2: { // wxGridBagSizer::Add +case wxGridBagSizer_Add_3_2: { // wxGridBagSizer::Add wxGBSpan span= wxDefaultSpan; int flag=0; int border=0; @@ -12449,7 +12449,7 @@ case wxGridBagSizer_Add_3_2: { // wxGridBagSizer::Add int * posR = (int *) bp; bp += 4; int * posC = (int *) bp; bp += 4; wxGBPosition pos = wxGBPosition(*posR,*posC); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * spanRS = (int *) bp; bp += 4; int * spanCS = (int *) bp; bp += 4; @@ -12465,13 +12465,13 @@ case wxGridBagSizer_Add_3_2: { // wxGridBagSizer::Add case 4: {bp += 4; userData = (wxObject *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Add(window,pos,span,flag,border,userData); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxGridBagSizer_Add_3_1: { // wxGridBagSizer::Add +case wxGridBagSizer_Add_3_1: { // wxGridBagSizer::Add wxGBSpan span= wxDefaultSpan; int flag=0; int border=0; @@ -12481,7 +12481,7 @@ case wxGridBagSizer_Add_3_1: { // wxGridBagSizer::Add int * posR = (int *) bp; bp += 4; int * posC = (int *) bp; bp += 4; wxGBPosition pos = wxGBPosition(*posR,*posC); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * spanRS = (int *) bp; bp += 4; int * spanCS = (int *) bp; bp += 4; @@ -12497,13 +12497,13 @@ case wxGridBagSizer_Add_3_1: { // wxGridBagSizer::Add case 4: {bp += 4; userData = (wxObject *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Add(sizer,pos,span,flag,border,userData); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxGridBagSizer_Add_4: { // wxGridBagSizer::Add +case wxGridBagSizer_Add_4: { // wxGridBagSizer::Add wxGBSpan span= wxDefaultSpan; int flag=0; int border=0; @@ -12515,7 +12515,7 @@ case wxGridBagSizer_Add_4: { // wxGridBagSizer::Add int * posC = (int *) bp; bp += 4; wxGBPosition pos = wxGBPosition(*posR,*posC); bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * spanRS = (int *) bp; bp += 4; int * spanCS = (int *) bp; bp += 4; @@ -12531,28 +12531,28 @@ case wxGridBagSizer_Add_4: { // wxGridBagSizer::Add case 4: {bp += 4; userData = (wxObject *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Add((int) *width,(int) *height,pos,span,flag,border,userData); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxGridBagSizer_Add_1_0: { // wxGridBagSizer::Add +case wxGridBagSizer_Add_1_0: { // wxGridBagSizer::Add wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; wxGBSizerItem *item = (wxGBSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Add(item); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxGridBagSizer_Add_2_1: { // wxGridBagSizer::Add +case wxGridBagSizer_Add_2_1: { // wxGridBagSizer::Add int proportion=0; int flag=0; int border=0; wxObject * userData=NULL; wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; proportion = (int)*(int *) bp; bp += 4; } break; @@ -12565,20 +12565,20 @@ case wxGridBagSizer_Add_2_1: { // wxGridBagSizer::Add case 4: {bp += 4; userData = (wxObject *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Add(window,proportion,flag,border,userData); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxGridBagSizer_Add_2_0: { // wxGridBagSizer::Add +case wxGridBagSizer_Add_2_0: { // wxGridBagSizer::Add int proportion=0; int flag=0; int border=0; wxObject * userData=NULL; wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; proportion = (int)*(int *) bp; bp += 4; } break; @@ -12591,13 +12591,13 @@ case wxGridBagSizer_Add_2_0: { // wxGridBagSizer::Add case 4: {bp += 4; userData = (wxObject *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Add(sizer,proportion,flag,border,userData); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxGridBagSizer_Add_3_0: { // wxGridBagSizer::Add +case wxGridBagSizer_Add_3_0: { // wxGridBagSizer::Add int proportion=0; int flag=0; int border=0; @@ -12606,7 +12606,7 @@ case wxGridBagSizer_Add_3_0: { // wxGridBagSizer::Add int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; proportion = (int)*(int *) bp; bp += 4; } break; @@ -12619,42 +12619,42 @@ case wxGridBagSizer_Add_3_0: { // wxGridBagSizer::Add case 4: {bp += 4; userData = (wxObject *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Add((int) *width,(int) *height,proportion,flag,border,userData); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxGridBagSizer_Add_1_1: { // wxGridBagSizer::Add +case wxGridBagSizer_Add_1_1: { // wxGridBagSizer::Add wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; wxSizerItem * item = (wxSizerItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSizerItem * Result = (wxSizerItem*)This->Add(item); rt.addRef(getRef((void *)Result,memenv), "wxSizerItem"); - break; + break; } -case wxGridBagSizer_CalcMin: { // wxGridBagSizer::CalcMin +case wxGridBagSizer_CalcMin: { // wxGridBagSizer::CalcMin wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->CalcMin(); rt.add(Result); - break; + break; } -case wxGridBagSizer_CheckForIntersection_2: { // wxGridBagSizer::CheckForIntersection +case wxGridBagSizer_CheckForIntersection_2: { // wxGridBagSizer::CheckForIntersection wxGBSizerItem * excludeItem=NULL; wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; wxGBSizerItem *item = (wxGBSizerItem *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; excludeItem = (wxGBSizerItem *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->CheckForIntersection(item,excludeItem); rt.addBool(Result); - break; + break; } -case wxGridBagSizer_CheckForIntersection_3: { // wxGridBagSizer::CheckForIntersection +case wxGridBagSizer_CheckForIntersection_3: { // wxGridBagSizer::CheckForIntersection wxGBSizerItem * excludeItem=NULL; wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; int * posR = (int *) bp; bp += 4; @@ -12664,33 +12664,33 @@ case wxGridBagSizer_CheckForIntersection_3: { // wxGridBagSizer::CheckForInterse int * spanCS = (int *) bp; bp += 4; wxGBSpan span = wxGBSpan(*spanRS,*spanCS); bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; excludeItem = (wxGBSizerItem *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->CheckForIntersection(pos,span,excludeItem); rt.addBool(Result); - break; + break; } -case wxGridBagSizer_FindItem_1_1: { // wxGridBagSizer::FindItem +case wxGridBagSizer_FindItem_1_1: { // wxGridBagSizer::FindItem wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGBSizerItem * Result = (wxGBSizerItem*)This->FindItem(window); rt.addRef(getRef((void *)Result,memenv), "wxGBSizerItem"); - break; + break; } -case wxGridBagSizer_FindItem_1_0: { // wxGridBagSizer::FindItem +case wxGridBagSizer_FindItem_1_0: { // wxGridBagSizer::FindItem wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGBSizerItem * Result = (wxGBSizerItem*)This->FindItem(sizer); rt.addRef(getRef((void *)Result,memenv), "wxGBSizerItem"); - break; + break; } -case wxGridBagSizer_FindItemAtPoint: { // wxGridBagSizer::FindItemAtPoint +case wxGridBagSizer_FindItemAtPoint: { // wxGridBagSizer::FindItemAtPoint wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; @@ -12698,9 +12698,9 @@ case wxGridBagSizer_FindItemAtPoint: { // wxGridBagSizer::FindItemAtPoint if(!This) throw wxe_badarg(0); wxGBSizerItem * Result = (wxGBSizerItem*)This->FindItemAtPoint(pt); rt.addRef(getRef((void *)Result,memenv), "wxGBSizerItem"); - break; + break; } -case wxGridBagSizer_FindItemAtPosition: { // wxGridBagSizer::FindItemAtPosition +case wxGridBagSizer_FindItemAtPosition: { // wxGridBagSizer::FindItemAtPosition wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; int * posR = (int *) bp; bp += 4; int * posC = (int *) bp; bp += 4; @@ -12708,90 +12708,90 @@ case wxGridBagSizer_FindItemAtPosition: { // wxGridBagSizer::FindItemAtPosition if(!This) throw wxe_badarg(0); wxGBSizerItem * Result = (wxGBSizerItem*)This->FindItemAtPosition(pos); rt.addRef(getRef((void *)Result,memenv), "wxGBSizerItem"); - break; + break; } -case wxGridBagSizer_FindItemWithData: { // wxGridBagSizer::FindItemWithData +case wxGridBagSizer_FindItemWithData: { // wxGridBagSizer::FindItemWithData wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; wxObject *userData = (wxObject *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGBSizerItem * Result = (wxGBSizerItem*)This->FindItemWithData(userData); rt.addRef(getRef((void *)Result,memenv), "wxGBSizerItem"); - break; + break; } -case wxGridBagSizer_GetCellSize: { // wxGridBagSizer::GetCellSize +case wxGridBagSizer_GetCellSize: { // wxGridBagSizer::GetCellSize wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetCellSize((int) *row,(int) *col); rt.add(Result); - break; + break; } -case wxGridBagSizer_GetEmptyCellSize: { // wxGridBagSizer::GetEmptyCellSize +case wxGridBagSizer_GetEmptyCellSize: { // wxGridBagSizer::GetEmptyCellSize wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetEmptyCellSize(); rt.add(Result); - break; + break; } -case wxGridBagSizer_GetItemPosition_1_2: { // wxGridBagSizer::GetItemPosition +case wxGridBagSizer_GetItemPosition_1_2: { // wxGridBagSizer::GetItemPosition wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGBPosition Result = This->GetItemPosition(window); rt.add(Result); - break; + break; } -case wxGridBagSizer_GetItemPosition_1_1: { // wxGridBagSizer::GetItemPosition +case wxGridBagSizer_GetItemPosition_1_1: { // wxGridBagSizer::GetItemPosition wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGBPosition Result = This->GetItemPosition(sizer); rt.add(Result); - break; + break; } -case wxGridBagSizer_GetItemPosition_1_0: { // wxGridBagSizer::GetItemPosition +case wxGridBagSizer_GetItemPosition_1_0: { // wxGridBagSizer::GetItemPosition wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxGBPosition Result = This->GetItemPosition((size_t) *index); rt.add(Result); - break; + break; } -case wxGridBagSizer_GetItemSpan_1_2: { // wxGridBagSizer::GetItemSpan +case wxGridBagSizer_GetItemSpan_1_2: { // wxGridBagSizer::GetItemSpan wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGBSpan Result = This->GetItemSpan(window); rt.add(Result); - break; + break; } -case wxGridBagSizer_GetItemSpan_1_1: { // wxGridBagSizer::GetItemSpan +case wxGridBagSizer_GetItemSpan_1_1: { // wxGridBagSizer::GetItemSpan wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGBSpan Result = This->GetItemSpan(sizer); rt.add(Result); - break; + break; } -case wxGridBagSizer_GetItemSpan_1_0: { // wxGridBagSizer::GetItemSpan +case wxGridBagSizer_GetItemSpan_1_0: { // wxGridBagSizer::GetItemSpan wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxGBSpan Result = This->GetItemSpan((size_t) *index); rt.add(Result); - break; + break; } -case wxGridBagSizer_SetEmptyCellSize: { // wxGridBagSizer::SetEmptyCellSize +case wxGridBagSizer_SetEmptyCellSize: { // wxGridBagSizer::SetEmptyCellSize wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; int * szW = (int *) bp; bp += 4; int * szH = (int *) bp; bp += 4; wxSize sz = wxSize(*szW,*szH); if(!This) throw wxe_badarg(0); This->SetEmptyCellSize(sz); - break; + break; } -case wxGridBagSizer_SetItemPosition_2_2: { // wxGridBagSizer::SetItemPosition +case wxGridBagSizer_SetItemPosition_2_2: { // wxGridBagSizer::SetItemPosition wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4; int * posR = (int *) bp; bp += 4; @@ -12800,9 +12800,9 @@ case wxGridBagSizer_SetItemPosition_2_2: { // wxGridBagSizer::SetItemPosition if(!This) throw wxe_badarg(0); bool Result = This->SetItemPosition(window,pos); rt.addBool(Result); - break; + break; } -case wxGridBagSizer_SetItemPosition_2_1: { // wxGridBagSizer::SetItemPosition +case wxGridBagSizer_SetItemPosition_2_1: { // wxGridBagSizer::SetItemPosition wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; int * posR = (int *) bp; bp += 4; @@ -12811,9 +12811,9 @@ case wxGridBagSizer_SetItemPosition_2_1: { // wxGridBagSizer::SetItemPosition if(!This) throw wxe_badarg(0); bool Result = This->SetItemPosition(sizer,pos); rt.addBool(Result); - break; + break; } -case wxGridBagSizer_SetItemPosition_2_0: { // wxGridBagSizer::SetItemPosition +case wxGridBagSizer_SetItemPosition_2_0: { // wxGridBagSizer::SetItemPosition wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; int * posR = (int *) bp; bp += 4; @@ -12822,9 +12822,9 @@ case wxGridBagSizer_SetItemPosition_2_0: { // wxGridBagSizer::SetItemPosition if(!This) throw wxe_badarg(0); bool Result = This->SetItemPosition((size_t) *index,pos); rt.addBool(Result); - break; + break; } -case wxGridBagSizer_SetItemSpan_2_2: { // wxGridBagSizer::SetItemSpan +case wxGridBagSizer_SetItemSpan_2_2: { // wxGridBagSizer::SetItemSpan wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4; int * spanRS = (int *) bp; bp += 4; @@ -12833,9 +12833,9 @@ case wxGridBagSizer_SetItemSpan_2_2: { // wxGridBagSizer::SetItemSpan if(!This) throw wxe_badarg(0); bool Result = This->SetItemSpan(window,span); rt.addBool(Result); - break; + break; } -case wxGridBagSizer_SetItemSpan_2_1: { // wxGridBagSizer::SetItemSpan +case wxGridBagSizer_SetItemSpan_2_1: { // wxGridBagSizer::SetItemSpan wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4; int * spanRS = (int *) bp; bp += 4; @@ -12844,9 +12844,9 @@ case wxGridBagSizer_SetItemSpan_2_1: { // wxGridBagSizer::SetItemSpan if(!This) throw wxe_badarg(0); bool Result = This->SetItemSpan(sizer,span); rt.addBool(Result); - break; + break; } -case wxGridBagSizer_SetItemSpan_2_0: { // wxGridBagSizer::SetItemSpan +case wxGridBagSizer_SetItemSpan_2_0: { // wxGridBagSizer::SetItemSpan wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; int * spanRS = (int *) bp; bp += 4; @@ -12855,64 +12855,64 @@ case wxGridBagSizer_SetItemSpan_2_0: { // wxGridBagSizer::SetItemSpan if(!This) throw wxe_badarg(0); bool Result = This->SetItemSpan((size_t) *index,span); rt.addBool(Result); - break; + break; } -case wxStdDialogButtonSizer_new: { // wxStdDialogButtonSizer::wxStdDialogButtonSizer +case wxStdDialogButtonSizer_new: { // wxStdDialogButtonSizer::wxStdDialogButtonSizer wxStdDialogButtonSizer * Result = new EwxStdDialogButtonSizer(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxStdDialogButtonSizer"); - break; + break; } -case wxStdDialogButtonSizer_AddButton: { // wxStdDialogButtonSizer::AddButton +case wxStdDialogButtonSizer_AddButton: { // wxStdDialogButtonSizer::AddButton wxStdDialogButtonSizer *This = (wxStdDialogButtonSizer *) getPtr(bp,memenv); bp += 4; wxButton *button = (wxButton *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->AddButton(button); - break; + break; } -case wxStdDialogButtonSizer_Realize: { // wxStdDialogButtonSizer::Realize +case wxStdDialogButtonSizer_Realize: { // wxStdDialogButtonSizer::Realize wxStdDialogButtonSizer *This = (wxStdDialogButtonSizer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Realize(); - break; + break; } -case wxStdDialogButtonSizer_SetAffirmativeButton: { // wxStdDialogButtonSizer::SetAffirmativeButton +case wxStdDialogButtonSizer_SetAffirmativeButton: { // wxStdDialogButtonSizer::SetAffirmativeButton wxStdDialogButtonSizer *This = (wxStdDialogButtonSizer *) getPtr(bp,memenv); bp += 4; wxButton *button = (wxButton *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetAffirmativeButton(button); - break; + break; } -case wxStdDialogButtonSizer_SetCancelButton: { // wxStdDialogButtonSizer::SetCancelButton +case wxStdDialogButtonSizer_SetCancelButton: { // wxStdDialogButtonSizer::SetCancelButton wxStdDialogButtonSizer *This = (wxStdDialogButtonSizer *) getPtr(bp,memenv); bp += 4; wxButton *button = (wxButton *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetCancelButton(button); - break; + break; } -case wxStdDialogButtonSizer_SetNegativeButton: { // wxStdDialogButtonSizer::SetNegativeButton +case wxStdDialogButtonSizer_SetNegativeButton: { // wxStdDialogButtonSizer::SetNegativeButton wxStdDialogButtonSizer *This = (wxStdDialogButtonSizer *) getPtr(bp,memenv); bp += 4; wxButton *button = (wxButton *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetNegativeButton(button); - break; + break; } -case wxFont_new_0: { // wxFont::wxFont +case wxFont_new_0: { // wxFont::wxFont wxFont * Result = new EwxFont(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxFont"); - break; + break; } -case wxFont_new_1: { // wxFont::wxFont +case wxFont_new_1: { // wxFont::wxFont int * fontnameLen = (int *) bp; bp += 4; wxString fontname = wxString(bp, wxConvUTF8); bp += *fontnameLen+((8-((4+ *fontnameLen) & 7)) & 7); wxFont * Result = new EwxFont(fontname); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxFont"); - break; + break; } -case wxFont_new_5: { // wxFont::wxFont +case wxFont_new_5: { // wxFont::wxFont bool underlined=false; wxString face= wxEmptyString; wxFontEncoding encoding=wxFONTENCODING_DEFAULT; @@ -12920,7 +12920,7 @@ case wxFont_new_5: { // wxFont::wxFont wxFontFamily family = *(wxFontFamily *) bp; bp += 4;; wxFontStyle style = *(wxFontStyle *) bp; bp += 4;; int * weight = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; underlined = *(bool *) bp; bp += 4; } break; @@ -12932,93 +12932,93 @@ case wxFont_new_5: { // wxFont::wxFont case 3: {bp += 4; encoding = *(wxFontEncoding *) bp; bp += 4;; } break; - }}; + }}; wxFont * Result = new EwxFont((int) *size,(wxFontFamily) family,(wxFontStyle) style,(int) *weight,underlined,face,(wxFontEncoding) encoding); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxFont"); - break; + break; } -case wxFont_IsFixedWidth: { // wxFont::IsFixedWidth +case wxFont_IsFixedWidth: { // wxFont::IsFixedWidth wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsFixedWidth(); rt.addBool(Result); - break; + break; } -case wxFont_GetDefaultEncoding: { // wxFont::GetDefaultEncoding +case wxFont_GetDefaultEncoding: { // wxFont::GetDefaultEncoding int Result = wxFont::GetDefaultEncoding(); rt.addInt(Result); - break; + break; } -case wxFont_GetFaceName: { // wxFont::GetFaceName +case wxFont_GetFaceName: { // wxFont::GetFaceName wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetFaceName(); rt.add(Result); - break; + break; } -case wxFont_GetFamily: { // wxFont::GetFamily +case wxFont_GetFamily: { // wxFont::GetFamily wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetFamily(); rt.addInt(Result); - break; + break; } -case wxFont_GetNativeFontInfoDesc: { // wxFont::GetNativeFontInfoDesc +case wxFont_GetNativeFontInfoDesc: { // wxFont::GetNativeFontInfoDesc wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetNativeFontInfoDesc(); rt.add(Result); - break; + break; } -case wxFont_GetNativeFontInfoUserDesc: { // wxFont::GetNativeFontInfoUserDesc +case wxFont_GetNativeFontInfoUserDesc: { // wxFont::GetNativeFontInfoUserDesc wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetNativeFontInfoUserDesc(); rt.add(Result); - break; + break; } -case wxFont_GetPointSize: { // wxFont::GetPointSize +case wxFont_GetPointSize: { // wxFont::GetPointSize wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetPointSize(); rt.addInt(Result); - break; + break; } -case wxFont_GetStyle: { // wxFont::GetStyle +case wxFont_GetStyle: { // wxFont::GetStyle wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetStyle(); rt.addInt(Result); - break; + break; } -case wxFont_GetUnderlined: { // wxFont::GetUnderlined +case wxFont_GetUnderlined: { // wxFont::GetUnderlined wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetUnderlined(); rt.addBool(Result); - break; + break; } -case wxFont_GetWeight: { // wxFont::GetWeight +case wxFont_GetWeight: { // wxFont::GetWeight wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetWeight(); rt.addInt(Result); - break; + break; } -case wxFont_Ok: { // wxFont::Ok +case wxFont_Ok: { // wxFont::Ok wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Ok(); rt.addBool(Result); - break; + break; } -case wxFont_SetDefaultEncoding: { // wxFont::SetDefaultEncoding +case wxFont_SetDefaultEncoding: { // wxFont::SetDefaultEncoding wxFontEncoding encoding = *(wxFontEncoding *) bp; bp += 4;; wxFont::SetDefaultEncoding((wxFontEncoding) encoding); - break; + break; } -case wxFont_SetFaceName: { // wxFont::SetFaceName +case wxFont_SetFaceName: { // wxFont::SetFaceName wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4; int * faceNameLen = (int *) bp; bp += 4; wxString faceName = wxString(bp, wxConvUTF8); @@ -13026,86 +13026,86 @@ case wxFont_SetFaceName: { // wxFont::SetFaceName if(!This) throw wxe_badarg(0); bool Result = This->SetFaceName(faceName); rt.addBool(Result); - break; + break; } -case wxFont_SetFamily: { // wxFont::SetFamily +case wxFont_SetFamily: { // wxFont::SetFamily wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4; wxFontFamily family = *(wxFontFamily *) bp; bp += 4;; if(!This) throw wxe_badarg(0); This->SetFamily((wxFontFamily) family); - break; + break; } -case wxFont_SetPointSize: { // wxFont::SetPointSize +case wxFont_SetPointSize: { // wxFont::SetPointSize wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4; int * pointSize = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetPointSize((int) *pointSize); - break; + break; } -case wxFont_SetStyle: { // wxFont::SetStyle +case wxFont_SetStyle: { // wxFont::SetStyle wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4; wxFontStyle style = *(wxFontStyle *) bp; bp += 4;; if(!This) throw wxe_badarg(0); This->SetStyle((wxFontStyle) style); - break; + break; } -case wxFont_SetUnderlined: { // wxFont::SetUnderlined +case wxFont_SetUnderlined: { // wxFont::SetUnderlined wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4; bool * underlined = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetUnderlined((bool) *underlined); - break; + break; } -case wxFont_SetWeight: { // wxFont::SetWeight +case wxFont_SetWeight: { // wxFont::SetWeight wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4; int * weight = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetWeight((int) *weight); - break; + break; } -case wxToolTip_Enable: { // wxToolTip::Enable +case wxToolTip_Enable: { // wxToolTip::Enable bool * flag = (bool *) bp; bp += 4; wxToolTip::Enable((bool) *flag); - break; + break; } -case wxToolTip_SetDelay: { // wxToolTip::SetDelay +case wxToolTip_SetDelay: { // wxToolTip::SetDelay int * msecs = (int *) bp; bp += 4; wxToolTip::SetDelay((long) *msecs); - break; + break; } -case wxToolTip_new: { // wxToolTip::wxToolTip +case wxToolTip_new: { // wxToolTip::wxToolTip int * tipLen = (int *) bp; bp += 4; wxString tip = wxString(bp, wxConvUTF8); bp += *tipLen+((8-((4+ *tipLen) & 7)) & 7); wxToolTip * Result = new EwxToolTip(tip); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxToolTip"); - break; + break; } -case wxToolTip_SetTip: { // wxToolTip::SetTip +case wxToolTip_SetTip: { // wxToolTip::SetTip wxToolTip *This = (wxToolTip *) getPtr(bp,memenv); bp += 4; int * tipLen = (int *) bp; bp += 4; wxString tip = wxString(bp, wxConvUTF8); bp += *tipLen+((8-((0+ *tipLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetTip(tip); - break; + break; } -case wxToolTip_GetTip: { // wxToolTip::GetTip +case wxToolTip_GetTip: { // wxToolTip::GetTip wxToolTip *This = (wxToolTip *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetTip(); rt.add(Result); - break; + break; } -case wxToolTip_GetWindow: { // wxToolTip::GetWindow +case wxToolTip_GetWindow: { // wxToolTip::GetWindow wxToolTip *This = (wxToolTip *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetWindow(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxButton_new_3: { // wxButton::wxButton +case wxButton_new_3: { // wxButton::wxButton wxString label= wxEmptyString; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; @@ -13113,7 +13113,7 @@ case wxButton_new_3: { // wxButton::wxButton const wxValidator * validator= &wxDefaultValidator; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * labelLen = (int *) bp; bp += 4; label = wxString(bp, wxConvUTF8); @@ -13137,19 +13137,19 @@ case wxButton_new_3: { // wxButton::wxButton case 5: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxButton * Result = new EwxButton(parent,(wxWindowID) *id,label,pos,size,style,*validator); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxButton"); - break; + break; } -case wxButton_new_0: { // wxButton::wxButton +case wxButton_new_0: { // wxButton::wxButton wxButton * Result = new EwxButton(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxButton"); - break; + break; } -case wxButton_Create: { // wxButton::Create +case wxButton_Create: { // wxButton::Create wxString label= wxEmptyString; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; @@ -13159,7 +13159,7 @@ case wxButton_Create: { // wxButton::Create wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * labelLen = (int *) bp; bp += 4; label = wxString(bp, wxConvUTF8); @@ -13183,33 +13183,33 @@ case wxButton_Create: { // wxButton::Create case 5: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,label,pos,size,style,*validator); rt.addBool(Result); - break; + break; } -case wxButton_GetDefaultSize: { // wxButton::GetDefaultSize +case wxButton_GetDefaultSize: { // wxButton::GetDefaultSize wxSize Result = wxButton::GetDefaultSize(); rt.add(Result); - break; + break; } -case wxButton_SetDefault: { // wxButton::SetDefault +case wxButton_SetDefault: { // wxButton::SetDefault wxButton *This = (wxButton *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetDefault(); - break; + break; } -case wxButton_SetLabel: { // wxButton::SetLabel +case wxButton_SetLabel: { // wxButton::SetLabel wxButton *This = (wxButton *) getPtr(bp,memenv); bp += 4; int * labelLen = (int *) bp; bp += 4; wxString label = wxString(bp, wxConvUTF8); bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetLabel(label); - break; + break; } -case wxBitmapButton_new_4: { // wxBitmapButton::wxBitmapButton +case wxBitmapButton_new_4: { // wxBitmapButton::wxBitmapButton wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxBU_AUTODRAW; @@ -13218,7 +13218,7 @@ case wxBitmapButton_new_4: { // wxBitmapButton::wxBitmapButton int * id = (int *) bp; bp += 4; wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -13237,19 +13237,19 @@ case wxBitmapButton_new_4: { // wxBitmapButton::wxBitmapButton case 4: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxBitmapButton * Result = new EwxBitmapButton(parent,(wxWindowID) *id,*bitmap,pos,size,style,*validator); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxBitmapButton"); - break; + break; } -case wxBitmapButton_new_0: { // wxBitmapButton::wxBitmapButton +case wxBitmapButton_new_0: { // wxBitmapButton::wxBitmapButton wxBitmapButton * Result = new EwxBitmapButton(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxBitmapButton"); - break; + break; } -case wxBitmapButton_Create: { // wxBitmapButton::Create +case wxBitmapButton_Create: { // wxBitmapButton::Create wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxBU_AUTODRAW; @@ -13258,7 +13258,7 @@ case wxBitmapButton_Create: { // wxBitmapButton::Create wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -13277,75 +13277,75 @@ case wxBitmapButton_Create: { // wxBitmapButton::Create case 4: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,*bitmap,pos,size,style,*validator); rt.addBool(Result); - break; + break; } -case wxBitmapButton_GetBitmapDisabled: { // wxBitmapButton::GetBitmapDisabled +case wxBitmapButton_GetBitmapDisabled: { // wxBitmapButton::GetBitmapDisabled wxBitmapButton *This = (wxBitmapButton *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxBitmap * Result = &This->GetBitmapDisabled(); rt.addRef(getRef((void *)Result,memenv), "wxBitmap"); - break; + break; } -case wxBitmapButton_GetBitmapFocus: { // wxBitmapButton::GetBitmapFocus +case wxBitmapButton_GetBitmapFocus: { // wxBitmapButton::GetBitmapFocus wxBitmapButton *This = (wxBitmapButton *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxBitmap * Result = &This->GetBitmapFocus(); rt.addRef(getRef((void *)Result,memenv), "wxBitmap"); - break; + break; } -case wxBitmapButton_GetBitmapLabel: { // wxBitmapButton::GetBitmapLabel +case wxBitmapButton_GetBitmapLabel: { // wxBitmapButton::GetBitmapLabel wxBitmapButton *This = (wxBitmapButton *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxBitmap * Result = &This->GetBitmapLabel(); rt.addRef(getRef((void *)Result,memenv), "wxBitmap"); - break; + break; } -case wxBitmapButton_GetBitmapSelected: { // wxBitmapButton::GetBitmapSelected +case wxBitmapButton_GetBitmapSelected: { // wxBitmapButton::GetBitmapSelected wxBitmapButton *This = (wxBitmapButton *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxBitmap * Result = &This->GetBitmapSelected(); rt.addRef(getRef((void *)Result,memenv), "wxBitmap"); - break; + break; } -case wxBitmapButton_SetBitmapDisabled: { // wxBitmapButton::SetBitmapDisabled +case wxBitmapButton_SetBitmapDisabled: { // wxBitmapButton::SetBitmapDisabled wxBitmapButton *This = (wxBitmapButton *) getPtr(bp,memenv); bp += 4; wxBitmap *disabled = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetBitmapDisabled(*disabled); - break; + break; } -case wxBitmapButton_SetBitmapFocus: { // wxBitmapButton::SetBitmapFocus +case wxBitmapButton_SetBitmapFocus: { // wxBitmapButton::SetBitmapFocus wxBitmapButton *This = (wxBitmapButton *) getPtr(bp,memenv); bp += 4; wxBitmap *focus = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetBitmapFocus(*focus); - break; + break; } -case wxBitmapButton_SetBitmapLabel: { // wxBitmapButton::SetBitmapLabel +case wxBitmapButton_SetBitmapLabel: { // wxBitmapButton::SetBitmapLabel wxBitmapButton *This = (wxBitmapButton *) getPtr(bp,memenv); bp += 4; wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetBitmapLabel(*bitmap); - break; + break; } -case wxBitmapButton_SetBitmapSelected: { // wxBitmapButton::SetBitmapSelected +case wxBitmapButton_SetBitmapSelected: { // wxBitmapButton::SetBitmapSelected wxBitmapButton *This = (wxBitmapButton *) getPtr(bp,memenv); bp += 4; wxBitmap *sel = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetBitmapSelected(*sel); - break; + break; } -case wxToggleButton_new_0: { // wxToggleButton::wxToggleButton +case wxToggleButton_new_0: { // wxToggleButton::wxToggleButton wxToggleButton * Result = new EwxToggleButton(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxToggleButton"); - break; + break; } -case wxToggleButton_new_4: { // wxToggleButton::wxToggleButton +case wxToggleButton_new_4: { // wxToggleButton::wxToggleButton wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; @@ -13355,7 +13355,7 @@ case wxToggleButton_new_4: { // wxToggleButton::wxToggleButton int * labelLen = (int *) bp; bp += 4; wxString label = wxString(bp, wxConvUTF8); bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -13374,13 +13374,13 @@ case wxToggleButton_new_4: { // wxToggleButton::wxToggleButton case 4: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxToggleButton * Result = new EwxToggleButton(parent,(wxWindowID) *id,label,pos,size,style,*validator); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxToggleButton"); - break; + break; } -case wxToggleButton_Create: { // wxToggleButton::Create +case wxToggleButton_Create: { // wxToggleButton::Create wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; @@ -13391,7 +13391,7 @@ case wxToggleButton_Create: { // wxToggleButton::Create int * labelLen = (int *) bp; bp += 4; wxString label = wxString(bp, wxConvUTF8); bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -13410,40 +13410,40 @@ case wxToggleButton_Create: { // wxToggleButton::Create case 4: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,label,pos,size,style,*validator); rt.addBool(Result); - break; + break; } -case wxToggleButton_GetValue: { // wxToggleButton::GetValue +case wxToggleButton_GetValue: { // wxToggleButton::GetValue wxToggleButton *This = (wxToggleButton *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetValue(); rt.addBool(Result); - break; + break; } -case wxToggleButton_SetValue: { // wxToggleButton::SetValue +case wxToggleButton_SetValue: { // wxToggleButton::SetValue wxToggleButton *This = (wxToggleButton *) getPtr(bp,memenv); bp += 4; bool * state = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetValue((bool) *state); - break; + break; } -case wxCalendarCtrl_new_0: { // wxCalendarCtrl::wxCalendarCtrl +case wxCalendarCtrl_new_0: { // wxCalendarCtrl::wxCalendarCtrl wxCalendarCtrl * Result = new EwxCalendarCtrl(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxCalendarCtrl"); - break; + break; } -case wxCalendarCtrl_new_3: { // wxCalendarCtrl::wxCalendarCtrl +case wxCalendarCtrl_new_3: { // wxCalendarCtrl::wxCalendarCtrl wxDateTime date= wxDefaultDateTime; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * dateD = (int *) bp; bp += 4; int * dateMo = (int *) bp; bp += 4; @@ -13469,13 +13469,13 @@ case wxCalendarCtrl_new_3: { // wxCalendarCtrl::wxCalendarCtrl case 4: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxCalendarCtrl * Result = new EwxCalendarCtrl(parent,(wxWindowID) *id,date,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxCalendarCtrl"); - break; + break; } -case wxCalendarCtrl_Create: { // wxCalendarCtrl::Create +case wxCalendarCtrl_Create: { // wxCalendarCtrl::Create wxDateTime date= wxDefaultDateTime; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; @@ -13484,7 +13484,7 @@ case wxCalendarCtrl_Create: { // wxCalendarCtrl::Create wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * dateD = (int *) bp; bp += 4; int * dateMo = (int *) bp; bp += 4; @@ -13510,13 +13510,13 @@ case wxCalendarCtrl_Create: { // wxCalendarCtrl::Create case 4: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,date,pos,size,style); rt.addBool(Result); - break; + break; } -case wxCalendarCtrl_SetDate: { // wxCalendarCtrl::SetDate +case wxCalendarCtrl_SetDate: { // wxCalendarCtrl::SetDate wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4; int * dateD = (int *) bp; bp += 4; int * dateMo = (int *) bp; bp += 4; @@ -13528,55 +13528,55 @@ case wxCalendarCtrl_SetDate: { // wxCalendarCtrl::SetDate if(!This) throw wxe_badarg(0); bool Result = This->SetDate(date); rt.addBool(Result); - break; + break; } -case wxCalendarCtrl_GetDate: { // wxCalendarCtrl::GetDate +case wxCalendarCtrl_GetDate: { // wxCalendarCtrl::GetDate wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxDateTime * Result = &This->GetDate(); rt.add((*Result)); - break; + break; } -case wxCalendarCtrl_EnableYearChange: { // wxCalendarCtrl::EnableYearChange +case wxCalendarCtrl_EnableYearChange: { // wxCalendarCtrl::EnableYearChange bool enable=true; wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; enable = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->EnableYearChange(enable); - break; + break; } -case wxCalendarCtrl_EnableMonthChange: { // wxCalendarCtrl::EnableMonthChange +case wxCalendarCtrl_EnableMonthChange: { // wxCalendarCtrl::EnableMonthChange bool enable=true; wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; enable = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->EnableMonthChange(enable); - break; + break; } -case wxCalendarCtrl_EnableHolidayDisplay: { // wxCalendarCtrl::EnableHolidayDisplay +case wxCalendarCtrl_EnableHolidayDisplay: { // wxCalendarCtrl::EnableHolidayDisplay bool display=true; wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; display = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->EnableHolidayDisplay(display); - break; + break; } -case wxCalendarCtrl_SetHeaderColours: { // wxCalendarCtrl::SetHeaderColours +case wxCalendarCtrl_SetHeaderColours: { // wxCalendarCtrl::SetHeaderColours wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4; int * colFgR = (int *) bp; bp += 4; int * colFgG = (int *) bp; bp += 4; @@ -13590,23 +13590,23 @@ case wxCalendarCtrl_SetHeaderColours: { // wxCalendarCtrl::SetHeaderColours wxColour colBg = wxColour(*colBgR,*colBgG,*colBgB,*colBgA); if(!This) throw wxe_badarg(0); This->SetHeaderColours(colFg,colBg); - break; + break; } -case wxCalendarCtrl_GetHeaderColourFg: { // wxCalendarCtrl::GetHeaderColourFg +case wxCalendarCtrl_GetHeaderColourFg: { // wxCalendarCtrl::GetHeaderColourFg wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxColour * Result = &This->GetHeaderColourFg(); rt.add((*Result)); - break; + break; } -case wxCalendarCtrl_GetHeaderColourBg: { // wxCalendarCtrl::GetHeaderColourBg +case wxCalendarCtrl_GetHeaderColourBg: { // wxCalendarCtrl::GetHeaderColourBg wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxColour * Result = &This->GetHeaderColourBg(); rt.add((*Result)); - break; + break; } -case wxCalendarCtrl_SetHighlightColours: { // wxCalendarCtrl::SetHighlightColours +case wxCalendarCtrl_SetHighlightColours: { // wxCalendarCtrl::SetHighlightColours wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4; int * colFgR = (int *) bp; bp += 4; int * colFgG = (int *) bp; bp += 4; @@ -13620,23 +13620,23 @@ case wxCalendarCtrl_SetHighlightColours: { // wxCalendarCtrl::SetHighlightColour wxColour colBg = wxColour(*colBgR,*colBgG,*colBgB,*colBgA); if(!This) throw wxe_badarg(0); This->SetHighlightColours(colFg,colBg); - break; + break; } -case wxCalendarCtrl_GetHighlightColourFg: { // wxCalendarCtrl::GetHighlightColourFg +case wxCalendarCtrl_GetHighlightColourFg: { // wxCalendarCtrl::GetHighlightColourFg wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxColour * Result = &This->GetHighlightColourFg(); rt.add((*Result)); - break; + break; } -case wxCalendarCtrl_GetHighlightColourBg: { // wxCalendarCtrl::GetHighlightColourBg +case wxCalendarCtrl_GetHighlightColourBg: { // wxCalendarCtrl::GetHighlightColourBg wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxColour * Result = &This->GetHighlightColourBg(); rt.add((*Result)); - break; + break; } -case wxCalendarCtrl_SetHolidayColours: { // wxCalendarCtrl::SetHolidayColours +case wxCalendarCtrl_SetHolidayColours: { // wxCalendarCtrl::SetHolidayColours wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4; int * colFgR = (int *) bp; bp += 4; int * colFgG = (int *) bp; bp += 4; @@ -13650,53 +13650,53 @@ case wxCalendarCtrl_SetHolidayColours: { // wxCalendarCtrl::SetHolidayColours wxColour colBg = wxColour(*colBgR,*colBgG,*colBgB,*colBgA); if(!This) throw wxe_badarg(0); This->SetHolidayColours(colFg,colBg); - break; + break; } -case wxCalendarCtrl_GetHolidayColourFg: { // wxCalendarCtrl::GetHolidayColourFg +case wxCalendarCtrl_GetHolidayColourFg: { // wxCalendarCtrl::GetHolidayColourFg wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxColour * Result = &This->GetHolidayColourFg(); rt.add((*Result)); - break; + break; } -case wxCalendarCtrl_GetHolidayColourBg: { // wxCalendarCtrl::GetHolidayColourBg +case wxCalendarCtrl_GetHolidayColourBg: { // wxCalendarCtrl::GetHolidayColourBg wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxColour * Result = &This->GetHolidayColourBg(); rt.add((*Result)); - break; + break; } -case wxCalendarCtrl_GetAttr: { // wxCalendarCtrl::GetAttr +case wxCalendarCtrl_GetAttr: { // wxCalendarCtrl::GetAttr wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4; int * day = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxCalendarDateAttr * Result = (wxCalendarDateAttr*)This->GetAttr((size_t) *day); rt.addRef(getRef((void *)Result,memenv), "wxCalendarDateAttr"); - break; + break; } -case wxCalendarCtrl_SetAttr: { // wxCalendarCtrl::SetAttr +case wxCalendarCtrl_SetAttr: { // wxCalendarCtrl::SetAttr wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4; int * day = (int *) bp; bp += 4; wxCalendarDateAttr *attr = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetAttr((size_t) *day,attr); - break; + break; } -case wxCalendarCtrl_SetHoliday: { // wxCalendarCtrl::SetHoliday +case wxCalendarCtrl_SetHoliday: { // wxCalendarCtrl::SetHoliday wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4; int * day = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetHoliday((size_t) *day); - break; + break; } -case wxCalendarCtrl_ResetAttr: { // wxCalendarCtrl::ResetAttr +case wxCalendarCtrl_ResetAttr: { // wxCalendarCtrl::ResetAttr wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4; int * day = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->ResetAttr((size_t) *day); - break; + break; } -case wxCalendarCtrl_HitTest: { // wxCalendarCtrl::HitTest +case wxCalendarCtrl_HitTest: { // wxCalendarCtrl::HitTest wxDateTime date; wxDateTime::WeekDay wd; wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4; @@ -13709,15 +13709,15 @@ case wxCalendarCtrl_HitTest: { // wxCalendarCtrl::HitTest rt.add(date); rt.addInt(wd); rt.addTupleCount(3); - break; + break; } -case wxCalendarDateAttr_new_0: { // wxCalendarDateAttr::wxCalendarDateAttr +case wxCalendarDateAttr_new_0: { // wxCalendarDateAttr::wxCalendarDateAttr wxCalendarDateAttr * Result = new wxCalendarDateAttr(); newPtr((void *) Result, 88, memenv); rt.addRef(getRef((void *)Result,memenv), "wxCalendarDateAttr"); - break; + break; } -case wxCalendarDateAttr_new_2_1: { // wxCalendarDateAttr::wxCalendarDateAttr +case wxCalendarDateAttr_new_2_1: { // wxCalendarDateAttr::wxCalendarDateAttr wxColour colBack= wxNullColour; wxColour colBorder= wxNullColour; const wxFont * font= &wxNullFont; @@ -13727,7 +13727,7 @@ case wxCalendarDateAttr_new_2_1: { // wxCalendarDateAttr::wxCalendarDateAttr int * colTextB = (int *) bp; bp += 4; int * colTextA = (int *) bp; bp += 4; wxColour colText = wxColour(*colTextR,*colTextG,*colTextB,*colTextA); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * colBackR = (int *) bp; bp += 4; int * colBackG = (int *) bp; bp += 4; @@ -13750,17 +13750,17 @@ font = (wxFont *) getPtr(bp,memenv); bp += 4; case 4: {bp += 4; border = *(wxCalendarDateBorder *) bp; bp += 4;; } break; - }}; + }}; wxCalendarDateAttr * Result = new wxCalendarDateAttr(colText,colBack,colBorder,*font,(wxCalendarDateBorder) border); newPtr((void *) Result, 88, memenv); rt.addRef(getRef((void *)Result,memenv), "wxCalendarDateAttr"); - break; + break; } -case wxCalendarDateAttr_new_2_0: { // wxCalendarDateAttr::wxCalendarDateAttr +case wxCalendarDateAttr_new_2_0: { // wxCalendarDateAttr::wxCalendarDateAttr wxColour colBorder= wxNullColour; wxCalendarDateBorder border = *(wxCalendarDateBorder *) bp; bp += 4;; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * colBorderR = (int *) bp; bp += 4; int * colBorderG = (int *) bp; bp += 4; @@ -13769,13 +13769,13 @@ case wxCalendarDateAttr_new_2_0: { // wxCalendarDateAttr::wxCalendarDateAttr colBorder = wxColour(*colBorderR,*colBorderG,*colBorderB,*colBorderA); bp += 4; /* Align */ } break; - }}; + }}; wxCalendarDateAttr * Result = new wxCalendarDateAttr((wxCalendarDateBorder) border,colBorder); newPtr((void *) Result, 88, memenv); rt.addRef(getRef((void *)Result,memenv), "wxCalendarDateAttr"); - break; + break; } -case wxCalendarDateAttr_SetTextColour: { // wxCalendarDateAttr::SetTextColour +case wxCalendarDateAttr_SetTextColour: { // wxCalendarDateAttr::SetTextColour wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4; int * colTextR = (int *) bp; bp += 4; int * colTextG = (int *) bp; bp += 4; @@ -13784,9 +13784,9 @@ case wxCalendarDateAttr_SetTextColour: { // wxCalendarDateAttr::SetTextColour wxColour colText = wxColour(*colTextR,*colTextG,*colTextB,*colTextA); if(!This) throw wxe_badarg(0); This->SetTextColour(colText); - break; + break; } -case wxCalendarDateAttr_SetBackgroundColour: { // wxCalendarDateAttr::SetBackgroundColour +case wxCalendarDateAttr_SetBackgroundColour: { // wxCalendarDateAttr::SetBackgroundColour wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4; int * colBackR = (int *) bp; bp += 4; int * colBackG = (int *) bp; bp += 4; @@ -13795,9 +13795,9 @@ case wxCalendarDateAttr_SetBackgroundColour: { // wxCalendarDateAttr::SetBackgro wxColour colBack = wxColour(*colBackR,*colBackG,*colBackB,*colBackA); if(!This) throw wxe_badarg(0); This->SetBackgroundColour(colBack); - break; + break; } -case wxCalendarDateAttr_SetBorderColour: { // wxCalendarDateAttr::SetBorderColour +case wxCalendarDateAttr_SetBorderColour: { // wxCalendarDateAttr::SetBorderColour wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4; int * colR = (int *) bp; bp += 4; int * colG = (int *) bp; bp += 4; @@ -13806,113 +13806,113 @@ case wxCalendarDateAttr_SetBorderColour: { // wxCalendarDateAttr::SetBorderColou wxColour col = wxColour(*colR,*colG,*colB,*colA); if(!This) throw wxe_badarg(0); This->SetBorderColour(col); - break; + break; } -case wxCalendarDateAttr_SetFont: { // wxCalendarDateAttr::SetFont +case wxCalendarDateAttr_SetFont: { // wxCalendarDateAttr::SetFont wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4; wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetFont(*font); - break; + break; } -case wxCalendarDateAttr_SetBorder: { // wxCalendarDateAttr::SetBorder +case wxCalendarDateAttr_SetBorder: { // wxCalendarDateAttr::SetBorder wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4; wxCalendarDateBorder border = *(wxCalendarDateBorder *) bp; bp += 4;; if(!This) throw wxe_badarg(0); This->SetBorder((wxCalendarDateBorder) border); - break; + break; } -case wxCalendarDateAttr_SetHoliday: { // wxCalendarDateAttr::SetHoliday +case wxCalendarDateAttr_SetHoliday: { // wxCalendarDateAttr::SetHoliday wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4; bool * holiday = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetHoliday((bool) *holiday); - break; + break; } -case wxCalendarDateAttr_HasTextColour: { // wxCalendarDateAttr::HasTextColour +case wxCalendarDateAttr_HasTextColour: { // wxCalendarDateAttr::HasTextColour wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasTextColour(); rt.addBool(Result); - break; + break; } -case wxCalendarDateAttr_HasBackgroundColour: { // wxCalendarDateAttr::HasBackgroundColour +case wxCalendarDateAttr_HasBackgroundColour: { // wxCalendarDateAttr::HasBackgroundColour wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasBackgroundColour(); rt.addBool(Result); - break; + break; } -case wxCalendarDateAttr_HasBorderColour: { // wxCalendarDateAttr::HasBorderColour +case wxCalendarDateAttr_HasBorderColour: { // wxCalendarDateAttr::HasBorderColour wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasBorderColour(); rt.addBool(Result); - break; + break; } -case wxCalendarDateAttr_HasFont: { // wxCalendarDateAttr::HasFont +case wxCalendarDateAttr_HasFont: { // wxCalendarDateAttr::HasFont wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasFont(); rt.addBool(Result); - break; + break; } -case wxCalendarDateAttr_HasBorder: { // wxCalendarDateAttr::HasBorder +case wxCalendarDateAttr_HasBorder: { // wxCalendarDateAttr::HasBorder wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasBorder(); rt.addBool(Result); - break; + break; } -case wxCalendarDateAttr_IsHoliday: { // wxCalendarDateAttr::IsHoliday +case wxCalendarDateAttr_IsHoliday: { // wxCalendarDateAttr::IsHoliday wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsHoliday(); rt.addBool(Result); - break; + break; } -case wxCalendarDateAttr_GetTextColour: { // wxCalendarDateAttr::GetTextColour +case wxCalendarDateAttr_GetTextColour: { // wxCalendarDateAttr::GetTextColour wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxColour * Result = &This->GetTextColour(); rt.add((*Result)); - break; + break; } -case wxCalendarDateAttr_GetBackgroundColour: { // wxCalendarDateAttr::GetBackgroundColour +case wxCalendarDateAttr_GetBackgroundColour: { // wxCalendarDateAttr::GetBackgroundColour wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxColour * Result = &This->GetBackgroundColour(); rt.add((*Result)); - break; + break; } -case wxCalendarDateAttr_GetBorderColour: { // wxCalendarDateAttr::GetBorderColour +case wxCalendarDateAttr_GetBorderColour: { // wxCalendarDateAttr::GetBorderColour wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxColour * Result = &This->GetBorderColour(); rt.add((*Result)); - break; + break; } -case wxCalendarDateAttr_GetFont: { // wxCalendarDateAttr::GetFont +case wxCalendarDateAttr_GetFont: { // wxCalendarDateAttr::GetFont wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxFont * Result = &This->GetFont(); rt.addRef(getRef((void *)Result,memenv), "wxFont"); - break; + break; } -case wxCalendarDateAttr_GetBorder: { // wxCalendarDateAttr::GetBorder +case wxCalendarDateAttr_GetBorder: { // wxCalendarDateAttr::GetBorder wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetBorder(); rt.addInt(Result); - break; + break; } -case wxCalendarDateAttr_destroy: { // wxCalendarDateAttr::destroy +case wxCalendarDateAttr_destroy: { // wxCalendarDateAttr::destroy wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4; if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This); delete This;} - break; + break; } -case wxCheckBox_new_4: { // wxCheckBox::wxCheckBox +case wxCheckBox_new_4: { // wxCheckBox::wxCheckBox wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; @@ -13922,7 +13922,7 @@ case wxCheckBox_new_4: { // wxCheckBox::wxCheckBox int * labelLen = (int *) bp; bp += 4; wxString label = wxString(bp, wxConvUTF8); bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -13941,19 +13941,19 @@ case wxCheckBox_new_4: { // wxCheckBox::wxCheckBox case 4: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxCheckBox * Result = new EwxCheckBox(parent,(wxWindowID) *id,label,pos,size,style,*validator); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxCheckBox"); - break; + break; } -case wxCheckBox_new_0: { // wxCheckBox::wxCheckBox +case wxCheckBox_new_0: { // wxCheckBox::wxCheckBox wxCheckBox * Result = new EwxCheckBox(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxCheckBox"); - break; + break; } -case wxCheckBox_Create: { // wxCheckBox::Create +case wxCheckBox_Create: { // wxCheckBox::Create wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; @@ -13964,7 +13964,7 @@ case wxCheckBox_Create: { // wxCheckBox::Create int * labelLen = (int *) bp; bp += 4; wxString label = wxString(bp, wxConvUTF8); bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -13983,68 +13983,68 @@ case wxCheckBox_Create: { // wxCheckBox::Create case 4: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,label,pos,size,style,*validator); rt.addBool(Result); - break; + break; } -case wxCheckBox_GetValue: { // wxCheckBox::GetValue +case wxCheckBox_GetValue: { // wxCheckBox::GetValue wxCheckBox *This = (wxCheckBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetValue(); rt.addBool(Result); - break; + break; } -case wxCheckBox_Get3StateValue: { // wxCheckBox::Get3StateValue +case wxCheckBox_Get3StateValue: { // wxCheckBox::Get3StateValue wxCheckBox *This = (wxCheckBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->Get3StateValue(); rt.addInt(Result); - break; + break; } -case wxCheckBox_Is3rdStateAllowedForUser: { // wxCheckBox::Is3rdStateAllowedForUser +case wxCheckBox_Is3rdStateAllowedForUser: { // wxCheckBox::Is3rdStateAllowedForUser wxCheckBox *This = (wxCheckBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Is3rdStateAllowedForUser(); rt.addBool(Result); - break; + break; } -case wxCheckBox_Is3State: { // wxCheckBox::Is3State +case wxCheckBox_Is3State: { // wxCheckBox::Is3State wxCheckBox *This = (wxCheckBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Is3State(); rt.addBool(Result); - break; + break; } -case wxCheckBox_IsChecked: { // wxCheckBox::IsChecked +case wxCheckBox_IsChecked: { // wxCheckBox::IsChecked wxCheckBox *This = (wxCheckBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsChecked(); rt.addBool(Result); - break; + break; } -case wxCheckBox_SetValue: { // wxCheckBox::SetValue +case wxCheckBox_SetValue: { // wxCheckBox::SetValue wxCheckBox *This = (wxCheckBox *) getPtr(bp,memenv); bp += 4; bool * state = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetValue((bool) *state); - break; + break; } -case wxCheckBox_Set3StateValue: { // wxCheckBox::Set3StateValue +case wxCheckBox_Set3StateValue: { // wxCheckBox::Set3StateValue wxCheckBox *This = (wxCheckBox *) getPtr(bp,memenv); bp += 4; wxCheckBoxState state = *(wxCheckBoxState *) bp; bp += 4;; if(!This) throw wxe_badarg(0); This->Set3StateValue((wxCheckBoxState) state); - break; + break; } -case wxCheckListBox_new_0: { // wxCheckListBox::wxCheckListBox +case wxCheckListBox_new_0: { // wxCheckListBox::wxCheckListBox wxCheckListBox * Result = new EwxCheckListBox(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxCheckListBox"); - break; + break; } -case wxCheckListBox_new_3: { // wxCheckListBox::wxCheckListBox +case wxCheckListBox_new_3: { // wxCheckListBox::wxCheckListBox wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; wxArrayString choices; @@ -14052,7 +14052,7 @@ case wxCheckListBox_new_3: { // wxCheckListBox::wxCheckListBox const wxValidator * validator= &wxDefaultValidator; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -14082,34 +14082,34 @@ case wxCheckListBox_new_3: { // wxCheckListBox::wxCheckListBox case 5: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxCheckListBox * Result = new EwxCheckListBox(parent,(wxWindowID) *id,pos,size,choices,style,*validator); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxCheckListBox"); - break; + break; } -case wxCheckListBox_Check: { // wxCheckListBox::Check +case wxCheckListBox_Check: { // wxCheckListBox::Check bool check=true; wxCheckListBox *This = (wxCheckListBox *) getPtr(bp,memenv); bp += 4; unsigned int * index = (unsigned int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; check = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Check((int) *index,check); - break; + break; } -case wxCheckListBox_IsChecked: { // wxCheckListBox::IsChecked +case wxCheckListBox_IsChecked: { // wxCheckListBox::IsChecked wxCheckListBox *This = (wxCheckListBox *) getPtr(bp,memenv); bp += 4; unsigned int * index = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsChecked((int) *index); rt.addBool(Result); - break; + break; } -case wxChoice_new_3: { // wxChoice::wxChoice +case wxChoice_new_3: { // wxChoice::wxChoice wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; wxArrayString choices; @@ -14117,7 +14117,7 @@ case wxChoice_new_3: { // wxChoice::wxChoice const wxValidator * validator= &wxDefaultValidator; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -14147,19 +14147,19 @@ case wxChoice_new_3: { // wxChoice::wxChoice case 5: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxChoice * Result = new EwxChoice(parent,(wxWindowID) *id,pos,size,choices,style,*validator); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxChoice"); - break; + break; } -case wxChoice_new_0: { // wxChoice::wxChoice +case wxChoice_new_0: { // wxChoice::wxChoice wxChoice * Result = new EwxChoice(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxChoice"); - break; + break; } -case wxChoice_Create: { // wxChoice::Create +case wxChoice_Create: { // wxChoice::Create long style=0; const wxValidator * validator= &wxDefaultValidator; wxChoice *This = (wxChoice *) getPtr(bp,memenv); bp += 4; @@ -14181,53 +14181,53 @@ case wxChoice_Create: { // wxChoice::Create choicesASz += *choicesTemp+4; } bp += (8-((0+ choicesASz) & 7 )) & 7; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; case 2: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,pos,size,choices,style,*validator); rt.addBool(Result); - break; + break; } -case wxChoice_Delete: { // wxChoice::Delete +case wxChoice_Delete: { // wxChoice::Delete wxChoice *This = (wxChoice *) getPtr(bp,memenv); bp += 4; unsigned int * n = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Delete((int) *n); - break; + break; } -case wxChoice_GetColumns: { // wxChoice::GetColumns +case wxChoice_GetColumns: { // wxChoice::GetColumns wxChoice *This = (wxChoice *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetColumns(); rt.addInt(Result); - break; + break; } -case wxChoice_SetColumns: { // wxChoice::SetColumns +case wxChoice_SetColumns: { // wxChoice::SetColumns int n=1; wxChoice *This = (wxChoice *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; n = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetColumns(n); - break; + break; } -case wxComboBox_new_0: { // wxComboBox::wxComboBox +case wxComboBox_new_0: { // wxComboBox::wxComboBox wxComboBox * Result = new EwxComboBox(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxComboBox"); - break; + break; } -case wxComboBox_new_3: { // wxComboBox::wxComboBox +case wxComboBox_new_3: { // wxComboBox::wxComboBox wxString value= wxEmptyString; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; @@ -14236,7 +14236,7 @@ case wxComboBox_new_3: { // wxComboBox::wxComboBox const wxValidator * validator= &wxDefaultValidator; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * valueLen = (int *) bp; bp += 4; value = wxString(bp, wxConvUTF8); @@ -14271,13 +14271,13 @@ case wxComboBox_new_3: { // wxComboBox::wxComboBox case 6: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxComboBox * Result = new EwxComboBox(parent,(wxWindowID) *id,value,pos,size,choices,style,*validator); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxComboBox"); - break; + break; } -case wxComboBox_Create: { // wxComboBox::Create +case wxComboBox_Create: { // wxComboBox::Create long style=0; const wxValidator * validator= &wxDefaultValidator; wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4; @@ -14302,100 +14302,100 @@ case wxComboBox_Create: { // wxComboBox::Create choicesASz += *choicesTemp+4; } bp += (8-((4+ choicesASz) & 7 )) & 7; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; case 2: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,value,pos,size,choices,style,*validator); rt.addBool(Result); - break; + break; } -case wxComboBox_CanCopy: { // wxComboBox::CanCopy +case wxComboBox_CanCopy: { // wxComboBox::CanCopy wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CanCopy(); rt.addBool(Result); - break; + break; } -case wxComboBox_CanCut: { // wxComboBox::CanCut +case wxComboBox_CanCut: { // wxComboBox::CanCut wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CanCut(); rt.addBool(Result); - break; + break; } -case wxComboBox_CanPaste: { // wxComboBox::CanPaste +case wxComboBox_CanPaste: { // wxComboBox::CanPaste wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CanPaste(); rt.addBool(Result); - break; + break; } -case wxComboBox_CanRedo: { // wxComboBox::CanRedo +case wxComboBox_CanRedo: { // wxComboBox::CanRedo wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CanRedo(); rt.addBool(Result); - break; + break; } -case wxComboBox_CanUndo: { // wxComboBox::CanUndo +case wxComboBox_CanUndo: { // wxComboBox::CanUndo wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CanUndo(); rt.addBool(Result); - break; + break; } -case wxComboBox_Copy: { // wxComboBox::Copy +case wxComboBox_Copy: { // wxComboBox::Copy wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Copy(); - break; + break; } -case wxComboBox_Cut: { // wxComboBox::Cut +case wxComboBox_Cut: { // wxComboBox::Cut wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Cut(); - break; + break; } -case wxComboBox_GetInsertionPoint: { // wxComboBox::GetInsertionPoint +case wxComboBox_GetInsertionPoint: { // wxComboBox::GetInsertionPoint wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetInsertionPoint(); rt.addInt(Result); - break; + break; } -case wxComboBox_GetLastPosition: { // wxComboBox::GetLastPosition +case wxComboBox_GetLastPosition: { // wxComboBox::GetLastPosition wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxTextPos Result = This->GetLastPosition(); rt.addInt(Result); - break; + break; } -case wxComboBox_GetValue: { // wxComboBox::GetValue +case wxComboBox_GetValue: { // wxComboBox::GetValue wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetValue(); rt.add(Result); - break; + break; } -case wxComboBox_Paste: { // wxComboBox::Paste +case wxComboBox_Paste: { // wxComboBox::Paste wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Paste(); - break; + break; } -case wxComboBox_Redo: { // wxComboBox::Redo +case wxComboBox_Redo: { // wxComboBox::Redo wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Redo(); - break; + break; } -case wxComboBox_Replace: { // wxComboBox::Replace +case wxComboBox_Replace: { // wxComboBox::Replace wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4; int * from = (int *) bp; bp += 4; int * to = (int *) bp; bp += 4; @@ -14404,66 +14404,66 @@ case wxComboBox_Replace: { // wxComboBox::Replace bp += *valueLen+((8-((0+ *valueLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->Replace((long) *from,(long) *to,value); - break; + break; } -case wxComboBox_Remove: { // wxComboBox::Remove +case wxComboBox_Remove: { // wxComboBox::Remove wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4; int * from = (int *) bp; bp += 4; int * to = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Remove((long) *from,(long) *to); - break; + break; } -case wxComboBox_SetInsertionPoint: { // wxComboBox::SetInsertionPoint +case wxComboBox_SetInsertionPoint: { // wxComboBox::SetInsertionPoint wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetInsertionPoint((long) *pos); - break; + break; } -case wxComboBox_SetInsertionPointEnd: { // wxComboBox::SetInsertionPointEnd +case wxComboBox_SetInsertionPointEnd: { // wxComboBox::SetInsertionPointEnd wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetInsertionPointEnd(); - break; + break; } -case wxComboBox_SetSelection_1: { // wxComboBox::SetSelection +case wxComboBox_SetSelection_1: { // wxComboBox::SetSelection wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSelection((int) *n); - break; + break; } -case wxComboBox_SetSelection_2: { // wxComboBox::SetSelection +case wxComboBox_SetSelection_2: { // wxComboBox::SetSelection wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4; int * from = (int *) bp; bp += 4; int * to = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSelection((long) *from,(long) *to); - break; + break; } -case wxComboBox_SetValue: { // wxComboBox::SetValue +case wxComboBox_SetValue: { // wxComboBox::SetValue wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4; int * valueLen = (int *) bp; bp += 4; wxString value = wxString(bp, wxConvUTF8); bp += *valueLen+((8-((0+ *valueLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetValue(value); - break; + break; } -case wxComboBox_Undo: { // wxComboBox::Undo +case wxComboBox_Undo: { // wxComboBox::Undo wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Undo(); - break; + break; } -case wxGauge_new_0: { // wxGauge::wxGauge +case wxGauge_new_0: { // wxGauge::wxGauge wxGauge * Result = new EwxGauge(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxGauge"); - break; + break; } -case wxGauge_new_4: { // wxGauge::wxGauge +case wxGauge_new_4: { // wxGauge::wxGauge wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxGA_HORIZONTAL; @@ -14472,7 +14472,7 @@ case wxGauge_new_4: { // wxGauge::wxGauge int * id = (int *) bp; bp += 4; int * range = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -14491,13 +14491,13 @@ case wxGauge_new_4: { // wxGauge::wxGauge case 4: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxGauge * Result = new EwxGauge(parent,(wxWindowID) *id,(int) *range,pos,size,style,*validator); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxGauge"); - break; + break; } -case wxGauge_Create: { // wxGauge::Create +case wxGauge_Create: { // wxGauge::Create wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxGA_HORIZONTAL; @@ -14506,7 +14506,7 @@ case wxGauge_Create: { // wxGauge::Create wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; int * range = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -14525,88 +14525,88 @@ case wxGauge_Create: { // wxGauge::Create case 4: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,(int) *range,pos,size,style,*validator); rt.addBool(Result); - break; + break; } -case wxGauge_GetBezelFace: { // wxGauge::GetBezelFace +case wxGauge_GetBezelFace: { // wxGauge::GetBezelFace wxGauge *This = (wxGauge *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetBezelFace(); rt.addInt(Result); - break; + break; } -case wxGauge_GetRange: { // wxGauge::GetRange +case wxGauge_GetRange: { // wxGauge::GetRange wxGauge *This = (wxGauge *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetRange(); rt.addInt(Result); - break; + break; } -case wxGauge_GetShadowWidth: { // wxGauge::GetShadowWidth +case wxGauge_GetShadowWidth: { // wxGauge::GetShadowWidth wxGauge *This = (wxGauge *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetShadowWidth(); rt.addInt(Result); - break; + break; } -case wxGauge_GetValue: { // wxGauge::GetValue +case wxGauge_GetValue: { // wxGauge::GetValue wxGauge *This = (wxGauge *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetValue(); rt.addInt(Result); - break; + break; } -case wxGauge_IsVertical: { // wxGauge::IsVertical +case wxGauge_IsVertical: { // wxGauge::IsVertical wxGauge *This = (wxGauge *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsVertical(); rt.addBool(Result); - break; + break; } -case wxGauge_SetBezelFace: { // wxGauge::SetBezelFace +case wxGauge_SetBezelFace: { // wxGauge::SetBezelFace wxGauge *This = (wxGauge *) getPtr(bp,memenv); bp += 4; int * w = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetBezelFace((int) *w); - break; + break; } -case wxGauge_SetRange: { // wxGauge::SetRange +case wxGauge_SetRange: { // wxGauge::SetRange wxGauge *This = (wxGauge *) getPtr(bp,memenv); bp += 4; int * r = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetRange((int) *r); - break; + break; } -case wxGauge_SetShadowWidth: { // wxGauge::SetShadowWidth +case wxGauge_SetShadowWidth: { // wxGauge::SetShadowWidth wxGauge *This = (wxGauge *) getPtr(bp,memenv); bp += 4; int * w = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetShadowWidth((int) *w); - break; + break; } -case wxGauge_SetValue: { // wxGauge::SetValue +case wxGauge_SetValue: { // wxGauge::SetValue wxGauge *This = (wxGauge *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetValue((int) *pos); - break; + break; } -case wxGauge_Pulse: { // wxGauge::Pulse +case wxGauge_Pulse: { // wxGauge::Pulse wxGauge *This = (wxGauge *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Pulse(); - break; + break; } -case wxGenericDirCtrl_new_0: { // wxGenericDirCtrl::wxGenericDirCtrl +case wxGenericDirCtrl_new_0: { // wxGenericDirCtrl::wxGenericDirCtrl wxGenericDirCtrl * Result = new EwxGenericDirCtrl(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxGenericDirCtrl"); - break; + break; } -case wxGenericDirCtrl_new_2: { // wxGenericDirCtrl::wxGenericDirCtrl +case wxGenericDirCtrl_new_2: { // wxGenericDirCtrl::wxGenericDirCtrl wxWindowID id=wxID_ANY; wxString dir= wxDirDialogDefaultFolderStr; wxPoint pos= wxDefaultPosition; @@ -14616,7 +14616,7 @@ case wxGenericDirCtrl_new_2: { // wxGenericDirCtrl::wxGenericDirCtrl int defaultFilter=0; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(const int *) bp; bp += 4; } break; @@ -14648,13 +14648,13 @@ case wxGenericDirCtrl_new_2: { // wxGenericDirCtrl::wxGenericDirCtrl case 7: {bp += 4; defaultFilter = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxGenericDirCtrl * Result = new EwxGenericDirCtrl(parent,id,dir,pos,size,style,filter,defaultFilter); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxGenericDirCtrl"); - break; + break; } -case wxGenericDirCtrl_Create: { // wxGenericDirCtrl::Create +case wxGenericDirCtrl_Create: { // wxGenericDirCtrl::Create wxWindowID id=wxID_ANY; wxString dir= wxDirDialogDefaultFolderStr; wxPoint pos= wxDefaultPosition; @@ -14664,7 +14664,7 @@ case wxGenericDirCtrl_Create: { // wxGenericDirCtrl::Create int defaultFilter=0; wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(const int *) bp; bp += 4; } break; @@ -14696,25 +14696,25 @@ case wxGenericDirCtrl_Create: { // wxGenericDirCtrl::Create case 7: {bp += 4; defaultFilter = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,id,dir,pos,size,style,filter,defaultFilter); rt.addBool(Result); - break; + break; } -case wxGenericDirCtrl_Init: { // wxGenericDirCtrl::Init +case wxGenericDirCtrl_Init: { // wxGenericDirCtrl::Init wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Init(); - break; + break; } -case wxGenericDirCtrl_CollapseTree: { // wxGenericDirCtrl::CollapseTree +case wxGenericDirCtrl_CollapseTree: { // wxGenericDirCtrl::CollapseTree wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->CollapseTree(); - break; + break; } -case wxGenericDirCtrl_ExpandPath: { // wxGenericDirCtrl::ExpandPath +case wxGenericDirCtrl_ExpandPath: { // wxGenericDirCtrl::ExpandPath wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4; int * pathLen = (int *) bp; bp += 4; wxString path = wxString(bp, wxConvUTF8); @@ -14722,98 +14722,98 @@ case wxGenericDirCtrl_ExpandPath: { // wxGenericDirCtrl::ExpandPath if(!This) throw wxe_badarg(0); bool Result = This->ExpandPath(path); rt.addBool(Result); - break; + break; } -case wxGenericDirCtrl_GetDefaultPath: { // wxGenericDirCtrl::GetDefaultPath +case wxGenericDirCtrl_GetDefaultPath: { // wxGenericDirCtrl::GetDefaultPath wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetDefaultPath(); rt.add(Result); - break; + break; } -case wxGenericDirCtrl_GetPath: { // wxGenericDirCtrl::GetPath +case wxGenericDirCtrl_GetPath: { // wxGenericDirCtrl::GetPath wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetPath(); rt.add(Result); - break; + break; } -case wxGenericDirCtrl_GetFilePath: { // wxGenericDirCtrl::GetFilePath +case wxGenericDirCtrl_GetFilePath: { // wxGenericDirCtrl::GetFilePath wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetFilePath(); rt.add(Result); - break; + break; } -case wxGenericDirCtrl_GetFilter: { // wxGenericDirCtrl::GetFilter +case wxGenericDirCtrl_GetFilter: { // wxGenericDirCtrl::GetFilter wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetFilter(); rt.add(Result); - break; + break; } -case wxGenericDirCtrl_GetFilterIndex: { // wxGenericDirCtrl::GetFilterIndex +case wxGenericDirCtrl_GetFilterIndex: { // wxGenericDirCtrl::GetFilterIndex wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetFilterIndex(); rt.addInt(Result); - break; + break; } -case wxGenericDirCtrl_GetRootId: { // wxGenericDirCtrl::GetRootId +case wxGenericDirCtrl_GetRootId: { // wxGenericDirCtrl::GetRootId wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxTreeItemId Result = This->GetRootId(); rt.add((wxUIntPtr *) Result.m_pItem); - break; + break; } -case wxGenericDirCtrl_GetTreeCtrl: { // wxGenericDirCtrl::GetTreeCtrl +case wxGenericDirCtrl_GetTreeCtrl: { // wxGenericDirCtrl::GetTreeCtrl wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxTreeCtrl * Result = (wxTreeCtrl*)This->GetTreeCtrl(); rt.addRef(getRef((void *)Result,memenv), "wxTreeCtrl"); - break; + break; } -case wxGenericDirCtrl_ReCreateTree: { // wxGenericDirCtrl::ReCreateTree +case wxGenericDirCtrl_ReCreateTree: { // wxGenericDirCtrl::ReCreateTree wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ReCreateTree(); - break; + break; } -case wxGenericDirCtrl_SetDefaultPath: { // wxGenericDirCtrl::SetDefaultPath +case wxGenericDirCtrl_SetDefaultPath: { // wxGenericDirCtrl::SetDefaultPath wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4; int * pathLen = (int *) bp; bp += 4; wxString path = wxString(bp, wxConvUTF8); bp += *pathLen+((8-((0+ *pathLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetDefaultPath(path); - break; + break; } -case wxGenericDirCtrl_SetFilter: { // wxGenericDirCtrl::SetFilter +case wxGenericDirCtrl_SetFilter: { // wxGenericDirCtrl::SetFilter wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4; int * filterLen = (int *) bp; bp += 4; wxString filter = wxString(bp, wxConvUTF8); bp += *filterLen+((8-((0+ *filterLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetFilter(filter); - break; + break; } -case wxGenericDirCtrl_SetFilterIndex: { // wxGenericDirCtrl::SetFilterIndex +case wxGenericDirCtrl_SetFilterIndex: { // wxGenericDirCtrl::SetFilterIndex wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetFilterIndex((int) *n); - break; + break; } -case wxGenericDirCtrl_SetPath: { // wxGenericDirCtrl::SetPath +case wxGenericDirCtrl_SetPath: { // wxGenericDirCtrl::SetPath wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4; int * pathLen = (int *) bp; bp += 4; wxString path = wxString(bp, wxConvUTF8); bp += *pathLen+((8-((0+ *pathLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetPath(path); - break; + break; } -case wxStaticBox_new_4: { // wxStaticBox::wxStaticBox +case wxStaticBox_new_4: { // wxStaticBox::wxStaticBox wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; @@ -14822,7 +14822,7 @@ case wxStaticBox_new_4: { // wxStaticBox::wxStaticBox int * labelLen = (int *) bp; bp += 4; wxString label = wxString(bp, wxConvUTF8); bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -14838,19 +14838,19 @@ case wxStaticBox_new_4: { // wxStaticBox::wxStaticBox case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxStaticBox * Result = new EwxStaticBox(parent,(wxWindowID) *id,label,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxStaticBox"); - break; + break; } -case wxStaticBox_new_0: { // wxStaticBox::wxStaticBox +case wxStaticBox_new_0: { // wxStaticBox::wxStaticBox wxStaticBox * Result = new EwxStaticBox(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxStaticBox"); - break; + break; } -case wxStaticBox_Create: { // wxStaticBox::Create +case wxStaticBox_Create: { // wxStaticBox::Create wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; @@ -14860,7 +14860,7 @@ case wxStaticBox_Create: { // wxStaticBox::Create int * labelLen = (int *) bp; bp += 4; wxString label = wxString(bp, wxConvUTF8); bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -14876,20 +14876,20 @@ case wxStaticBox_Create: { // wxStaticBox::Create case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,label,pos,size,style); rt.addBool(Result); - break; + break; } -case wxStaticLine_new_2: { // wxStaticLine::wxStaticLine +case wxStaticLine_new_2: { // wxStaticLine::wxStaticLine wxWindowID id=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxLI_HORIZONTAL; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -14908,26 +14908,26 @@ case wxStaticLine_new_2: { // wxStaticLine::wxStaticLine case 4: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxStaticLine * Result = new EwxStaticLine(parent,id,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxStaticLine"); - break; + break; } -case wxStaticLine_new_0: { // wxStaticLine::wxStaticLine +case wxStaticLine_new_0: { // wxStaticLine::wxStaticLine wxStaticLine * Result = new EwxStaticLine(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxStaticLine"); - break; + break; } -case wxStaticLine_Create: { // wxStaticLine::Create +case wxStaticLine_Create: { // wxStaticLine::Create wxWindowID id=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxLI_HORIZONTAL; wxStaticLine *This = (wxStaticLine *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -14946,25 +14946,25 @@ case wxStaticLine_Create: { // wxStaticLine::Create case 4: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,id,pos,size,style); rt.addBool(Result); - break; + break; } -case wxStaticLine_IsVertical: { // wxStaticLine::IsVertical +case wxStaticLine_IsVertical: { // wxStaticLine::IsVertical wxStaticLine *This = (wxStaticLine *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsVertical(); rt.addBool(Result); - break; + break; } -case wxStaticLine_GetDefaultSize: { // wxStaticLine::GetDefaultSize +case wxStaticLine_GetDefaultSize: { // wxStaticLine::GetDefaultSize int Result = wxStaticLine::GetDefaultSize(); rt.addInt(Result); - break; + break; } -case wxListBox_new_3: { // wxListBox::wxListBox +case wxListBox_new_3: { // wxListBox::wxListBox wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; wxArrayString choices; @@ -14972,7 +14972,7 @@ case wxListBox_new_3: { // wxListBox::wxListBox const wxValidator * validator= &wxDefaultValidator; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -15002,19 +15002,19 @@ case wxListBox_new_3: { // wxListBox::wxListBox case 5: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxListBox * Result = new EwxListBox(parent,(wxWindowID) *id,pos,size,choices,style,*validator); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxListBox"); - break; + break; } -case wxListBox_new_0: { // wxListBox::wxListBox +case wxListBox_new_0: { // wxListBox::wxListBox wxListBox * Result = new EwxListBox(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxListBox"); - break; + break; } -case wxListBox_Create: { // wxListBox::Create +case wxListBox_Create: { // wxListBox::Create long style=0; const wxValidator * validator= &wxDefaultValidator; wxListBox *This = (wxListBox *) getPtr(bp,memenv); bp += 4; @@ -15036,27 +15036,27 @@ case wxListBox_Create: { // wxListBox::Create choicesASz += *choicesTemp+4; } bp += (8-((0+ choicesASz) & 7 )) & 7; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; case 2: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,pos,size,choices,style,*validator); rt.addBool(Result); - break; + break; } -case wxListBox_Deselect: { // wxListBox::Deselect +case wxListBox_Deselect: { // wxListBox::Deselect wxListBox *This = (wxListBox *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Deselect((int) *n); - break; + break; } -case wxListBox_GetSelections: { // wxListBox::GetSelections +case wxListBox_GetSelections: { // wxListBox::GetSelections wxArrayInt aSelections; wxListBox *This = (wxListBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); @@ -15064,9 +15064,9 @@ case wxListBox_GetSelections: { // wxListBox::GetSelections rt.addInt(Result); rt.add(aSelections); rt.addTupleCount(2); - break; + break; } -case wxListBox_InsertItems: { // wxListBox::InsertItems +case wxListBox_InsertItems: { // wxListBox::InsertItems wxListBox *This = (wxListBox *) getPtr(bp,memenv); bp += 4; int * itemsLen = (int *) bp; bp += 4; wxArrayString items; @@ -15081,17 +15081,17 @@ case wxListBox_InsertItems: { // wxListBox::InsertItems unsigned int * pos = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->InsertItems(items,(int) *pos); - break; + break; } -case wxListBox_IsSelected: { // wxListBox::IsSelected +case wxListBox_IsSelected: { // wxListBox::IsSelected wxListBox *This = (wxListBox *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsSelected((int) *n); rt.addBool(Result); - break; + break; } -case wxListBox_Set: { // wxListBox::Set +case wxListBox_Set: { // wxListBox::Set wxListBox *This = (wxListBox *) getPtr(bp,memenv); bp += 4; int * itemsLen = (int *) bp; bp += 4; wxArrayString items; @@ -15105,9 +15105,9 @@ case wxListBox_Set: { // wxListBox::Set bp += (8-((0+ itemsASz) & 7 )) & 7; if(!This) throw wxe_badarg(0); This->Set(items,NULL); - break; + break; } -case wxListBox_HitTest: { // wxListBox::HitTest +case wxListBox_HitTest: { // wxListBox::HitTest wxListBox *This = (wxListBox *) getPtr(bp,memenv); bp += 4; int * pointX = (int *) bp; bp += 4; int * pointY = (int *) bp; bp += 4; @@ -15115,31 +15115,31 @@ case wxListBox_HitTest: { // wxListBox::HitTest if(!This) throw wxe_badarg(0); int Result = This->HitTest(point); rt.addInt(Result); - break; + break; } -case wxListBox_SetFirstItem_1_0: { // wxListBox::SetFirstItem +case wxListBox_SetFirstItem_1_0: { // wxListBox::SetFirstItem wxListBox *This = (wxListBox *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetFirstItem((int) *n); - break; + break; } -case wxListBox_SetFirstItem_1_1: { // wxListBox::SetFirstItem +case wxListBox_SetFirstItem_1_1: { // wxListBox::SetFirstItem wxListBox *This = (wxListBox *) getPtr(bp,memenv); bp += 4; int * sLen = (int *) bp; bp += 4; wxString s = wxString(bp, wxConvUTF8); bp += *sLen+((8-((0+ *sLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetFirstItem(s); - break; + break; } -case wxListCtrl_new_0: { // wxListCtrl::wxListCtrl +case wxListCtrl_new_0: { // wxListCtrl::wxListCtrl wxListCtrl * Result = new EwxListCtrl(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxListCtrl"); - break; + break; } -case wxListCtrl_new_2: { // wxListCtrl::wxListCtrl +case wxListCtrl_new_2: { // wxListCtrl::wxListCtrl wxWindowID winid=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; @@ -15147,7 +15147,7 @@ case wxListCtrl_new_2: { // wxListCtrl::wxListCtrl const wxValidator * validator= &wxDefaultValidator; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; winid = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -15169,41 +15169,41 @@ case wxListCtrl_new_2: { // wxListCtrl::wxListCtrl case 5: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxListCtrl * Result = new EwxListCtrl(parent,winid,pos,size,style,*validator); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxListCtrl"); - break; + break; } -case wxListCtrl_Arrange: { // wxListCtrl::Arrange +case wxListCtrl_Arrange: { // wxListCtrl::Arrange int flag=wxLIST_ALIGN_DEFAULT; wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; flag = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Arrange(flag); rt.addBool(Result); - break; + break; } -case wxListCtrl_AssignImageList: { // wxListCtrl::AssignImageList +case wxListCtrl_AssignImageList: { // wxListCtrl::AssignImageList wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4; int * which = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->AssignImageList(imageList,(int) *which); - break; + break; } -case wxListCtrl_ClearAll: { // wxListCtrl::ClearAll +case wxListCtrl_ClearAll: { // wxListCtrl::ClearAll wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ClearAll(); - break; + break; } -case wxListCtrl_Create: { // wxListCtrl::Create +case wxListCtrl_Create: { // wxListCtrl::Create wxWindowID winid=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; @@ -15211,7 +15211,7 @@ case wxListCtrl_Create: { // wxListCtrl::Create const wxValidator * validator= &wxDefaultValidator; wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; winid = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -15233,69 +15233,69 @@ case wxListCtrl_Create: { // wxListCtrl::Create case 5: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,winid,pos,size,style,*validator); rt.addBool(Result); - break; + break; } -case wxListCtrl_DeleteAllItems: { // wxListCtrl::DeleteAllItems +case wxListCtrl_DeleteAllItems: { // wxListCtrl::DeleteAllItems wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->DeleteAllItems(); rt.addBool(Result); - break; + break; } -case wxListCtrl_DeleteColumn: { // wxListCtrl::DeleteColumn +case wxListCtrl_DeleteColumn: { // wxListCtrl::DeleteColumn wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->DeleteColumn((int) *col); rt.addBool(Result); - break; + break; } -case wxListCtrl_DeleteItem: { // wxListCtrl::DeleteItem +case wxListCtrl_DeleteItem: { // wxListCtrl::DeleteItem wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->DeleteItem((long) *item); rt.addBool(Result); - break; + break; } -case wxListCtrl_EditLabel: { // wxListCtrl::EditLabel +case wxListCtrl_EditLabel: { // wxListCtrl::EditLabel wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxTextCtrl * Result = (wxTextCtrl*)This->EditLabel((long) *item); rt.addRef(getRef((void *)Result,memenv), "wxTextCtrl"); - break; + break; } -case wxListCtrl_EnsureVisible: { // wxListCtrl::EnsureVisible +case wxListCtrl_EnsureVisible: { // wxListCtrl::EnsureVisible wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->EnsureVisible((long) *item); rt.addBool(Result); - break; + break; } -case wxListCtrl_FindItem_3_0: { // wxListCtrl::FindItem +case wxListCtrl_FindItem_3_0: { // wxListCtrl::FindItem bool partial=false; wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * start = (int *) bp; bp += 4; int * strLen = (int *) bp; bp += 4; wxString str = wxString(bp, wxConvUTF8); bp += *strLen+((8-((4+ *strLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; partial = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); long Result = This->FindItem((long) *start,str,partial); rt.addInt(Result); - break; + break; } -case wxListCtrl_FindItem_3_1: { // wxListCtrl::FindItem +case wxListCtrl_FindItem_3_1: { // wxListCtrl::FindItem wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * start = (int *) bp; bp += 4; int * ptX = (int *) bp; bp += 4; @@ -15305,38 +15305,38 @@ case wxListCtrl_FindItem_3_1: { // wxListCtrl::FindItem if(!This) throw wxe_badarg(0); long Result = This->FindItem((long) *start,pt,(int) *direction); rt.addInt(Result); - break; + break; } -case wxListCtrl_GetColumn: { // wxListCtrl::GetColumn +case wxListCtrl_GetColumn: { // wxListCtrl::GetColumn wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * col = (int *) bp; bp += 4; wxListItem *item = (wxListItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetColumn((int) *col,*item); rt.addBool(Result); - break; + break; } -case wxListCtrl_GetColumnCount: { // wxListCtrl::GetColumnCount +case wxListCtrl_GetColumnCount: { // wxListCtrl::GetColumnCount wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetColumnCount(); rt.addInt(Result); - break; + break; } -case wxListCtrl_GetColumnWidth: { // wxListCtrl::GetColumnWidth +case wxListCtrl_GetColumnWidth: { // wxListCtrl::GetColumnWidth wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetColumnWidth((int) *col); rt.addInt(Result); - break; + break; } -case wxListCtrl_GetCountPerPage: { // wxListCtrl::GetCountPerPage +case wxListCtrl_GetCountPerPage: { // wxListCtrl::GetCountPerPage wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetCountPerPage(); rt.addInt(Result); - break; + break; } case wxListCtrl_GetEditControl: { // wxListCtrl::GetEditControl wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; @@ -15345,54 +15345,54 @@ case wxListCtrl_GetEditControl: { // wxListCtrl::GetEditControl rt.addRef(getRef((void *)Result,memenv), "wxTextCtrl"); break; } -case wxListCtrl_GetImageList: { // wxListCtrl::GetImageList +case wxListCtrl_GetImageList: { // wxListCtrl::GetImageList wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * which = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxImageList * Result = (wxImageList*)This->GetImageList((int) *which); rt.addRef(getRef((void *)Result,memenv), "wxImageList"); - break; + break; } -case wxListCtrl_GetItem: { // wxListCtrl::GetItem +case wxListCtrl_GetItem: { // wxListCtrl::GetItem wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; wxListItem *info = (wxListItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetItem(*info); rt.addBool(Result); - break; + break; } -case wxListCtrl_GetItemBackgroundColour: { // wxListCtrl::GetItemBackgroundColour +case wxListCtrl_GetItemBackgroundColour: { // wxListCtrl::GetItemBackgroundColour wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetItemBackgroundColour((long) *item); rt.add(Result); - break; + break; } -case wxListCtrl_GetItemCount: { // wxListCtrl::GetItemCount +case wxListCtrl_GetItemCount: { // wxListCtrl::GetItemCount wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetItemCount(); rt.addInt(Result); - break; + break; } -case wxListCtrl_GetItemData: { // wxListCtrl::GetItemData +case wxListCtrl_GetItemData: { // wxListCtrl::GetItemData wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxUIntPtr Result = This->GetItemData((long) *item); rt.addInt(Result); - break; + break; } -case wxListCtrl_GetItemFont: { // wxListCtrl::GetItemFont +case wxListCtrl_GetItemFont: { // wxListCtrl::GetItemFont wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxFont * Result = new wxFont(This->GetItemFont((long) *item)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxFont"); - break; + break; } -case wxListCtrl_GetItemPosition: { // wxListCtrl::GetItemPosition +case wxListCtrl_GetItemPosition: { // wxListCtrl::GetItemPosition wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; int * posX = (int *) bp; bp += 4; @@ -15401,9 +15401,9 @@ case wxListCtrl_GetItemPosition: { // wxListCtrl::GetItemPosition if(!This) throw wxe_badarg(0); bool Result = This->GetItemPosition((long) *item,pos); rt.addBool(Result); - break; + break; } -case wxListCtrl_GetItemRect: { // wxListCtrl::GetItemRect +case wxListCtrl_GetItemRect: { // wxListCtrl::GetItemRect int code=wxLIST_RECT_BOUNDS; wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; @@ -15412,95 +15412,95 @@ case wxListCtrl_GetItemRect: { // wxListCtrl::GetItemRect int * rectW = (int *) bp; bp += 4; int * rectH = (int *) bp; bp += 4; wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; code = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->GetItemRect((long) *item,rect,code); rt.addBool(Result); - break; + break; } -case wxListCtrl_GetItemSpacing: { // wxListCtrl::GetItemSpacing +case wxListCtrl_GetItemSpacing: { // wxListCtrl::GetItemSpacing wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetItemSpacing(); rt.add(Result); - break; + break; } -case wxListCtrl_GetItemState: { // wxListCtrl::GetItemState +case wxListCtrl_GetItemState: { // wxListCtrl::GetItemState wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; int * stateMask = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetItemState((long) *item,(long) *stateMask); rt.addInt(Result); - break; + break; } -case wxListCtrl_GetItemText: { // wxListCtrl::GetItemText +case wxListCtrl_GetItemText: { // wxListCtrl::GetItemText wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetItemText((long) *item); rt.add(Result); - break; + break; } -case wxListCtrl_GetItemTextColour: { // wxListCtrl::GetItemTextColour +case wxListCtrl_GetItemTextColour: { // wxListCtrl::GetItemTextColour wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetItemTextColour((long) *item); rt.add(Result); - break; + break; } -case wxListCtrl_GetNextItem: { // wxListCtrl::GetNextItem +case wxListCtrl_GetNextItem: { // wxListCtrl::GetNextItem int geometry=wxLIST_NEXT_ALL; int state=wxLIST_STATE_DONTCARE; wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; geometry = (int)*(int *) bp; bp += 4; } break; case 2: {bp += 4; state = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); long Result = This->GetNextItem((long) *item,geometry,state); rt.addInt(Result); - break; + break; } -case wxListCtrl_GetSelectedItemCount: { // wxListCtrl::GetSelectedItemCount +case wxListCtrl_GetSelectedItemCount: { // wxListCtrl::GetSelectedItemCount wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetSelectedItemCount(); rt.addInt(Result); - break; + break; } -case wxListCtrl_GetTextColour: { // wxListCtrl::GetTextColour +case wxListCtrl_GetTextColour: { // wxListCtrl::GetTextColour wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetTextColour(); rt.add(Result); - break; + break; } -case wxListCtrl_GetTopItem: { // wxListCtrl::GetTopItem +case wxListCtrl_GetTopItem: { // wxListCtrl::GetTopItem wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetTopItem(); rt.addInt(Result); - break; + break; } -case wxListCtrl_GetViewRect: { // wxListCtrl::GetViewRect +case wxListCtrl_GetViewRect: { // wxListCtrl::GetViewRect wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxRect Result = This->GetViewRect(); rt.add(Result); - break; + break; } -case wxListCtrl_HitTest: { // wxListCtrl::HitTest +case wxListCtrl_HitTest: { // wxListCtrl::HitTest int flags; wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * pointX = (int *) bp; bp += 4; @@ -15511,18 +15511,18 @@ case wxListCtrl_HitTest: { // wxListCtrl::HitTest rt.addInt(Result); rt.addInt(flags); rt.addTupleCount(2); - break; + break; } -case wxListCtrl_InsertColumn_2: { // wxListCtrl::InsertColumn +case wxListCtrl_InsertColumn_2: { // wxListCtrl::InsertColumn wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * col = (int *) bp; bp += 4; wxListItem *info = (wxListItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->InsertColumn((long) *col,*info); rt.addInt(Result); - break; + break; } -case wxListCtrl_InsertColumn_3: { // wxListCtrl::InsertColumn +case wxListCtrl_InsertColumn_3: { // wxListCtrl::InsertColumn int format=wxLIST_FORMAT_LEFT; int width=-1; wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; @@ -15530,28 +15530,28 @@ case wxListCtrl_InsertColumn_3: { // wxListCtrl::InsertColumn int * headingLen = (int *) bp; bp += 4; wxString heading = wxString(bp, wxConvUTF8); bp += *headingLen+((8-((4+ *headingLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; format = (int)*(int *) bp; bp += 4; } break; case 2: {bp += 4; width = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); long Result = This->InsertColumn((long) *col,heading,format,width); rt.addInt(Result); - break; + break; } -case wxListCtrl_InsertItem_1: { // wxListCtrl::InsertItem +case wxListCtrl_InsertItem_1: { // wxListCtrl::InsertItem wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; wxListItem *info = (wxListItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->InsertItem(*info); rt.addInt(Result); - break; + break; } -case wxListCtrl_InsertItem_2_1: { // wxListCtrl::InsertItem +case wxListCtrl_InsertItem_2_1: { // wxListCtrl::InsertItem wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; int * labelLen = (int *) bp; bp += 4; @@ -15560,18 +15560,18 @@ case wxListCtrl_InsertItem_2_1: { // wxListCtrl::InsertItem if(!This) throw wxe_badarg(0); long Result = This->InsertItem((long) *index,label); rt.addInt(Result); - break; + break; } -case wxListCtrl_InsertItem_2_0: { // wxListCtrl::InsertItem +case wxListCtrl_InsertItem_2_0: { // wxListCtrl::InsertItem wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; int * imageIndex = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); long Result = This->InsertItem((long) *index,(int) *imageIndex); rt.addInt(Result); - break; + break; } -case wxListCtrl_InsertItem_3: { // wxListCtrl::InsertItem +case wxListCtrl_InsertItem_3: { // wxListCtrl::InsertItem wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; int * labelLen = (int *) bp; bp += 4; @@ -15581,33 +15581,33 @@ case wxListCtrl_InsertItem_3: { // wxListCtrl::InsertItem if(!This) throw wxe_badarg(0); long Result = This->InsertItem((long) *index,label,(int) *imageIndex); rt.addInt(Result); - break; + break; } -case wxListCtrl_RefreshItem: { // wxListCtrl::RefreshItem +case wxListCtrl_RefreshItem: { // wxListCtrl::RefreshItem wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->RefreshItem((long) *item); - break; + break; } -case wxListCtrl_RefreshItems: { // wxListCtrl::RefreshItems +case wxListCtrl_RefreshItems: { // wxListCtrl::RefreshItems wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * itemFrom = (int *) bp; bp += 4; int * itemTo = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->RefreshItems((long) *itemFrom,(long) *itemTo); - break; + break; } -case wxListCtrl_ScrollList: { // wxListCtrl::ScrollList +case wxListCtrl_ScrollList: { // wxListCtrl::ScrollList wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * dx = (int *) bp; bp += 4; int * dy = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->ScrollList((int) *dx,(int) *dy); rt.addBool(Result); - break; + break; } -case wxListCtrl_SetBackgroundColour: { // wxListCtrl::SetBackgroundColour +case wxListCtrl_SetBackgroundColour: { // wxListCtrl::SetBackgroundColour wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * colourR = (int *) bp; bp += 4; int * colourG = (int *) bp; bp += 4; @@ -15617,43 +15617,43 @@ case wxListCtrl_SetBackgroundColour: { // wxListCtrl::SetBackgroundColour if(!This) throw wxe_badarg(0); bool Result = This->SetBackgroundColour(colour); rt.addBool(Result); - break; + break; } -case wxListCtrl_SetColumn: { // wxListCtrl::SetColumn +case wxListCtrl_SetColumn: { // wxListCtrl::SetColumn wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * col = (int *) bp; bp += 4; wxListItem *item = (wxListItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->SetColumn((int) *col,*item); rt.addBool(Result); - break; + break; } -case wxListCtrl_SetColumnWidth: { // wxListCtrl::SetColumnWidth +case wxListCtrl_SetColumnWidth: { // wxListCtrl::SetColumnWidth wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * col = (int *) bp; bp += 4; int * width = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->SetColumnWidth((int) *col,(int) *width); rt.addBool(Result); - break; + break; } -case wxListCtrl_SetImageList: { // wxListCtrl::SetImageList +case wxListCtrl_SetImageList: { // wxListCtrl::SetImageList wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4; int * which = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetImageList(imageList,(int) *which); - break; + break; } -case wxListCtrl_SetItem_1: { // wxListCtrl::SetItem +case wxListCtrl_SetItem_1: { // wxListCtrl::SetItem wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; wxListItem *info = (wxListItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->SetItem(*info); rt.addBool(Result); - break; + break; } -case wxListCtrl_SetItem_4: { // wxListCtrl::SetItem +case wxListCtrl_SetItem_4: { // wxListCtrl::SetItem int imageId=-1; wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; @@ -15661,17 +15661,17 @@ case wxListCtrl_SetItem_4: { // wxListCtrl::SetItem int * labelLen = (int *) bp; bp += 4; wxString label = wxString(bp, wxConvUTF8); bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; imageId = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); long Result = This->SetItem((long) *index,(int) *col,label,imageId); rt.addInt(Result); - break; + break; } -case wxListCtrl_SetItemBackgroundColour: { // wxListCtrl::SetItemBackgroundColour +case wxListCtrl_SetItemBackgroundColour: { // wxListCtrl::SetItemBackgroundColour wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; int * colR = (int *) bp; bp += 4; @@ -15681,49 +15681,49 @@ case wxListCtrl_SetItemBackgroundColour: { // wxListCtrl::SetItemBackgroundColou wxColour col = wxColour(*colR,*colG,*colB,*colA); if(!This) throw wxe_badarg(0); This->SetItemBackgroundColour((long) *item,col); - break; + break; } -case wxListCtrl_SetItemCount: { // wxListCtrl::SetItemCount +case wxListCtrl_SetItemCount: { // wxListCtrl::SetItemCount wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * count = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetItemCount((long) *count); - break; + break; } -case wxListCtrl_SetItemData: { // wxListCtrl::SetItemData +case wxListCtrl_SetItemData: { // wxListCtrl::SetItemData wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; int * data = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->SetItemData((long) *item,(long) *data); rt.addBool(Result); - break; + break; } -case wxListCtrl_SetItemFont: { // wxListCtrl::SetItemFont +case wxListCtrl_SetItemFont: { // wxListCtrl::SetItemFont wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; wxFont *f = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetItemFont((long) *item,*f); - break; + break; } -case wxListCtrl_SetItemImage: { // wxListCtrl::SetItemImage +case wxListCtrl_SetItemImage: { // wxListCtrl::SetItemImage int selImage=-1; wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; int * image = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; selImage = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->SetItemImage((long) *item,(int) *image,selImage); rt.addBool(Result); - break; + break; } -case wxListCtrl_SetItemColumnImage: { // wxListCtrl::SetItemColumnImage +case wxListCtrl_SetItemColumnImage: { // wxListCtrl::SetItemColumnImage wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; int * column = (int *) bp; bp += 4; @@ -15731,9 +15731,9 @@ case wxListCtrl_SetItemColumnImage: { // wxListCtrl::SetItemColumnImage if(!This) throw wxe_badarg(0); bool Result = This->SetItemColumnImage((long) *item,(long) *column,(int) *image); rt.addBool(Result); - break; + break; } -case wxListCtrl_SetItemPosition: { // wxListCtrl::SetItemPosition +case wxListCtrl_SetItemPosition: { // wxListCtrl::SetItemPosition wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; int * posX = (int *) bp; bp += 4; @@ -15742,9 +15742,9 @@ case wxListCtrl_SetItemPosition: { // wxListCtrl::SetItemPosition if(!This) throw wxe_badarg(0); bool Result = This->SetItemPosition((long) *item,pos); rt.addBool(Result); - break; + break; } -case wxListCtrl_SetItemState: { // wxListCtrl::SetItemState +case wxListCtrl_SetItemState: { // wxListCtrl::SetItemState wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; int * state = (int *) bp; bp += 4; @@ -15752,9 +15752,9 @@ case wxListCtrl_SetItemState: { // wxListCtrl::SetItemState if(!This) throw wxe_badarg(0); bool Result = This->SetItemState((long) *item,(long) *state,(long) *stateMask); rt.addBool(Result); - break; + break; } -case wxListCtrl_SetItemText: { // wxListCtrl::SetItemText +case wxListCtrl_SetItemText: { // wxListCtrl::SetItemText wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; int * strLen = (int *) bp; bp += 4; @@ -15762,9 +15762,9 @@ case wxListCtrl_SetItemText: { // wxListCtrl::SetItemText bp += *strLen+((8-((4+ *strLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetItemText((long) *item,str); - break; + break; } -case wxListCtrl_SetItemTextColour: { // wxListCtrl::SetItemTextColour +case wxListCtrl_SetItemTextColour: { // wxListCtrl::SetItemTextColour wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; int * colR = (int *) bp; bp += 4; @@ -15774,22 +15774,22 @@ case wxListCtrl_SetItemTextColour: { // wxListCtrl::SetItemTextColour wxColour col = wxColour(*colR,*colG,*colB,*colA); if(!This) throw wxe_badarg(0); This->SetItemTextColour((long) *item,col); - break; + break; } -case wxListCtrl_SetSingleStyle: { // wxListCtrl::SetSingleStyle +case wxListCtrl_SetSingleStyle: { // wxListCtrl::SetSingleStyle bool add=true; wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * style = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; add = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetSingleStyle((long) *style,add); - break; + break; } -case wxListCtrl_SetTextColour: { // wxListCtrl::SetTextColour +case wxListCtrl_SetTextColour: { // wxListCtrl::SetTextColour wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * colR = (int *) bp; bp += 4; int * colG = (int *) bp; bp += 4; @@ -15798,14 +15798,14 @@ case wxListCtrl_SetTextColour: { // wxListCtrl::SetTextColour wxColour col = wxColour(*colR,*colG,*colB,*colA); if(!This) throw wxe_badarg(0); This->SetTextColour(col); - break; + break; } -case wxListCtrl_SetWindowStyleFlag: { // wxListCtrl::SetWindowStyleFlag +case wxListCtrl_SetWindowStyleFlag: { // wxListCtrl::SetWindowStyleFlag wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * style = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetWindowStyleFlag((long) *style); - break; + break; } case wxListCtrl_SortItems: { // wxListCtrl::SortItems taylormade @@ -15830,175 +15830,175 @@ case wxListCtrl_SortItems: { // wxListCtrl::SortItems taylormade rt.addBool(Result); break; } -case wxListView_ClearColumnImage: { // wxListView::ClearColumnImage +case wxListView_ClearColumnImage: { // wxListView::ClearColumnImage wxListView *This = (wxListView *) getPtr(bp,memenv); bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->ClearColumnImage((int) *col); - break; + break; } -case wxListView_Focus: { // wxListView::Focus +case wxListView_Focus: { // wxListView::Focus wxListView *This = (wxListView *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Focus((long) *index); - break; + break; } -case wxListView_GetFirstSelected: { // wxListView::GetFirstSelected +case wxListView_GetFirstSelected: { // wxListView::GetFirstSelected wxListView *This = (wxListView *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetFirstSelected(); rt.addInt(Result); - break; + break; } -case wxListView_GetFocusedItem: { // wxListView::GetFocusedItem +case wxListView_GetFocusedItem: { // wxListView::GetFocusedItem wxListView *This = (wxListView *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetFocusedItem(); rt.addInt(Result); - break; + break; } -case wxListView_GetNextSelected: { // wxListView::GetNextSelected +case wxListView_GetNextSelected: { // wxListView::GetNextSelected wxListView *This = (wxListView *) getPtr(bp,memenv); bp += 4; int * item = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetNextSelected((long) *item); rt.addInt(Result); - break; + break; } -case wxListView_IsSelected: { // wxListView::IsSelected +case wxListView_IsSelected: { // wxListView::IsSelected wxListView *This = (wxListView *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsSelected((long) *index); rt.addBool(Result); - break; + break; } -case wxListView_Select: { // wxListView::Select +case wxListView_Select: { // wxListView::Select bool on=true; wxListView *This = (wxListView *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; on = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Select((long) *n,on); - break; + break; } -case wxListView_SetColumnImage: { // wxListView::SetColumnImage +case wxListView_SetColumnImage: { // wxListView::SetColumnImage wxListView *This = (wxListView *) getPtr(bp,memenv); bp += 4; int * col = (int *) bp; bp += 4; int * image = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetColumnImage((int) *col,(int) *image); - break; + break; } -case wxListItem_new_0: { // wxListItem::wxListItem +case wxListItem_new_0: { // wxListItem::wxListItem wxListItem * Result = new EwxListItem(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxListItem"); - break; + break; } -case wxListItem_new_1: { // wxListItem::wxListItem +case wxListItem_new_1: { // wxListItem::wxListItem wxListItem *item = (wxListItem *) getPtr(bp,memenv); bp += 4; wxListItem * Result = new EwxListItem(*item); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxListItem"); - break; + break; } -case wxListItem_Clear: { // wxListItem::Clear +case wxListItem_Clear: { // wxListItem::Clear wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Clear(); - break; + break; } -case wxListItem_GetAlign: { // wxListItem::GetAlign +case wxListItem_GetAlign: { // wxListItem::GetAlign wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetAlign(); rt.addInt(Result); - break; + break; } -case wxListItem_GetBackgroundColour: { // wxListItem::GetBackgroundColour +case wxListItem_GetBackgroundColour: { // wxListItem::GetBackgroundColour wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetBackgroundColour(); rt.add(Result); - break; + break; } -case wxListItem_GetColumn: { // wxListItem::GetColumn +case wxListItem_GetColumn: { // wxListItem::GetColumn wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetColumn(); rt.addInt(Result); - break; + break; } -case wxListItem_GetFont: { // wxListItem::GetFont +case wxListItem_GetFont: { // wxListItem::GetFont wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxFont * Result = new wxFont(This->GetFont()); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxFont"); - break; + break; } -case wxListItem_GetId: { // wxListItem::GetId +case wxListItem_GetId: { // wxListItem::GetId wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetId(); rt.addInt(Result); - break; + break; } -case wxListItem_GetImage: { // wxListItem::GetImage +case wxListItem_GetImage: { // wxListItem::GetImage wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetImage(); rt.addInt(Result); - break; + break; } -case wxListItem_GetMask: { // wxListItem::GetMask +case wxListItem_GetMask: { // wxListItem::GetMask wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetMask(); rt.addInt(Result); - break; + break; } -case wxListItem_GetState: { // wxListItem::GetState +case wxListItem_GetState: { // wxListItem::GetState wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetState(); rt.addInt(Result); - break; + break; } -case wxListItem_GetText: { // wxListItem::GetText +case wxListItem_GetText: { // wxListItem::GetText wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxString * Result = &This->GetText(); rt.add(Result); - break; + break; } -case wxListItem_GetTextColour: { // wxListItem::GetTextColour +case wxListItem_GetTextColour: { // wxListItem::GetTextColour wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetTextColour(); rt.add(Result); - break; + break; } -case wxListItem_GetWidth: { // wxListItem::GetWidth +case wxListItem_GetWidth: { // wxListItem::GetWidth wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetWidth(); rt.addInt(Result); - break; + break; } -case wxListItem_SetAlign: { // wxListItem::SetAlign +case wxListItem_SetAlign: { // wxListItem::SetAlign wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; wxListColumnFormat align = *(wxListColumnFormat *) bp; bp += 4;; if(!This) throw wxe_badarg(0); This->SetAlign((wxListColumnFormat) align); - break; + break; } -case wxListItem_SetBackgroundColour: { // wxListItem::SetBackgroundColour +case wxListItem_SetBackgroundColour: { // wxListItem::SetBackgroundColour wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; int * colBackR = (int *) bp; bp += 4; int * colBackG = (int *) bp; bp += 4; @@ -16007,67 +16007,67 @@ case wxListItem_SetBackgroundColour: { // wxListItem::SetBackgroundColour wxColour colBack = wxColour(*colBackR,*colBackG,*colBackB,*colBackA); if(!This) throw wxe_badarg(0); This->SetBackgroundColour(colBack); - break; + break; } -case wxListItem_SetColumn: { // wxListItem::SetColumn +case wxListItem_SetColumn: { // wxListItem::SetColumn wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; int * col = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetColumn((int) *col); - break; + break; } -case wxListItem_SetFont: { // wxListItem::SetFont +case wxListItem_SetFont: { // wxListItem::SetFont wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetFont(*font); - break; + break; } -case wxListItem_SetId: { // wxListItem::SetId +case wxListItem_SetId: { // wxListItem::SetId wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetId((long) *id); - break; + break; } -case wxListItem_SetImage: { // wxListItem::SetImage +case wxListItem_SetImage: { // wxListItem::SetImage wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; int * image = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetImage((int) *image); - break; + break; } -case wxListItem_SetMask: { // wxListItem::SetMask +case wxListItem_SetMask: { // wxListItem::SetMask wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; int * mask = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMask((long) *mask); - break; + break; } -case wxListItem_SetState: { // wxListItem::SetState +case wxListItem_SetState: { // wxListItem::SetState wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; int * state = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetState((long) *state); - break; + break; } -case wxListItem_SetStateMask: { // wxListItem::SetStateMask +case wxListItem_SetStateMask: { // wxListItem::SetStateMask wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; int * stateMask = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetStateMask((long) *stateMask); - break; + break; } -case wxListItem_SetText: { // wxListItem::SetText +case wxListItem_SetText: { // wxListItem::SetText wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetText(text); - break; + break; } -case wxListItem_SetTextColour: { // wxListItem::SetTextColour +case wxListItem_SetTextColour: { // wxListItem::SetTextColour wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; int * colTextR = (int *) bp; bp += 4; int * colTextG = (int *) bp; bp += 4; @@ -16076,57 +16076,57 @@ case wxListItem_SetTextColour: { // wxListItem::SetTextColour wxColour colText = wxColour(*colTextR,*colTextG,*colTextB,*colTextA); if(!This) throw wxe_badarg(0); This->SetTextColour(colText); - break; + break; } -case wxListItem_SetWidth: { // wxListItem::SetWidth +case wxListItem_SetWidth: { // wxListItem::SetWidth wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetWidth((int) *width); - break; + break; } -case wxImageList_new_0: { // wxImageList::wxImageList +case wxImageList_new_0: { // wxImageList::wxImageList wxImageList * Result = new EwxImageList(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxImageList"); - break; + break; } -case wxImageList_new_3: { // wxImageList::wxImageList +case wxImageList_new_3: { // wxImageList::wxImageList bool mask=true; int initialCount=1; int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; mask = *(bool *) bp; bp += 4; } break; case 2: {bp += 4; initialCount = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxImageList * Result = new EwxImageList((int) *width,(int) *height,mask,initialCount); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxImageList"); - break; + break; } -case wxImageList_Add_1: { // wxImageList::Add +case wxImageList_Add_1: { // wxImageList::Add wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4; wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->Add(*bitmap); rt.addInt(Result); - break; + break; } -case wxImageList_Add_2_0: { // wxImageList::Add +case wxImageList_Add_2_0: { // wxImageList::Add wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4; wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; wxBitmap *mask = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->Add(*bitmap,*mask); rt.addInt(Result); - break; + break; } -case wxImageList_Add_2_1: { // wxImageList::Add +case wxImageList_Add_2_1: { // wxImageList::Add wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4; wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; int * maskColourR = (int *) bp; bp += 4; @@ -16137,29 +16137,29 @@ case wxImageList_Add_2_1: { // wxImageList::Add if(!This) throw wxe_badarg(0); int Result = This->Add(*bitmap,maskColour); rt.addInt(Result); - break; + break; } -case wxImageList_Create: { // wxImageList::Create +case wxImageList_Create: { // wxImageList::Create bool mask=true; int initialCount=1; wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; int * height = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; mask = *(bool *) bp; bp += 4; } break; case 2: {bp += 4; initialCount = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create((int) *width,(int) *height,mask,initialCount); rt.addBool(Result); - break; + break; } -case wxImageList_Draw: { // wxImageList::Draw +case wxImageList_Draw: { // wxImageList::Draw int flags=wxIMAGELIST_DRAW_NORMAL; bool solidBackground=false; wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4; @@ -16168,43 +16168,43 @@ case wxImageList_Draw: { // wxImageList::Draw int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; flags = (int)*(int *) bp; bp += 4; } break; case 2: {bp += 4; solidBackground = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Draw((int) *index,*dc,(int) *x,(int) *y,flags,solidBackground); rt.addBool(Result); - break; + break; } -case wxImageList_GetBitmap: { // wxImageList::GetBitmap +case wxImageList_GetBitmap: { // wxImageList::GetBitmap wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxBitmap * Result = new wxBitmap(This->GetBitmap((int) *index)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxBitmap"); - break; + break; } -case wxImageList_GetIcon: { // wxImageList::GetIcon +case wxImageList_GetIcon: { // wxImageList::GetIcon wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxIcon * Result = new wxIcon(This->GetIcon((int) *index)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxIcon"); - break; + break; } -case wxImageList_GetImageCount: { // wxImageList::GetImageCount +case wxImageList_GetImageCount: { // wxImageList::GetImageCount wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetImageCount(); rt.addInt(Result); - break; + break; } -case wxImageList_GetSize: { // wxImageList::GetSize +case wxImageList_GetSize: { // wxImageList::GetSize int width; int height; wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4; @@ -16215,33 +16215,33 @@ case wxImageList_GetSize: { // wxImageList::GetSize rt.addInt(width); rt.addInt(height); rt.addTupleCount(3); - break; + break; } -case wxImageList_Remove: { // wxImageList::Remove +case wxImageList_Remove: { // wxImageList::Remove wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Remove((int) *index); rt.addBool(Result); - break; + break; } -case wxImageList_RemoveAll: { // wxImageList::RemoveAll +case wxImageList_RemoveAll: { // wxImageList::RemoveAll wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->RemoveAll(); rt.addBool(Result); - break; + break; } -case wxImageList_Replace_2: { // wxImageList::Replace +case wxImageList_Replace_2: { // wxImageList::Replace wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Replace((int) *index,*bitmap); rt.addBool(Result); - break; + break; } -case wxImageList_Replace_3: { // wxImageList::Replace +case wxImageList_Replace_3: { // wxImageList::Replace wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4; int * index = (int *) bp; bp += 4; wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; @@ -16249,15 +16249,15 @@ case wxImageList_Replace_3: { // wxImageList::Replace if(!This) throw wxe_badarg(0); bool Result = This->Replace((int) *index,*bitmap,*mask); rt.addBool(Result); - break; + break; } -case wxTextAttr_new_0: { // wxTextAttr::wxTextAttr +case wxTextAttr_new_0: { // wxTextAttr::wxTextAttr wxTextAttr * Result = new wxTextAttr(); newPtr((void *) Result, 102, memenv); rt.addRef(getRef((void *)Result,memenv), "wxTextAttr"); - break; + break; } -case wxTextAttr_new_2: { // wxTextAttr::wxTextAttr +case wxTextAttr_new_2: { // wxTextAttr::wxTextAttr wxColour colBack= wxNullColour; const wxFont * font= &wxNullFont; wxTextAttrAlignment alignment=wxTEXT_ALIGNMENT_DEFAULT; @@ -16266,7 +16266,7 @@ case wxTextAttr_new_2: { // wxTextAttr::wxTextAttr int * colTextB = (int *) bp; bp += 4; int * colTextA = (int *) bp; bp += 4; wxColour colText = wxColour(*colTextR,*colTextG,*colTextB,*colTextA); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * colBackR = (int *) bp; bp += 4; int * colBackG = (int *) bp; bp += 4; @@ -16281,111 +16281,111 @@ font = (wxFont *) getPtr(bp,memenv); bp += 4; case 3: {bp += 4; alignment = *(wxTextAttrAlignment *) bp; bp += 4;; } break; - }}; + }}; wxTextAttr * Result = new wxTextAttr(colText,colBack,*font,(wxTextAttrAlignment) alignment); newPtr((void *) Result, 102, memenv); rt.addRef(getRef((void *)Result,memenv), "wxTextAttr"); - break; + break; } -case wxTextAttr_GetAlignment: { // wxTextAttr::GetAlignment +case wxTextAttr_GetAlignment: { // wxTextAttr::GetAlignment wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetAlignment(); rt.addInt(Result); - break; + break; } -case wxTextAttr_GetBackgroundColour: { // wxTextAttr::GetBackgroundColour +case wxTextAttr_GetBackgroundColour: { // wxTextAttr::GetBackgroundColour wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxColour * Result = &This->GetBackgroundColour(); rt.add((*Result)); - break; + break; } -case wxTextAttr_GetFont: { // wxTextAttr::GetFont +case wxTextAttr_GetFont: { // wxTextAttr::GetFont wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxFont * Result = &This->GetFont(); rt.addRef(getRef((void *)Result,memenv), "wxFont"); - break; + break; } -case wxTextAttr_GetLeftIndent: { // wxTextAttr::GetLeftIndent +case wxTextAttr_GetLeftIndent: { // wxTextAttr::GetLeftIndent wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetLeftIndent(); rt.addInt(Result); - break; + break; } -case wxTextAttr_GetLeftSubIndent: { // wxTextAttr::GetLeftSubIndent +case wxTextAttr_GetLeftSubIndent: { // wxTextAttr::GetLeftSubIndent wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetLeftSubIndent(); rt.addInt(Result); - break; + break; } -case wxTextAttr_GetRightIndent: { // wxTextAttr::GetRightIndent +case wxTextAttr_GetRightIndent: { // wxTextAttr::GetRightIndent wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetRightIndent(); rt.addInt(Result); - break; + break; } -case wxTextAttr_GetTabs: { // wxTextAttr::GetTabs +case wxTextAttr_GetTabs: { // wxTextAttr::GetTabs wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxArrayInt Result = This->GetTabs(); rt.add(Result); - break; + break; } -case wxTextAttr_GetTextColour: { // wxTextAttr::GetTextColour +case wxTextAttr_GetTextColour: { // wxTextAttr::GetTextColour wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxColour * Result = &This->GetTextColour(); rt.add((*Result)); - break; + break; } -case wxTextAttr_HasBackgroundColour: { // wxTextAttr::HasBackgroundColour +case wxTextAttr_HasBackgroundColour: { // wxTextAttr::HasBackgroundColour wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasBackgroundColour(); rt.addBool(Result); - break; + break; } -case wxTextAttr_HasFont: { // wxTextAttr::HasFont +case wxTextAttr_HasFont: { // wxTextAttr::HasFont wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasFont(); rt.addBool(Result); - break; + break; } -case wxTextAttr_HasTextColour: { // wxTextAttr::HasTextColour +case wxTextAttr_HasTextColour: { // wxTextAttr::HasTextColour wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasTextColour(); rt.addBool(Result); - break; + break; } -case wxTextAttr_GetFlags: { // wxTextAttr::GetFlags +case wxTextAttr_GetFlags: { // wxTextAttr::GetFlags wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetFlags(); rt.addInt(Result); - break; + break; } -case wxTextAttr_IsDefault: { // wxTextAttr::IsDefault +case wxTextAttr_IsDefault: { // wxTextAttr::IsDefault wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsDefault(); rt.addBool(Result); - break; + break; } -case wxTextAttr_SetAlignment: { // wxTextAttr::SetAlignment +case wxTextAttr_SetAlignment: { // wxTextAttr::SetAlignment wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; wxTextAttrAlignment alignment = *(wxTextAttrAlignment *) bp; bp += 4;; if(!This) throw wxe_badarg(0); This->SetAlignment((wxTextAttrAlignment) alignment); - break; + break; } -case wxTextAttr_SetBackgroundColour: { // wxTextAttr::SetBackgroundColour +case wxTextAttr_SetBackgroundColour: { // wxTextAttr::SetBackgroundColour wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; int * colBackR = (int *) bp; bp += 4; int * colBackG = (int *) bp; bp += 4; @@ -16394,49 +16394,49 @@ case wxTextAttr_SetBackgroundColour: { // wxTextAttr::SetBackgroundColour wxColour colBack = wxColour(*colBackR,*colBackG,*colBackB,*colBackA); if(!This) throw wxe_badarg(0); This->SetBackgroundColour(colBack); - break; + break; } -case wxTextAttr_SetFlags: { // wxTextAttr::SetFlags +case wxTextAttr_SetFlags: { // wxTextAttr::SetFlags wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; int * flags = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetFlags((long) *flags); - break; + break; } -case wxTextAttr_SetFont: { // wxTextAttr::SetFont +case wxTextAttr_SetFont: { // wxTextAttr::SetFont long flags=(0x0004|0x0008|0x0010|0x0020|0x0040); wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; flags = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetFont(*font,flags); - break; + break; } -case wxTextAttr_SetLeftIndent: { // wxTextAttr::SetLeftIndent +case wxTextAttr_SetLeftIndent: { // wxTextAttr::SetLeftIndent int subIndent=0; wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; int * indent = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; subIndent = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetLeftIndent((int) *indent,subIndent); - break; + break; } -case wxTextAttr_SetRightIndent: { // wxTextAttr::SetRightIndent +case wxTextAttr_SetRightIndent: { // wxTextAttr::SetRightIndent wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; int * indent = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetRightIndent((int) *indent); - break; + break; } -case wxTextAttr_SetTabs: { // wxTextAttr::SetTabs +case wxTextAttr_SetTabs: { // wxTextAttr::SetTabs wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; int * tabsLen = (int *) bp; bp += 4; wxArrayInt tabs; @@ -16444,9 +16444,9 @@ case wxTextAttr_SetTabs: { // wxTextAttr::SetTabs bp += ((*tabsLen + 2) % 2 )*4; if(!This) throw wxe_badarg(0); This->SetTabs(tabs); - break; + break; } -case wxTextAttr_SetTextColour: { // wxTextAttr::SetTextColour +case wxTextAttr_SetTextColour: { // wxTextAttr::SetTextColour wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; int * colTextR = (int *) bp; bp += 4; int * colTextG = (int *) bp; bp += 4; @@ -16455,15 +16455,15 @@ case wxTextAttr_SetTextColour: { // wxTextAttr::SetTextColour wxColour colText = wxColour(*colTextR,*colTextG,*colTextB,*colTextA); if(!This) throw wxe_badarg(0); This->SetTextColour(colText); - break; + break; } -case wxTextAttr_destroy: { // wxTextAttr::destroy +case wxTextAttr_destroy: { // wxTextAttr::destroy wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This); delete This;} - break; + break; } -case wxTextCtrl_new_3: { // wxTextCtrl::wxTextCtrl +case wxTextCtrl_new_3: { // wxTextCtrl::wxTextCtrl wxString value= wxEmptyString; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; @@ -16471,7 +16471,7 @@ case wxTextCtrl_new_3: { // wxTextCtrl::wxTextCtrl const wxValidator * validator= &wxDefaultValidator; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * valueLen = (int *) bp; bp += 4; value = wxString(bp, wxConvUTF8); @@ -16495,75 +16495,75 @@ case wxTextCtrl_new_3: { // wxTextCtrl::wxTextCtrl case 5: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxTextCtrl * Result = new EwxTextCtrl(parent,(wxWindowID) *id,value,pos,size,style,*validator); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxTextCtrl"); - break; + break; } -case wxTextCtrl_new_0: { // wxTextCtrl::wxTextCtrl +case wxTextCtrl_new_0: { // wxTextCtrl::wxTextCtrl wxTextCtrl * Result = new EwxTextCtrl(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxTextCtrl"); - break; + break; } -case wxTextCtrl_AppendText: { // wxTextCtrl::AppendText +case wxTextCtrl_AppendText: { // wxTextCtrl::AppendText wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->AppendText(text); - break; + break; } -case wxTextCtrl_CanCopy: { // wxTextCtrl::CanCopy +case wxTextCtrl_CanCopy: { // wxTextCtrl::CanCopy wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CanCopy(); rt.addBool(Result); - break; + break; } -case wxTextCtrl_CanCut: { // wxTextCtrl::CanCut +case wxTextCtrl_CanCut: { // wxTextCtrl::CanCut wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CanCut(); rt.addBool(Result); - break; + break; } -case wxTextCtrl_CanPaste: { // wxTextCtrl::CanPaste +case wxTextCtrl_CanPaste: { // wxTextCtrl::CanPaste wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CanPaste(); rt.addBool(Result); - break; + break; } -case wxTextCtrl_CanRedo: { // wxTextCtrl::CanRedo +case wxTextCtrl_CanRedo: { // wxTextCtrl::CanRedo wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CanRedo(); rt.addBool(Result); - break; + break; } -case wxTextCtrl_CanUndo: { // wxTextCtrl::CanUndo +case wxTextCtrl_CanUndo: { // wxTextCtrl::CanUndo wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CanUndo(); rt.addBool(Result); - break; + break; } -case wxTextCtrl_Clear: { // wxTextCtrl::Clear +case wxTextCtrl_Clear: { // wxTextCtrl::Clear wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Clear(); - break; + break; } -case wxTextCtrl_Copy: { // wxTextCtrl::Copy +case wxTextCtrl_Copy: { // wxTextCtrl::Copy wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Copy(); - break; + break; } -case wxTextCtrl_Create: { // wxTextCtrl::Create +case wxTextCtrl_Create: { // wxTextCtrl::Create wxString value= wxEmptyString; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; @@ -16573,7 +16573,7 @@ case wxTextCtrl_Create: { // wxTextCtrl::Create wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * valueLen = (int *) bp; bp += 4; value = wxString(bp, wxConvUTF8); @@ -16597,86 +16597,86 @@ case wxTextCtrl_Create: { // wxTextCtrl::Create case 5: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,value,pos,size,style,*validator); rt.addBool(Result); - break; + break; } -case wxTextCtrl_Cut: { // wxTextCtrl::Cut +case wxTextCtrl_Cut: { // wxTextCtrl::Cut wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Cut(); - break; + break; } -case wxTextCtrl_DiscardEdits: { // wxTextCtrl::DiscardEdits +case wxTextCtrl_DiscardEdits: { // wxTextCtrl::DiscardEdits wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->DiscardEdits(); - break; + break; } -case wxTextCtrl_EmulateKeyPress: { // wxTextCtrl::EmulateKeyPress +case wxTextCtrl_EmulateKeyPress: { // wxTextCtrl::EmulateKeyPress wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; wxKeyEvent *event = (wxKeyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->EmulateKeyPress(*event); rt.addBool(Result); - break; + break; } -case wxTextCtrl_GetDefaultStyle: { // wxTextCtrl::GetDefaultStyle +case wxTextCtrl_GetDefaultStyle: { // wxTextCtrl::GetDefaultStyle wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxTextAttr * Result = &This->GetDefaultStyle(); rt.addRef(getRef((void *)Result,memenv), "wxTextAttr"); - break; + break; } -case wxTextCtrl_GetInsertionPoint: { // wxTextCtrl::GetInsertionPoint +case wxTextCtrl_GetInsertionPoint: { // wxTextCtrl::GetInsertionPoint wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetInsertionPoint(); rt.addInt(Result); - break; + break; } -case wxTextCtrl_GetLastPosition: { // wxTextCtrl::GetLastPosition +case wxTextCtrl_GetLastPosition: { // wxTextCtrl::GetLastPosition wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxTextPos Result = This->GetLastPosition(); rt.addInt(Result); - break; + break; } -case wxTextCtrl_GetLineLength: { // wxTextCtrl::GetLineLength +case wxTextCtrl_GetLineLength: { // wxTextCtrl::GetLineLength wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; int * lineNo = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetLineLength((long) *lineNo); rt.addInt(Result); - break; + break; } -case wxTextCtrl_GetLineText: { // wxTextCtrl::GetLineText +case wxTextCtrl_GetLineText: { // wxTextCtrl::GetLineText wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; int * lineNo = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetLineText((long) *lineNo); rt.add(Result); - break; + break; } -case wxTextCtrl_GetNumberOfLines: { // wxTextCtrl::GetNumberOfLines +case wxTextCtrl_GetNumberOfLines: { // wxTextCtrl::GetNumberOfLines wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetNumberOfLines(); rt.addInt(Result); - break; + break; } -case wxTextCtrl_GetRange: { // wxTextCtrl::GetRange +case wxTextCtrl_GetRange: { // wxTextCtrl::GetRange wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; int * from = (int *) bp; bp += 4; int * to = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetRange((long) *from,(long) *to); rt.add(Result); - break; + break; } -case wxTextCtrl_GetSelection: { // wxTextCtrl::GetSelection +case wxTextCtrl_GetSelection: { // wxTextCtrl::GetSelection long from; long to; wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; @@ -16685,88 +16685,88 @@ case wxTextCtrl_GetSelection: { // wxTextCtrl::GetSelection rt.addInt(from); rt.addInt(to); rt.addTupleCount(2); - break; + break; } -case wxTextCtrl_GetStringSelection: { // wxTextCtrl::GetStringSelection +case wxTextCtrl_GetStringSelection: { // wxTextCtrl::GetStringSelection wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetStringSelection(); rt.add(Result); - break; + break; } -case wxTextCtrl_GetStyle: { // wxTextCtrl::GetStyle +case wxTextCtrl_GetStyle: { // wxTextCtrl::GetStyle wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; int * position = (int *) bp; bp += 4; wxTextAttr *style = (wxTextAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetStyle((long) *position,*style); rt.addBool(Result); - break; + break; } -case wxTextCtrl_GetValue: { // wxTextCtrl::GetValue +case wxTextCtrl_GetValue: { // wxTextCtrl::GetValue wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetValue(); rt.add(Result); - break; + break; } -case wxTextCtrl_IsEditable: { // wxTextCtrl::IsEditable +case wxTextCtrl_IsEditable: { // wxTextCtrl::IsEditable wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsEditable(); rt.addBool(Result); - break; + break; } -case wxTextCtrl_IsModified: { // wxTextCtrl::IsModified +case wxTextCtrl_IsModified: { // wxTextCtrl::IsModified wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsModified(); rt.addBool(Result); - break; + break; } -case wxTextCtrl_IsMultiLine: { // wxTextCtrl::IsMultiLine +case wxTextCtrl_IsMultiLine: { // wxTextCtrl::IsMultiLine wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsMultiLine(); rt.addBool(Result); - break; + break; } -case wxTextCtrl_IsSingleLine: { // wxTextCtrl::IsSingleLine +case wxTextCtrl_IsSingleLine: { // wxTextCtrl::IsSingleLine wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsSingleLine(); rt.addBool(Result); - break; + break; } -case wxTextCtrl_LoadFile: { // wxTextCtrl::LoadFile +case wxTextCtrl_LoadFile: { // wxTextCtrl::LoadFile int fileType=0; wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; int * fileLen = (int *) bp; bp += 4; wxString file = wxString(bp, wxConvUTF8); bp += *fileLen+((8-((0+ *fileLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; fileType = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->LoadFile(file,fileType); rt.addBool(Result); - break; + break; } -case wxTextCtrl_MarkDirty: { // wxTextCtrl::MarkDirty +case wxTextCtrl_MarkDirty: { // wxTextCtrl::MarkDirty wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->MarkDirty(); - break; + break; } -case wxTextCtrl_Paste: { // wxTextCtrl::Paste +case wxTextCtrl_Paste: { // wxTextCtrl::Paste wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Paste(); - break; + break; } -case wxTextCtrl_PositionToXY: { // wxTextCtrl::PositionToXY +case wxTextCtrl_PositionToXY: { // wxTextCtrl::PositionToXY long x; long y; wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; @@ -16777,23 +16777,23 @@ case wxTextCtrl_PositionToXY: { // wxTextCtrl::PositionToXY rt.addInt(x); rt.addInt(y); rt.addTupleCount(3); - break; + break; } -case wxTextCtrl_Redo: { // wxTextCtrl::Redo +case wxTextCtrl_Redo: { // wxTextCtrl::Redo wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Redo(); - break; + break; } -case wxTextCtrl_Remove: { // wxTextCtrl::Remove +case wxTextCtrl_Remove: { // wxTextCtrl::Remove wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; int * from = (int *) bp; bp += 4; int * to = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Remove((long) *from,(long) *to); - break; + break; } -case wxTextCtrl_Replace: { // wxTextCtrl::Replace +case wxTextCtrl_Replace: { // wxTextCtrl::Replace wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; int * from = (int *) bp; bp += 4; int * to = (int *) bp; bp += 4; @@ -16802,14 +16802,14 @@ case wxTextCtrl_Replace: { // wxTextCtrl::Replace bp += *valueLen+((8-((0+ *valueLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->Replace((long) *from,(long) *to,value); - break; + break; } -case wxTextCtrl_SaveFile: { // wxTextCtrl::SaveFile +case wxTextCtrl_SaveFile: { // wxTextCtrl::SaveFile wxString file= wxEmptyString; int fileType=0; wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * fileLen = (int *) bp; bp += 4; file = wxString(bp, wxConvUTF8); @@ -16818,56 +16818,56 @@ case wxTextCtrl_SaveFile: { // wxTextCtrl::SaveFile case 2: {bp += 4; fileType = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->SaveFile(file,fileType); rt.addBool(Result); - break; + break; } -case wxTextCtrl_SetDefaultStyle: { // wxTextCtrl::SetDefaultStyle +case wxTextCtrl_SetDefaultStyle: { // wxTextCtrl::SetDefaultStyle wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; wxTextAttr *style = (wxTextAttr *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->SetDefaultStyle(*style); rt.addBool(Result); - break; + break; } -case wxTextCtrl_SetEditable: { // wxTextCtrl::SetEditable +case wxTextCtrl_SetEditable: { // wxTextCtrl::SetEditable wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; bool * editable = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetEditable((bool) *editable); - break; + break; } -case wxTextCtrl_SetInsertionPoint: { // wxTextCtrl::SetInsertionPoint +case wxTextCtrl_SetInsertionPoint: { // wxTextCtrl::SetInsertionPoint wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetInsertionPoint((long) *pos); - break; + break; } -case wxTextCtrl_SetInsertionPointEnd: { // wxTextCtrl::SetInsertionPointEnd +case wxTextCtrl_SetInsertionPointEnd: { // wxTextCtrl::SetInsertionPointEnd wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetInsertionPointEnd(); - break; + break; } -case wxTextCtrl_SetMaxLength: { // wxTextCtrl::SetMaxLength +case wxTextCtrl_SetMaxLength: { // wxTextCtrl::SetMaxLength wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; unsigned int * len = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMaxLength((long) *len); - break; + break; } -case wxTextCtrl_SetSelection: { // wxTextCtrl::SetSelection +case wxTextCtrl_SetSelection: { // wxTextCtrl::SetSelection wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; int * from = (int *) bp; bp += 4; int * to = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSelection((long) *from,(long) *to); - break; + break; } -case wxTextCtrl_SetStyle: { // wxTextCtrl::SetStyle +case wxTextCtrl_SetStyle: { // wxTextCtrl::SetStyle wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; int * start = (int *) bp; bp += 4; int * end = (int *) bp; bp += 4; @@ -16875,61 +16875,61 @@ case wxTextCtrl_SetStyle: { // wxTextCtrl::SetStyle if(!This) throw wxe_badarg(0); bool Result = This->SetStyle((long) *start,(long) *end,*style); rt.addBool(Result); - break; + break; } -case wxTextCtrl_SetValue: { // wxTextCtrl::SetValue +case wxTextCtrl_SetValue: { // wxTextCtrl::SetValue wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; int * valueLen = (int *) bp; bp += 4; wxString value = wxString(bp, wxConvUTF8); bp += *valueLen+((8-((0+ *valueLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetValue(value); - break; + break; } -case wxTextCtrl_ShowPosition: { // wxTextCtrl::ShowPosition +case wxTextCtrl_ShowPosition: { // wxTextCtrl::ShowPosition wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->ShowPosition((long) *pos); - break; + break; } -case wxTextCtrl_Undo: { // wxTextCtrl::Undo +case wxTextCtrl_Undo: { // wxTextCtrl::Undo wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Undo(); - break; + break; } -case wxTextCtrl_WriteText: { // wxTextCtrl::WriteText +case wxTextCtrl_WriteText: { // wxTextCtrl::WriteText wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->WriteText(text); - break; + break; } -case wxTextCtrl_XYToPosition: { // wxTextCtrl::XYToPosition +case wxTextCtrl_XYToPosition: { // wxTextCtrl::XYToPosition wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); long Result = This->XYToPosition((long) *x,(long) *y); rt.addInt(Result); - break; + break; } -case wxNotebook_new_0: { // wxNotebook::wxNotebook +case wxNotebook_new_0: { // wxNotebook::wxNotebook wxNotebook * Result = new EwxNotebook(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxNotebook"); - break; + break; } -case wxNotebook_new_3: { // wxNotebook::wxNotebook +case wxNotebook_new_3: { // wxNotebook::wxNotebook wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * winid = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -16945,13 +16945,13 @@ case wxNotebook_new_3: { // wxNotebook::wxNotebook case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxNotebook * Result = new EwxNotebook(parent,(wxWindowID) *winid,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxNotebook"); - break; + break; } -case wxNotebook_AddPage: { // wxNotebook::AddPage +case wxNotebook_AddPage: { // wxNotebook::AddPage bool bSelect=false; int imageId=-1; wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; @@ -16959,40 +16959,40 @@ case wxNotebook_AddPage: { // wxNotebook::AddPage int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((4+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; bSelect = *(bool *) bp; bp += 4; } break; case 2: {bp += 4; imageId = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->AddPage(page,text,bSelect,imageId); rt.addBool(Result); - break; + break; } -case wxNotebook_AdvanceSelection: { // wxNotebook::AdvanceSelection +case wxNotebook_AdvanceSelection: { // wxNotebook::AdvanceSelection bool forward=true; wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; forward = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->AdvanceSelection(forward); - break; + break; } -case wxNotebook_AssignImageList: { // wxNotebook::AssignImageList +case wxNotebook_AssignImageList: { // wxNotebook::AssignImageList wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->AssignImageList(imageList); - break; + break; } -case wxNotebook_Create: { // wxNotebook::Create +case wxNotebook_Create: { // wxNotebook::Create wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; @@ -17000,7 +17000,7 @@ case wxNotebook_Create: { // wxNotebook::Create wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -17016,102 +17016,102 @@ case wxNotebook_Create: { // wxNotebook::Create case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,pos,size,style); rt.addBool(Result); - break; + break; } -case wxNotebook_DeleteAllPages: { // wxNotebook::DeleteAllPages +case wxNotebook_DeleteAllPages: { // wxNotebook::DeleteAllPages wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->DeleteAllPages(); rt.addBool(Result); - break; + break; } -case wxNotebook_DeletePage: { // wxNotebook::DeletePage +case wxNotebook_DeletePage: { // wxNotebook::DeletePage wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; int * nPage = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->DeletePage((size_t) *nPage); rt.addBool(Result); - break; + break; } -case wxNotebook_RemovePage: { // wxNotebook::RemovePage +case wxNotebook_RemovePage: { // wxNotebook::RemovePage wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; int * nPage = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->RemovePage((size_t) *nPage); rt.addBool(Result); - break; + break; } -case wxNotebook_GetCurrentPage: { // wxNotebook::GetCurrentPage +case wxNotebook_GetCurrentPage: { // wxNotebook::GetCurrentPage wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetCurrentPage(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxNotebook_GetImageList: { // wxNotebook::GetImageList +case wxNotebook_GetImageList: { // wxNotebook::GetImageList wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxImageList * Result = (wxImageList*)This->GetImageList(); rt.addRef(getRef((void *)Result,memenv), "wxImageList"); - break; + break; } -case wxNotebook_GetPage: { // wxNotebook::GetPage +case wxNotebook_GetPage: { // wxNotebook::GetPage wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetPage((size_t) *n); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxNotebook_GetPageCount: { // wxNotebook::GetPageCount +case wxNotebook_GetPageCount: { // wxNotebook::GetPageCount wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); size_t Result = This->GetPageCount(); rt.addInt(Result); - break; + break; } -case wxNotebook_GetPageImage: { // wxNotebook::GetPageImage +case wxNotebook_GetPageImage: { // wxNotebook::GetPageImage wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; int * nPage = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetPageImage((size_t) *nPage); rt.addInt(Result); - break; + break; } -case wxNotebook_GetPageText: { // wxNotebook::GetPageText +case wxNotebook_GetPageText: { // wxNotebook::GetPageText wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; int * nPage = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetPageText((size_t) *nPage); rt.add(Result); - break; + break; } -case wxNotebook_GetRowCount: { // wxNotebook::GetRowCount +case wxNotebook_GetRowCount: { // wxNotebook::GetRowCount wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetRowCount(); rt.addInt(Result); - break; + break; } -case wxNotebook_GetSelection: { // wxNotebook::GetSelection +case wxNotebook_GetSelection: { // wxNotebook::GetSelection wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetSelection(); rt.addInt(Result); - break; + break; } -case wxNotebook_GetThemeBackgroundColour: { // wxNotebook::GetThemeBackgroundColour +case wxNotebook_GetThemeBackgroundColour: { // wxNotebook::GetThemeBackgroundColour wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetThemeBackgroundColour(); rt.add(Result); - break; + break; } -case wxNotebook_HitTest: { // wxNotebook::HitTest +case wxNotebook_HitTest: { // wxNotebook::HitTest long flags; wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; @@ -17122,9 +17122,9 @@ case wxNotebook_HitTest: { // wxNotebook::HitTest rt.addInt(Result); rt.addInt(flags); rt.addTupleCount(2); - break; + break; } -case wxNotebook_InsertPage: { // wxNotebook::InsertPage +case wxNotebook_InsertPage: { // wxNotebook::InsertPage bool bSelect=false; int imageId=-1; wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; @@ -17133,54 +17133,54 @@ case wxNotebook_InsertPage: { // wxNotebook::InsertPage int * strTextLen = (int *) bp; bp += 4; wxString strText = wxString(bp, wxConvUTF8); bp += *strTextLen+((8-((0+ *strTextLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; bSelect = *(bool *) bp; bp += 4; } break; case 2: {bp += 4; imageId = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->InsertPage((size_t) *position,win,strText,bSelect,imageId); rt.addBool(Result); - break; + break; } -case wxNotebook_SetImageList: { // wxNotebook::SetImageList +case wxNotebook_SetImageList: { // wxNotebook::SetImageList wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetImageList(imageList); - break; + break; } -case wxNotebook_SetPadding: { // wxNotebook::SetPadding +case wxNotebook_SetPadding: { // wxNotebook::SetPadding wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; int * paddingW = (int *) bp; bp += 4; int * paddingH = (int *) bp; bp += 4; wxSize padding = wxSize(*paddingW,*paddingH); if(!This) throw wxe_badarg(0); This->SetPadding(padding); - break; + break; } -case wxNotebook_SetPageSize: { // wxNotebook::SetPageSize +case wxNotebook_SetPageSize: { // wxNotebook::SetPageSize wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; wxSize size = wxSize(*sizeW,*sizeH); if(!This) throw wxe_badarg(0); This->SetPageSize(size); - break; + break; } -case wxNotebook_SetPageImage: { // wxNotebook::SetPageImage +case wxNotebook_SetPageImage: { // wxNotebook::SetPageImage wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; int * nPage = (int *) bp; bp += 4; int * nImage = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->SetPageImage((size_t) *nPage,(int) *nImage); rt.addBool(Result); - break; + break; } -case wxNotebook_SetPageText: { // wxNotebook::SetPageText +case wxNotebook_SetPageText: { // wxNotebook::SetPageText wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; int * nPage = (int *) bp; bp += 4; int * strTextLen = (int *) bp; bp += 4; @@ -17189,37 +17189,37 @@ case wxNotebook_SetPageText: { // wxNotebook::SetPageText if(!This) throw wxe_badarg(0); bool Result = This->SetPageText((size_t) *nPage,strText); rt.addBool(Result); - break; + break; } -case wxNotebook_SetSelection: { // wxNotebook::SetSelection +case wxNotebook_SetSelection: { // wxNotebook::SetSelection wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; int * nPage = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->SetSelection((size_t) *nPage); rt.addInt(Result); - break; + break; } -case wxNotebook_ChangeSelection: { // wxNotebook::ChangeSelection +case wxNotebook_ChangeSelection: { // wxNotebook::ChangeSelection wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4; int * nPage = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->ChangeSelection((size_t) *nPage); rt.addInt(Result); - break; + break; } -case wxChoicebook_new_0: { // wxChoicebook::wxChoicebook +case wxChoicebook_new_0: { // wxChoicebook::wxChoicebook wxChoicebook * Result = new EwxChoicebook(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxChoicebook"); - break; + break; } -case wxChoicebook_new_3: { // wxChoicebook::wxChoicebook +case wxChoicebook_new_3: { // wxChoicebook::wxChoicebook wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -17235,13 +17235,13 @@ case wxChoicebook_new_3: { // wxChoicebook::wxChoicebook case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxChoicebook * Result = new EwxChoicebook(parent,(wxWindowID) *id,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxChoicebook"); - break; + break; } -case wxChoicebook_AddPage: { // wxChoicebook::AddPage +case wxChoicebook_AddPage: { // wxChoicebook::AddPage bool bSelect=false; int imageId=-1; wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4; @@ -17249,40 +17249,40 @@ case wxChoicebook_AddPage: { // wxChoicebook::AddPage int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((4+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; bSelect = *(bool *) bp; bp += 4; } break; case 2: {bp += 4; imageId = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->AddPage(page,text,bSelect,imageId); rt.addBool(Result); - break; + break; } -case wxChoicebook_AdvanceSelection: { // wxChoicebook::AdvanceSelection +case wxChoicebook_AdvanceSelection: { // wxChoicebook::AdvanceSelection bool forward=true; wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; forward = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->AdvanceSelection(forward); - break; + break; } -case wxChoicebook_AssignImageList: { // wxChoicebook::AssignImageList +case wxChoicebook_AssignImageList: { // wxChoicebook::AssignImageList wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4; wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->AssignImageList(imageList); - break; + break; } -case wxChoicebook_Create: { // wxChoicebook::Create +case wxChoicebook_Create: { // wxChoicebook::Create wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; @@ -17290,7 +17290,7 @@ case wxChoicebook_Create: { // wxChoicebook::Create wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -17306,88 +17306,88 @@ case wxChoicebook_Create: { // wxChoicebook::Create case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,pos,size,style); rt.addBool(Result); - break; + break; } -case wxChoicebook_DeleteAllPages: { // wxChoicebook::DeleteAllPages +case wxChoicebook_DeleteAllPages: { // wxChoicebook::DeleteAllPages wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->DeleteAllPages(); rt.addBool(Result); - break; + break; } -case wxChoicebook_DeletePage: { // wxChoicebook::DeletePage +case wxChoicebook_DeletePage: { // wxChoicebook::DeletePage wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->DeletePage((size_t) *n); rt.addBool(Result); - break; + break; } -case wxChoicebook_RemovePage: { // wxChoicebook::RemovePage +case wxChoicebook_RemovePage: { // wxChoicebook::RemovePage wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->RemovePage((size_t) *n); rt.addBool(Result); - break; + break; } -case wxChoicebook_GetCurrentPage: { // wxChoicebook::GetCurrentPage +case wxChoicebook_GetCurrentPage: { // wxChoicebook::GetCurrentPage wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetCurrentPage(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxChoicebook_GetImageList: { // wxChoicebook::GetImageList +case wxChoicebook_GetImageList: { // wxChoicebook::GetImageList wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxImageList * Result = (wxImageList*)This->GetImageList(); rt.addRef(getRef((void *)Result,memenv), "wxImageList"); - break; + break; } -case wxChoicebook_GetPage: { // wxChoicebook::GetPage +case wxChoicebook_GetPage: { // wxChoicebook::GetPage wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetPage((size_t) *n); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxChoicebook_GetPageCount: { // wxChoicebook::GetPageCount +case wxChoicebook_GetPageCount: { // wxChoicebook::GetPageCount wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); size_t Result = This->GetPageCount(); rt.addInt(Result); - break; + break; } -case wxChoicebook_GetPageImage: { // wxChoicebook::GetPageImage +case wxChoicebook_GetPageImage: { // wxChoicebook::GetPageImage wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetPageImage((size_t) *n); rt.addInt(Result); - break; + break; } -case wxChoicebook_GetPageText: { // wxChoicebook::GetPageText +case wxChoicebook_GetPageText: { // wxChoicebook::GetPageText wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetPageText((size_t) *n); rt.add(Result); - break; + break; } -case wxChoicebook_GetSelection: { // wxChoicebook::GetSelection +case wxChoicebook_GetSelection: { // wxChoicebook::GetSelection wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetSelection(); rt.addInt(Result); - break; + break; } -case wxChoicebook_HitTest: { // wxChoicebook::HitTest +case wxChoicebook_HitTest: { // wxChoicebook::HitTest long flags; wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; @@ -17398,9 +17398,9 @@ case wxChoicebook_HitTest: { // wxChoicebook::HitTest rt.addInt(Result); rt.addInt(flags); rt.addTupleCount(2); - break; + break; } -case wxChoicebook_InsertPage: { // wxChoicebook::InsertPage +case wxChoicebook_InsertPage: { // wxChoicebook::InsertPage bool bSelect=false; int imageId=-1; wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4; @@ -17409,45 +17409,45 @@ case wxChoicebook_InsertPage: { // wxChoicebook::InsertPage int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; bSelect = *(bool *) bp; bp += 4; } break; case 2: {bp += 4; imageId = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->InsertPage((size_t) *n,page,text,bSelect,imageId); rt.addBool(Result); - break; + break; } -case wxChoicebook_SetImageList: { // wxChoicebook::SetImageList +case wxChoicebook_SetImageList: { // wxChoicebook::SetImageList wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4; wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetImageList(imageList); - break; + break; } -case wxChoicebook_SetPageSize: { // wxChoicebook::SetPageSize +case wxChoicebook_SetPageSize: { // wxChoicebook::SetPageSize wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; wxSize size = wxSize(*sizeW,*sizeH); if(!This) throw wxe_badarg(0); This->SetPageSize(size); - break; + break; } -case wxChoicebook_SetPageImage: { // wxChoicebook::SetPageImage +case wxChoicebook_SetPageImage: { // wxChoicebook::SetPageImage wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; int * imageId = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->SetPageImage((size_t) *n,(int) *imageId); rt.addBool(Result); - break; + break; } -case wxChoicebook_SetPageText: { // wxChoicebook::SetPageText +case wxChoicebook_SetPageText: { // wxChoicebook::SetPageText wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; int * strTextLen = (int *) bp; bp += 4; @@ -17456,37 +17456,37 @@ case wxChoicebook_SetPageText: { // wxChoicebook::SetPageText if(!This) throw wxe_badarg(0); bool Result = This->SetPageText((size_t) *n,strText); rt.addBool(Result); - break; + break; } -case wxChoicebook_SetSelection: { // wxChoicebook::SetSelection +case wxChoicebook_SetSelection: { // wxChoicebook::SetSelection wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->SetSelection((size_t) *n); rt.addInt(Result); - break; + break; } -case wxChoicebook_ChangeSelection: { // wxChoicebook::ChangeSelection +case wxChoicebook_ChangeSelection: { // wxChoicebook::ChangeSelection wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->ChangeSelection((size_t) *n); rt.addInt(Result); - break; + break; } -case wxToolbook_new_0: { // wxToolbook::wxToolbook +case wxToolbook_new_0: { // wxToolbook::wxToolbook wxToolbook * Result = new EwxToolbook(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxToolbook"); - break; + break; } -case wxToolbook_new_3: { // wxToolbook::wxToolbook +case wxToolbook_new_3: { // wxToolbook::wxToolbook wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -17502,13 +17502,13 @@ case wxToolbook_new_3: { // wxToolbook::wxToolbook case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxToolbook * Result = new EwxToolbook(parent,(wxWindowID) *id,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxToolbook"); - break; + break; } -case wxToolbook_AddPage: { // wxToolbook::AddPage +case wxToolbook_AddPage: { // wxToolbook::AddPage bool bSelect=false; int imageId=-1; wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4; @@ -17516,40 +17516,40 @@ case wxToolbook_AddPage: { // wxToolbook::AddPage int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((4+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; bSelect = *(bool *) bp; bp += 4; } break; case 2: {bp += 4; imageId = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->AddPage(page,text,bSelect,imageId); rt.addBool(Result); - break; + break; } -case wxToolbook_AdvanceSelection: { // wxToolbook::AdvanceSelection +case wxToolbook_AdvanceSelection: { // wxToolbook::AdvanceSelection bool forward=true; wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; forward = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->AdvanceSelection(forward); - break; + break; } -case wxToolbook_AssignImageList: { // wxToolbook::AssignImageList +case wxToolbook_AssignImageList: { // wxToolbook::AssignImageList wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4; wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->AssignImageList(imageList); - break; + break; } -case wxToolbook_Create: { // wxToolbook::Create +case wxToolbook_Create: { // wxToolbook::Create wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; @@ -17557,7 +17557,7 @@ case wxToolbook_Create: { // wxToolbook::Create wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -17573,88 +17573,88 @@ case wxToolbook_Create: { // wxToolbook::Create case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,pos,size,style); rt.addBool(Result); - break; + break; } -case wxToolbook_DeleteAllPages: { // wxToolbook::DeleteAllPages +case wxToolbook_DeleteAllPages: { // wxToolbook::DeleteAllPages wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->DeleteAllPages(); rt.addBool(Result); - break; + break; } -case wxToolbook_DeletePage: { // wxToolbook::DeletePage +case wxToolbook_DeletePage: { // wxToolbook::DeletePage wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->DeletePage((size_t) *n); rt.addBool(Result); - break; + break; } -case wxToolbook_RemovePage: { // wxToolbook::RemovePage +case wxToolbook_RemovePage: { // wxToolbook::RemovePage wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->RemovePage((size_t) *n); rt.addBool(Result); - break; + break; } -case wxToolbook_GetCurrentPage: { // wxToolbook::GetCurrentPage +case wxToolbook_GetCurrentPage: { // wxToolbook::GetCurrentPage wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetCurrentPage(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxToolbook_GetImageList: { // wxToolbook::GetImageList +case wxToolbook_GetImageList: { // wxToolbook::GetImageList wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxImageList * Result = (wxImageList*)This->GetImageList(); rt.addRef(getRef((void *)Result,memenv), "wxImageList"); - break; + break; } -case wxToolbook_GetPage: { // wxToolbook::GetPage +case wxToolbook_GetPage: { // wxToolbook::GetPage wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetPage((size_t) *n); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxToolbook_GetPageCount: { // wxToolbook::GetPageCount +case wxToolbook_GetPageCount: { // wxToolbook::GetPageCount wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); size_t Result = This->GetPageCount(); rt.addInt(Result); - break; + break; } -case wxToolbook_GetPageImage: { // wxToolbook::GetPageImage +case wxToolbook_GetPageImage: { // wxToolbook::GetPageImage wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetPageImage((size_t) *n); rt.addInt(Result); - break; + break; } -case wxToolbook_GetPageText: { // wxToolbook::GetPageText +case wxToolbook_GetPageText: { // wxToolbook::GetPageText wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetPageText((size_t) *n); rt.add(Result); - break; + break; } -case wxToolbook_GetSelection: { // wxToolbook::GetSelection +case wxToolbook_GetSelection: { // wxToolbook::GetSelection wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetSelection(); rt.addInt(Result); - break; + break; } -case wxToolbook_HitTest: { // wxToolbook::HitTest +case wxToolbook_HitTest: { // wxToolbook::HitTest long flags; wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; @@ -17665,9 +17665,9 @@ case wxToolbook_HitTest: { // wxToolbook::HitTest rt.addInt(Result); rt.addInt(flags); rt.addTupleCount(2); - break; + break; } -case wxToolbook_InsertPage: { // wxToolbook::InsertPage +case wxToolbook_InsertPage: { // wxToolbook::InsertPage bool bSelect=false; int imageId=-1; wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4; @@ -17676,45 +17676,45 @@ case wxToolbook_InsertPage: { // wxToolbook::InsertPage int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; bSelect = *(bool *) bp; bp += 4; } break; case 2: {bp += 4; imageId = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->InsertPage((size_t) *n,page,text,bSelect,imageId); rt.addBool(Result); - break; + break; } -case wxToolbook_SetImageList: { // wxToolbook::SetImageList +case wxToolbook_SetImageList: { // wxToolbook::SetImageList wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4; wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetImageList(imageList); - break; + break; } -case wxToolbook_SetPageSize: { // wxToolbook::SetPageSize +case wxToolbook_SetPageSize: { // wxToolbook::SetPageSize wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; wxSize size = wxSize(*sizeW,*sizeH); if(!This) throw wxe_badarg(0); This->SetPageSize(size); - break; + break; } -case wxToolbook_SetPageImage: { // wxToolbook::SetPageImage +case wxToolbook_SetPageImage: { // wxToolbook::SetPageImage wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; int * imageId = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->SetPageImage((size_t) *n,(int) *imageId); rt.addBool(Result); - break; + break; } -case wxToolbook_SetPageText: { // wxToolbook::SetPageText +case wxToolbook_SetPageText: { // wxToolbook::SetPageText wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; int * strTextLen = (int *) bp; bp += 4; @@ -17723,37 +17723,37 @@ case wxToolbook_SetPageText: { // wxToolbook::SetPageText if(!This) throw wxe_badarg(0); bool Result = This->SetPageText((size_t) *n,strText); rt.addBool(Result); - break; + break; } -case wxToolbook_SetSelection: { // wxToolbook::SetSelection +case wxToolbook_SetSelection: { // wxToolbook::SetSelection wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->SetSelection((size_t) *n); rt.addInt(Result); - break; + break; } -case wxToolbook_ChangeSelection: { // wxToolbook::ChangeSelection +case wxToolbook_ChangeSelection: { // wxToolbook::ChangeSelection wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->ChangeSelection((size_t) *n); rt.addInt(Result); - break; + break; } -case wxListbook_new_0: { // wxListbook::wxListbook +case wxListbook_new_0: { // wxListbook::wxListbook wxListbook * Result = new EwxListbook(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxListbook"); - break; + break; } -case wxListbook_new_3: { // wxListbook::wxListbook +case wxListbook_new_3: { // wxListbook::wxListbook wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -17769,13 +17769,13 @@ case wxListbook_new_3: { // wxListbook::wxListbook case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxListbook * Result = new EwxListbook(parent,(wxWindowID) *id,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxListbook"); - break; + break; } -case wxListbook_AddPage: { // wxListbook::AddPage +case wxListbook_AddPage: { // wxListbook::AddPage bool bSelect=false; int imageId=-1; wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4; @@ -17783,40 +17783,40 @@ case wxListbook_AddPage: { // wxListbook::AddPage int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((4+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; bSelect = *(bool *) bp; bp += 4; } break; case 2: {bp += 4; imageId = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->AddPage(page,text,bSelect,imageId); rt.addBool(Result); - break; + break; } -case wxListbook_AdvanceSelection: { // wxListbook::AdvanceSelection +case wxListbook_AdvanceSelection: { // wxListbook::AdvanceSelection bool forward=true; wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; forward = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->AdvanceSelection(forward); - break; + break; } -case wxListbook_AssignImageList: { // wxListbook::AssignImageList +case wxListbook_AssignImageList: { // wxListbook::AssignImageList wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4; wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->AssignImageList(imageList); - break; + break; } -case wxListbook_Create: { // wxListbook::Create +case wxListbook_Create: { // wxListbook::Create wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; @@ -17824,7 +17824,7 @@ case wxListbook_Create: { // wxListbook::Create wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -17840,88 +17840,88 @@ case wxListbook_Create: { // wxListbook::Create case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,pos,size,style); rt.addBool(Result); - break; + break; } -case wxListbook_DeleteAllPages: { // wxListbook::DeleteAllPages +case wxListbook_DeleteAllPages: { // wxListbook::DeleteAllPages wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->DeleteAllPages(); rt.addBool(Result); - break; + break; } -case wxListbook_DeletePage: { // wxListbook::DeletePage +case wxListbook_DeletePage: { // wxListbook::DeletePage wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->DeletePage((size_t) *n); rt.addBool(Result); - break; + break; } -case wxListbook_RemovePage: { // wxListbook::RemovePage +case wxListbook_RemovePage: { // wxListbook::RemovePage wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->RemovePage((size_t) *n); rt.addBool(Result); - break; + break; } -case wxListbook_GetCurrentPage: { // wxListbook::GetCurrentPage +case wxListbook_GetCurrentPage: { // wxListbook::GetCurrentPage wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetCurrentPage(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxListbook_GetImageList: { // wxListbook::GetImageList +case wxListbook_GetImageList: { // wxListbook::GetImageList wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxImageList * Result = (wxImageList*)This->GetImageList(); rt.addRef(getRef((void *)Result,memenv), "wxImageList"); - break; + break; } -case wxListbook_GetPage: { // wxListbook::GetPage +case wxListbook_GetPage: { // wxListbook::GetPage wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetPage((size_t) *n); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxListbook_GetPageCount: { // wxListbook::GetPageCount +case wxListbook_GetPageCount: { // wxListbook::GetPageCount wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); size_t Result = This->GetPageCount(); rt.addInt(Result); - break; + break; } -case wxListbook_GetPageImage: { // wxListbook::GetPageImage +case wxListbook_GetPageImage: { // wxListbook::GetPageImage wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetPageImage((size_t) *n); rt.addInt(Result); - break; + break; } -case wxListbook_GetPageText: { // wxListbook::GetPageText +case wxListbook_GetPageText: { // wxListbook::GetPageText wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetPageText((size_t) *n); rt.add(Result); - break; + break; } -case wxListbook_GetSelection: { // wxListbook::GetSelection +case wxListbook_GetSelection: { // wxListbook::GetSelection wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetSelection(); rt.addInt(Result); - break; + break; } -case wxListbook_HitTest: { // wxListbook::HitTest +case wxListbook_HitTest: { // wxListbook::HitTest long flags; wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; @@ -17932,9 +17932,9 @@ case wxListbook_HitTest: { // wxListbook::HitTest rt.addInt(Result); rt.addInt(flags); rt.addTupleCount(2); - break; + break; } -case wxListbook_InsertPage: { // wxListbook::InsertPage +case wxListbook_InsertPage: { // wxListbook::InsertPage bool bSelect=false; int imageId=-1; wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4; @@ -17943,45 +17943,45 @@ case wxListbook_InsertPage: { // wxListbook::InsertPage int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; bSelect = *(bool *) bp; bp += 4; } break; case 2: {bp += 4; imageId = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->InsertPage((size_t) *n,page,text,bSelect,imageId); rt.addBool(Result); - break; + break; } -case wxListbook_SetImageList: { // wxListbook::SetImageList +case wxListbook_SetImageList: { // wxListbook::SetImageList wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4; wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetImageList(imageList); - break; + break; } -case wxListbook_SetPageSize: { // wxListbook::SetPageSize +case wxListbook_SetPageSize: { // wxListbook::SetPageSize wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; wxSize size = wxSize(*sizeW,*sizeH); if(!This) throw wxe_badarg(0); This->SetPageSize(size); - break; + break; } -case wxListbook_SetPageImage: { // wxListbook::SetPageImage +case wxListbook_SetPageImage: { // wxListbook::SetPageImage wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; int * imageId = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->SetPageImage((size_t) *n,(int) *imageId); rt.addBool(Result); - break; + break; } -case wxListbook_SetPageText: { // wxListbook::SetPageText +case wxListbook_SetPageText: { // wxListbook::SetPageText wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; int * strTextLen = (int *) bp; bp += 4; @@ -17990,37 +17990,37 @@ case wxListbook_SetPageText: { // wxListbook::SetPageText if(!This) throw wxe_badarg(0); bool Result = This->SetPageText((size_t) *n,strText); rt.addBool(Result); - break; + break; } -case wxListbook_SetSelection: { // wxListbook::SetSelection +case wxListbook_SetSelection: { // wxListbook::SetSelection wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->SetSelection((size_t) *n); rt.addInt(Result); - break; + break; } -case wxListbook_ChangeSelection: { // wxListbook::ChangeSelection +case wxListbook_ChangeSelection: { // wxListbook::ChangeSelection wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->ChangeSelection((size_t) *n); rt.addInt(Result); - break; + break; } -case wxTreebook_new_0: { // wxTreebook::wxTreebook +case wxTreebook_new_0: { // wxTreebook::wxTreebook wxTreebook * Result = new EwxTreebook(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxTreebook"); - break; + break; } -case wxTreebook_new_3: { // wxTreebook::wxTreebook +case wxTreebook_new_3: { // wxTreebook::wxTreebook wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxBK_DEFAULT; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -18036,13 +18036,13 @@ case wxTreebook_new_3: { // wxTreebook::wxTreebook case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxTreebook * Result = new EwxTreebook(parent,(wxWindowID) *id,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxTreebook"); - break; + break; } -case wxTreebook_AddPage: { // wxTreebook::AddPage +case wxTreebook_AddPage: { // wxTreebook::AddPage bool bSelect=false; int imageId=wxNOT_FOUND; wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; @@ -18050,40 +18050,40 @@ case wxTreebook_AddPage: { // wxTreebook::AddPage int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((4+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; bSelect = *(bool *) bp; bp += 4; } break; case 2: {bp += 4; imageId = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->AddPage(page,text,bSelect,imageId); rt.addBool(Result); - break; + break; } -case wxTreebook_AdvanceSelection: { // wxTreebook::AdvanceSelection +case wxTreebook_AdvanceSelection: { // wxTreebook::AdvanceSelection bool forward=true; wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; forward = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->AdvanceSelection(forward); - break; + break; } -case wxTreebook_AssignImageList: { // wxTreebook::AssignImageList +case wxTreebook_AssignImageList: { // wxTreebook::AssignImageList wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->AssignImageList(imageList); - break; + break; } -case wxTreebook_Create: { // wxTreebook::Create +case wxTreebook_Create: { // wxTreebook::Create wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxBK_DEFAULT; @@ -18091,7 +18091,7 @@ case wxTreebook_Create: { // wxTreebook::Create wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -18107,110 +18107,110 @@ case wxTreebook_Create: { // wxTreebook::Create case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,pos,size,style); rt.addBool(Result); - break; + break; } -case wxTreebook_DeleteAllPages: { // wxTreebook::DeleteAllPages +case wxTreebook_DeleteAllPages: { // wxTreebook::DeleteAllPages wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->DeleteAllPages(); rt.addBool(Result); - break; + break; } -case wxTreebook_DeletePage: { // wxTreebook::DeletePage +case wxTreebook_DeletePage: { // wxTreebook::DeletePage wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->DeletePage((size_t) *pos); rt.addBool(Result); - break; + break; } -case wxTreebook_RemovePage: { // wxTreebook::RemovePage +case wxTreebook_RemovePage: { // wxTreebook::RemovePage wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->RemovePage((size_t) *n); rt.addBool(Result); - break; + break; } -case wxTreebook_GetCurrentPage: { // wxTreebook::GetCurrentPage +case wxTreebook_GetCurrentPage: { // wxTreebook::GetCurrentPage wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetCurrentPage(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxTreebook_GetImageList: { // wxTreebook::GetImageList +case wxTreebook_GetImageList: { // wxTreebook::GetImageList wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxImageList * Result = (wxImageList*)This->GetImageList(); rt.addRef(getRef((void *)Result,memenv), "wxImageList"); - break; + break; } -case wxTreebook_GetPage: { // wxTreebook::GetPage +case wxTreebook_GetPage: { // wxTreebook::GetPage wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetPage((size_t) *n); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxTreebook_GetPageCount: { // wxTreebook::GetPageCount +case wxTreebook_GetPageCount: { // wxTreebook::GetPageCount wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); size_t Result = This->GetPageCount(); rt.addInt(Result); - break; + break; } -case wxTreebook_GetPageImage: { // wxTreebook::GetPageImage +case wxTreebook_GetPageImage: { // wxTreebook::GetPageImage wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetPageImage((size_t) *n); rt.addInt(Result); - break; + break; } -case wxTreebook_GetPageText: { // wxTreebook::GetPageText +case wxTreebook_GetPageText: { // wxTreebook::GetPageText wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetPageText((size_t) *n); rt.add(Result); - break; + break; } -case wxTreebook_GetSelection: { // wxTreebook::GetSelection +case wxTreebook_GetSelection: { // wxTreebook::GetSelection wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetSelection(); rt.addInt(Result); - break; + break; } -case wxTreebook_ExpandNode: { // wxTreebook::ExpandNode +case wxTreebook_ExpandNode: { // wxTreebook::ExpandNode bool expand=true; wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; expand = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->ExpandNode((size_t) *pos,expand); rt.addBool(Result); - break; + break; } -case wxTreebook_IsNodeExpanded: { // wxTreebook::IsNodeExpanded +case wxTreebook_IsNodeExpanded: { // wxTreebook::IsNodeExpanded wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsNodeExpanded((size_t) *pos); rt.addBool(Result); - break; + break; } -case wxTreebook_HitTest: { // wxTreebook::HitTest +case wxTreebook_HitTest: { // wxTreebook::HitTest long flags; wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; @@ -18221,9 +18221,9 @@ case wxTreebook_HitTest: { // wxTreebook::HitTest rt.addInt(Result); rt.addInt(flags); rt.addTupleCount(2); - break; + break; } -case wxTreebook_InsertPage: { // wxTreebook::InsertPage +case wxTreebook_InsertPage: { // wxTreebook::InsertPage bool bSelect=false; int imageId=wxNOT_FOUND; wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; @@ -18232,20 +18232,20 @@ case wxTreebook_InsertPage: { // wxTreebook::InsertPage int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; bSelect = *(bool *) bp; bp += 4; } break; case 2: {bp += 4; imageId = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->InsertPage((size_t) *pos,page,text,bSelect,imageId); rt.addBool(Result); - break; + break; } -case wxTreebook_InsertSubPage: { // wxTreebook::InsertSubPage +case wxTreebook_InsertSubPage: { // wxTreebook::InsertSubPage bool bSelect=false; int imageId=wxNOT_FOUND; wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; @@ -18254,45 +18254,45 @@ case wxTreebook_InsertSubPage: { // wxTreebook::InsertSubPage int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; bSelect = *(bool *) bp; bp += 4; } break; case 2: {bp += 4; imageId = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->InsertSubPage((size_t) *pos,page,text,bSelect,imageId); rt.addBool(Result); - break; + break; } -case wxTreebook_SetImageList: { // wxTreebook::SetImageList +case wxTreebook_SetImageList: { // wxTreebook::SetImageList wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetImageList(imageList); - break; + break; } -case wxTreebook_SetPageSize: { // wxTreebook::SetPageSize +case wxTreebook_SetPageSize: { // wxTreebook::SetPageSize wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; wxSize size = wxSize(*sizeW,*sizeH); if(!This) throw wxe_badarg(0); This->SetPageSize(size); - break; + break; } -case wxTreebook_SetPageImage: { // wxTreebook::SetPageImage +case wxTreebook_SetPageImage: { // wxTreebook::SetPageImage wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; int * imageId = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->SetPageImage((size_t) *n,(int) *imageId); rt.addBool(Result); - break; + break; } -case wxTreebook_SetPageText: { // wxTreebook::SetPageText +case wxTreebook_SetPageText: { // wxTreebook::SetPageText wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; int * strTextLen = (int *) bp; bp += 4; @@ -18301,25 +18301,25 @@ case wxTreebook_SetPageText: { // wxTreebook::SetPageText if(!This) throw wxe_badarg(0); bool Result = This->SetPageText((size_t) *n,strText); rt.addBool(Result); - break; + break; } -case wxTreebook_SetSelection: { // wxTreebook::SetSelection +case wxTreebook_SetSelection: { // wxTreebook::SetSelection wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->SetSelection((size_t) *n); rt.addInt(Result); - break; + break; } -case wxTreebook_ChangeSelection: { // wxTreebook::ChangeSelection +case wxTreebook_ChangeSelection: { // wxTreebook::ChangeSelection wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->ChangeSelection((size_t) *n); rt.addInt(Result); - break; + break; } -case wxTreeCtrl_new_2: { // wxTreeCtrl::wxTreeCtrl +case wxTreeCtrl_new_2: { // wxTreeCtrl::wxTreeCtrl wxWindowID id=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; @@ -18327,7 +18327,7 @@ case wxTreeCtrl_new_2: { // wxTreeCtrl::wxTreeCtrl const wxValidator * validator= &wxDefaultValidator; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -18349,19 +18349,19 @@ case wxTreeCtrl_new_2: { // wxTreeCtrl::wxTreeCtrl case 5: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxTreeCtrl * Result = new EwxTreeCtrl(parent,id,pos,size,style,*validator); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxTreeCtrl"); - break; + break; } -case wxTreeCtrl_new_0: { // wxTreeCtrl::wxTreeCtrl +case wxTreeCtrl_new_0: { // wxTreeCtrl::wxTreeCtrl wxTreeCtrl * Result = new EwxTreeCtrl(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxTreeCtrl"); - break; + break; } -case wxTreeCtrl_AddRoot: { // wxTreeCtrl::AddRoot +case wxTreeCtrl_AddRoot: { // wxTreeCtrl::AddRoot int image=-1; int selectedImage=-1; wxETreeItemData * data= NULL; @@ -18369,7 +18369,7 @@ case wxTreeCtrl_AddRoot: { // wxTreeCtrl::AddRoot int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; image = (int)*(int *) bp; bp += 4; } break; @@ -18377,16 +18377,16 @@ case wxTreeCtrl_AddRoot: { // wxTreeCtrl::AddRoot selectedImage = (int)*(int *) bp; bp += 4; } break; case 3: {bp += 4; - data = new wxETreeItemData(Ecmd.bin[0]->size, Ecmd.bin[0]->base); + data = new wxETreeItemData(Ecmd.bin[0]->size, Ecmd.bin[0]->base); bp += 4; /* Align */ } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxTreeItemId Result = This->AddRoot(text,image,selectedImage,data); rt.add((wxUIntPtr *) Result.m_pItem); - break; + break; } -case wxTreeCtrl_AppendItem: { // wxTreeCtrl::AppendItem +case wxTreeCtrl_AppendItem: { // wxTreeCtrl::AppendItem int image=-1; int selectedImage=-1; wxETreeItemData * data= NULL; @@ -18396,7 +18396,7 @@ case wxTreeCtrl_AppendItem: { // wxTreeCtrl::AppendItem int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((4+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; image = (int)*(int *) bp; bp += 4; } break; @@ -18404,46 +18404,46 @@ case wxTreeCtrl_AppendItem: { // wxTreeCtrl::AppendItem selectedImage = (int)*(int *) bp; bp += 4; } break; case 3: {bp += 4; - data = new wxETreeItemData(Ecmd.bin[0]->size, Ecmd.bin[0]->base); + data = new wxETreeItemData(Ecmd.bin[0]->size, Ecmd.bin[0]->base); bp += 4; /* Align */ } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxTreeItemId Result = This->AppendItem(parent,text,image,selectedImage,data); rt.add((wxUIntPtr *) Result.m_pItem); - break; + break; } -case wxTreeCtrl_AssignImageList: { // wxTreeCtrl::AssignImageList +case wxTreeCtrl_AssignImageList: { // wxTreeCtrl::AssignImageList wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->AssignImageList(imageList); - break; + break; } -case wxTreeCtrl_AssignStateImageList: { // wxTreeCtrl::AssignStateImageList +case wxTreeCtrl_AssignStateImageList: { // wxTreeCtrl::AssignStateImageList wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->AssignStateImageList(imageList); - break; + break; } -case wxTreeCtrl_Collapse: { // wxTreeCtrl::Collapse +case wxTreeCtrl_Collapse: { // wxTreeCtrl::Collapse wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); This->Collapse(item); - break; + break; } -case wxTreeCtrl_CollapseAndReset: { // wxTreeCtrl::CollapseAndReset +case wxTreeCtrl_CollapseAndReset: { // wxTreeCtrl::CollapseAndReset wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); This->CollapseAndReset(item); - break; + break; } -case wxTreeCtrl_Create: { // wxTreeCtrl::Create +case wxTreeCtrl_Create: { // wxTreeCtrl::Create wxWindowID id=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; @@ -18451,7 +18451,7 @@ case wxTreeCtrl_Create: { // wxTreeCtrl::Create const wxValidator * validator= &wxDefaultValidator; wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -18473,51 +18473,51 @@ case wxTreeCtrl_Create: { // wxTreeCtrl::Create case 5: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,id,pos,size,style,*validator); rt.addBool(Result); - break; + break; } -case wxTreeCtrl_Delete: { // wxTreeCtrl::Delete +case wxTreeCtrl_Delete: { // wxTreeCtrl::Delete wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); This->Delete(item); - break; + break; } -case wxTreeCtrl_DeleteAllItems: { // wxTreeCtrl::DeleteAllItems +case wxTreeCtrl_DeleteAllItems: { // wxTreeCtrl::DeleteAllItems wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->DeleteAllItems(); - break; + break; } -case wxTreeCtrl_DeleteChildren: { // wxTreeCtrl::DeleteChildren +case wxTreeCtrl_DeleteChildren: { // wxTreeCtrl::DeleteChildren wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); This->DeleteChildren(item); - break; + break; } -case wxTreeCtrl_EnsureVisible: { // wxTreeCtrl::EnsureVisible +case wxTreeCtrl_EnsureVisible: { // wxTreeCtrl::EnsureVisible wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); This->EnsureVisible(item); - break; + break; } -case wxTreeCtrl_Expand: { // wxTreeCtrl::Expand +case wxTreeCtrl_Expand: { // wxTreeCtrl::Expand wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); This->Expand(item); - break; + break; } -case wxTreeCtrl_GetBoundingRect: { // wxTreeCtrl::GetBoundingRect +case wxTreeCtrl_GetBoundingRect: { // wxTreeCtrl::GetBoundingRect bool textOnly=false; wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ @@ -18527,44 +18527,44 @@ case wxTreeCtrl_GetBoundingRect: { // wxTreeCtrl::GetBoundingRect int * rectW = (int *) bp; bp += 4; int * rectH = (int *) bp; bp += 4; wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; textOnly = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->GetBoundingRect(item,rect,textOnly); rt.addBool(Result); - break; + break; } -case wxTreeCtrl_GetChildrenCount: { // wxTreeCtrl::GetChildrenCount +case wxTreeCtrl_GetChildrenCount: { // wxTreeCtrl::GetChildrenCount bool recursively=true; wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; recursively = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); size_t Result = This->GetChildrenCount(item,recursively); rt.addInt(Result); - break; + break; } -case wxTreeCtrl_GetCount: { // wxTreeCtrl::GetCount +case wxTreeCtrl_GetCount: { // wxTreeCtrl::GetCount wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetCount(); rt.addUint(Result); - break; + break; } -case wxTreeCtrl_GetEditControl: { // wxTreeCtrl::GetEditControl +case wxTreeCtrl_GetEditControl: { // wxTreeCtrl::GetEditControl wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxTextCtrl * Result = (wxTextCtrl*)This->GetEditControl(); rt.addRef(getRef((void *)Result,memenv), "wxTextCtrl"); - break; + break; } case wxTreeCtrl_GetFirstChild: { // wxTreeCtrl::GetFirstChild wxTreeItemIdValue cookie; @@ -18590,165 +18590,165 @@ case wxTreeCtrl_GetNextChild: { // wxTreeCtrl::GetNextChild rt.addTupleCount(2); break; } -case wxTreeCtrl_GetFirstVisibleItem: { // wxTreeCtrl::GetFirstVisibleItem +case wxTreeCtrl_GetFirstVisibleItem: { // wxTreeCtrl::GetFirstVisibleItem wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxTreeItemId Result = This->GetFirstVisibleItem(); rt.add((wxUIntPtr *) Result.m_pItem); - break; + break; } -case wxTreeCtrl_GetImageList: { // wxTreeCtrl::GetImageList +case wxTreeCtrl_GetImageList: { // wxTreeCtrl::GetImageList wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxImageList * Result = (wxImageList*)This->GetImageList(); rt.addRef(getRef((void *)Result,memenv), "wxImageList"); - break; + break; } -case wxTreeCtrl_GetIndent: { // wxTreeCtrl::GetIndent +case wxTreeCtrl_GetIndent: { // wxTreeCtrl::GetIndent wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetIndent(); rt.addUint(Result); - break; + break; } -case wxTreeCtrl_GetItemBackgroundColour: { // wxTreeCtrl::GetItemBackgroundColour +case wxTreeCtrl_GetItemBackgroundColour: { // wxTreeCtrl::GetItemBackgroundColour wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); wxColour Result = This->GetItemBackgroundColour(item); rt.add(Result); - break; + break; } -case wxTreeCtrl_GetItemData: { // wxTreeCtrl::GetItemData +case wxTreeCtrl_GetItemData: { // wxTreeCtrl::GetItemData wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); wxETreeItemData * Result = (wxETreeItemData*)This->GetItemData(item); rt.addExt2Term(Result); - break; + break; } -case wxTreeCtrl_GetItemFont: { // wxTreeCtrl::GetItemFont +case wxTreeCtrl_GetItemFont: { // wxTreeCtrl::GetItemFont wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); wxFont * Result = new wxFont(This->GetItemFont(item)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxFont"); - break; + break; } -case wxTreeCtrl_GetItemImage_1: { // wxTreeCtrl::GetItemImage +case wxTreeCtrl_GetItemImage_1: { // wxTreeCtrl::GetItemImage wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); int Result = This->GetItemImage(item); rt.addInt(Result); - break; + break; } -case wxTreeCtrl_GetItemImage_2: { // wxTreeCtrl::GetItemImage +case wxTreeCtrl_GetItemImage_2: { // wxTreeCtrl::GetItemImage wxTreeItemIcon which=wxTreeItemIcon_Normal; wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; which = *(wxTreeItemIcon *) bp; bp += 4;; } break; - }}; + }}; if(!This) throw wxe_badarg(0); int Result = This->GetItemImage(item,(wxTreeItemIcon) which); rt.addInt(Result); - break; + break; } -case wxTreeCtrl_GetItemText: { // wxTreeCtrl::GetItemText +case wxTreeCtrl_GetItemText: { // wxTreeCtrl::GetItemText wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); wxString Result = This->GetItemText(item); rt.add(Result); - break; + break; } -case wxTreeCtrl_GetItemTextColour: { // wxTreeCtrl::GetItemTextColour +case wxTreeCtrl_GetItemTextColour: { // wxTreeCtrl::GetItemTextColour wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); wxColour Result = This->GetItemTextColour(item); rt.add(Result); - break; + break; } -case wxTreeCtrl_GetLastChild: { // wxTreeCtrl::GetLastChild +case wxTreeCtrl_GetLastChild: { // wxTreeCtrl::GetLastChild wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); wxTreeItemId Result = This->GetLastChild(item); rt.add((wxUIntPtr *) Result.m_pItem); - break; + break; } -case wxTreeCtrl_GetNextSibling: { // wxTreeCtrl::GetNextSibling +case wxTreeCtrl_GetNextSibling: { // wxTreeCtrl::GetNextSibling wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); wxTreeItemId Result = This->GetNextSibling(item); rt.add((wxUIntPtr *) Result.m_pItem); - break; + break; } -case wxTreeCtrl_GetNextVisible: { // wxTreeCtrl::GetNextVisible +case wxTreeCtrl_GetNextVisible: { // wxTreeCtrl::GetNextVisible wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); wxTreeItemId Result = This->GetNextVisible(item); rt.add((wxUIntPtr *) Result.m_pItem); - break; + break; } -case wxTreeCtrl_GetItemParent: { // wxTreeCtrl::GetItemParent +case wxTreeCtrl_GetItemParent: { // wxTreeCtrl::GetItemParent wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); wxTreeItemId Result = This->GetItemParent(item); rt.add((wxUIntPtr *) Result.m_pItem); - break; + break; } -case wxTreeCtrl_GetPrevSibling: { // wxTreeCtrl::GetPrevSibling +case wxTreeCtrl_GetPrevSibling: { // wxTreeCtrl::GetPrevSibling wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); wxTreeItemId Result = This->GetPrevSibling(item); rt.add((wxUIntPtr *) Result.m_pItem); - break; + break; } -case wxTreeCtrl_GetPrevVisible: { // wxTreeCtrl::GetPrevVisible +case wxTreeCtrl_GetPrevVisible: { // wxTreeCtrl::GetPrevVisible wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); wxTreeItemId Result = This->GetPrevVisible(item); rt.add((wxUIntPtr *) Result.m_pItem); - break; + break; } -case wxTreeCtrl_GetRootItem: { // wxTreeCtrl::GetRootItem +case wxTreeCtrl_GetRootItem: { // wxTreeCtrl::GetRootItem wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxTreeItemId Result = This->GetRootItem(); rt.add((wxUIntPtr *) Result.m_pItem); - break; + break; } -case wxTreeCtrl_GetSelection: { // wxTreeCtrl::GetSelection +case wxTreeCtrl_GetSelection: { // wxTreeCtrl::GetSelection wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxTreeItemId Result = This->GetSelection(); rt.add((wxUIntPtr *) Result.m_pItem); - break; + break; } -case wxTreeCtrl_GetSelections: { // wxTreeCtrl::GetSelections +case wxTreeCtrl_GetSelections: { // wxTreeCtrl::GetSelections wxArrayTreeItemIds val; wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); @@ -18758,16 +18758,16 @@ case wxTreeCtrl_GetSelections: { // wxTreeCtrl::GetSelections rt.add((wxUIntPtr *)val[i].m_pItem);} rt.endList(val.GetCount()); rt.addTupleCount(2); - break; + break; } -case wxTreeCtrl_GetStateImageList: { // wxTreeCtrl::GetStateImageList +case wxTreeCtrl_GetStateImageList: { // wxTreeCtrl::GetStateImageList wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxImageList * Result = (wxImageList*)This->GetStateImageList(); rt.addRef(getRef((void *)Result,memenv), "wxImageList"); - break; + break; } -case wxTreeCtrl_HitTest: { // wxTreeCtrl::HitTest +case wxTreeCtrl_HitTest: { // wxTreeCtrl::HitTest wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; int * pointX = (int *) bp; bp += 4; int * pointY = (int *) bp; bp += 4; @@ -18775,7 +18775,7 @@ case wxTreeCtrl_HitTest: { // wxTreeCtrl::HitTest if(!This) throw wxe_badarg(0); wxTreeItemId Result = This->HitTest(point); rt.add((wxUIntPtr *) Result.m_pItem); - break; + break; } case wxTreeCtrl_InsertItem: { // wxTreeCtrl::InsertItem int image=-1; @@ -18788,7 +18788,7 @@ case wxTreeCtrl_InsertItem: { // wxTreeCtrl::InsertItem int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; image = (int)*(int *) bp; bp += 4; } break; @@ -18796,61 +18796,61 @@ case wxTreeCtrl_InsertItem: { // wxTreeCtrl::InsertItem selImage = (int)*(int *) bp; bp += 4; } break; case 3: {bp += 4; - data = new wxETreeItemData(Ecmd.bin[0]->size, Ecmd.bin[0]->base); + data = new wxETreeItemData(Ecmd.bin[0]->size, Ecmd.bin[0]->base); bp += 4; /* Align */ } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxTreeItemId Result = This->InsertItem(parent,(size_t) *pos,text,image,selImage,data); rt.add((wxUIntPtr *) Result.m_pItem); - break; + break; } -case wxTreeCtrl_IsBold: { // wxTreeCtrl::IsBold +case wxTreeCtrl_IsBold: { // wxTreeCtrl::IsBold wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); bool Result = This->IsBold(item); rt.addBool(Result); - break; + break; } -case wxTreeCtrl_IsExpanded: { // wxTreeCtrl::IsExpanded +case wxTreeCtrl_IsExpanded: { // wxTreeCtrl::IsExpanded wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); bool Result = This->IsExpanded(item); rt.addBool(Result); - break; + break; } -case wxTreeCtrl_IsSelected: { // wxTreeCtrl::IsSelected +case wxTreeCtrl_IsSelected: { // wxTreeCtrl::IsSelected wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); bool Result = This->IsSelected(item); rt.addBool(Result); - break; + break; } -case wxTreeCtrl_IsVisible: { // wxTreeCtrl::IsVisible +case wxTreeCtrl_IsVisible: { // wxTreeCtrl::IsVisible wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); bool Result = This->IsVisible(item); rt.addBool(Result); - break; + break; } -case wxTreeCtrl_ItemHasChildren: { // wxTreeCtrl::ItemHasChildren +case wxTreeCtrl_ItemHasChildren: { // wxTreeCtrl::ItemHasChildren wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); bool Result = This->ItemHasChildren(item); rt.addBool(Result); - break; + break; } -case wxTreeCtrl_PrependItem: { // wxTreeCtrl::PrependItem +case wxTreeCtrl_PrependItem: { // wxTreeCtrl::PrependItem int image=-1; int selectedImage=-1; wxETreeItemData * data= NULL; @@ -18860,7 +18860,7 @@ case wxTreeCtrl_PrependItem: { // wxTreeCtrl::PrependItem int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((4+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; image = (int)*(int *) bp; bp += 4; } break; @@ -18868,60 +18868,60 @@ case wxTreeCtrl_PrependItem: { // wxTreeCtrl::PrependItem selectedImage = (int)*(int *) bp; bp += 4; } break; case 3: {bp += 4; - data = new wxETreeItemData(Ecmd.bin[0]->size, Ecmd.bin[0]->base); + data = new wxETreeItemData(Ecmd.bin[0]->size, Ecmd.bin[0]->base); bp += 4; /* Align */ } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxTreeItemId Result = This->PrependItem(parent,text,image,selectedImage,data); rt.add((wxUIntPtr *) Result.m_pItem); - break; + break; } -case wxTreeCtrl_ScrollTo: { // wxTreeCtrl::ScrollTo +case wxTreeCtrl_ScrollTo: { // wxTreeCtrl::ScrollTo wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); This->ScrollTo(item); - break; + break; } -case wxTreeCtrl_SelectItem_1: { // wxTreeCtrl::SelectItem +case wxTreeCtrl_SelectItem_1: { // wxTreeCtrl::SelectItem wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); This->SelectItem(item); - break; + break; } -case wxTreeCtrl_SelectItem_2: { // wxTreeCtrl::SelectItem +case wxTreeCtrl_SelectItem_2: { // wxTreeCtrl::SelectItem bool select=true; wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; select = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SelectItem(item,select); - break; + break; } -case wxTreeCtrl_SetIndent: { // wxTreeCtrl::SetIndent +case wxTreeCtrl_SetIndent: { // wxTreeCtrl::SetIndent wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; unsigned int * indent = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetIndent((int) *indent); - break; + break; } -case wxTreeCtrl_SetImageList: { // wxTreeCtrl::SetImageList +case wxTreeCtrl_SetImageList: { // wxTreeCtrl::SetImageList wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetImageList(imageList); - break; + break; } -case wxTreeCtrl_SetItemBackgroundColour: { // wxTreeCtrl::SetItemBackgroundColour +case wxTreeCtrl_SetItemBackgroundColour: { // wxTreeCtrl::SetItemBackgroundColour wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; @@ -18932,94 +18932,94 @@ case wxTreeCtrl_SetItemBackgroundColour: { // wxTreeCtrl::SetItemBackgroundColou wxColour col = wxColour(*colR,*colG,*colB,*colA); if(!This) throw wxe_badarg(0); This->SetItemBackgroundColour(item,col); - break; + break; } -case wxTreeCtrl_SetItemBold: { // wxTreeCtrl::SetItemBold +case wxTreeCtrl_SetItemBold: { // wxTreeCtrl::SetItemBold bool bold=true; wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; bold = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetItemBold(item,bold); - break; + break; } -case wxTreeCtrl_SetItemData: { // wxTreeCtrl::SetItemData +case wxTreeCtrl_SetItemData: { // wxTreeCtrl::SetItemData wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; - wxETreeItemData * data = new wxETreeItemData(Ecmd.bin[0]->size, Ecmd.bin[0]->base); + wxETreeItemData * data = new wxETreeItemData(Ecmd.bin[0]->size, Ecmd.bin[0]->base); if(!This) throw wxe_badarg(0); This->SetItemData(item,data); - break; + break; } -case wxTreeCtrl_SetItemDropHighlight: { // wxTreeCtrl::SetItemDropHighlight +case wxTreeCtrl_SetItemDropHighlight: { // wxTreeCtrl::SetItemDropHighlight bool highlight=true; wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; highlight = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetItemDropHighlight(item,highlight); - break; + break; } -case wxTreeCtrl_SetItemFont: { // wxTreeCtrl::SetItemFont +case wxTreeCtrl_SetItemFont: { // wxTreeCtrl::SetItemFont wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetItemFont(item,*font); - break; + break; } -case wxTreeCtrl_SetItemHasChildren: { // wxTreeCtrl::SetItemHasChildren +case wxTreeCtrl_SetItemHasChildren: { // wxTreeCtrl::SetItemHasChildren bool has=true; wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; has = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetItemHasChildren(item,has); - break; + break; } -case wxTreeCtrl_SetItemImage_2: { // wxTreeCtrl::SetItemImage +case wxTreeCtrl_SetItemImage_2: { // wxTreeCtrl::SetItemImage wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; int * image = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetItemImage(item,(int) *image); - break; + break; } -case wxTreeCtrl_SetItemImage_3: { // wxTreeCtrl::SetItemImage +case wxTreeCtrl_SetItemImage_3: { // wxTreeCtrl::SetItemImage wxTreeItemIcon which=wxTreeItemIcon_Normal; wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; int * image = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; which = *(wxTreeItemIcon *) bp; bp += 4;; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetItemImage(item,(int) *image,(wxTreeItemIcon) which); - break; + break; } -case wxTreeCtrl_SetItemText: { // wxTreeCtrl::SetItemText +case wxTreeCtrl_SetItemText: { // wxTreeCtrl::SetItemText wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; @@ -19028,9 +19028,9 @@ case wxTreeCtrl_SetItemText: { // wxTreeCtrl::SetItemText bp += *textLen+((8-((4+ *textLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetItemText(item,text); - break; + break; } -case wxTreeCtrl_SetItemTextColour: { // wxTreeCtrl::SetItemTextColour +case wxTreeCtrl_SetItemTextColour: { // wxTreeCtrl::SetItemTextColour wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; @@ -19041,80 +19041,80 @@ case wxTreeCtrl_SetItemTextColour: { // wxTreeCtrl::SetItemTextColour wxColour col = wxColour(*colR,*colG,*colB,*colA); if(!This) throw wxe_badarg(0); This->SetItemTextColour(item,col); - break; + break; } -case wxTreeCtrl_SetStateImageList: { // wxTreeCtrl::SetStateImageList +case wxTreeCtrl_SetStateImageList: { // wxTreeCtrl::SetStateImageList wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetStateImageList(imageList); - break; + break; } -case wxTreeCtrl_SetWindowStyle: { // wxTreeCtrl::SetWindowStyle +case wxTreeCtrl_SetWindowStyle: { // wxTreeCtrl::SetWindowStyle wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; const int * styles = (const int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetWindowStyle((long) *styles); - break; + break; } -case wxTreeCtrl_SortChildren: { // wxTreeCtrl::SortChildren +case wxTreeCtrl_SortChildren: { // wxTreeCtrl::SortChildren wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); This->SortChildren(item); - break; + break; } -case wxTreeCtrl_Toggle: { // wxTreeCtrl::Toggle +case wxTreeCtrl_Toggle: { // wxTreeCtrl::Toggle wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); This->Toggle(item); - break; + break; } -case wxTreeCtrl_ToggleItemSelection: { // wxTreeCtrl::ToggleItemSelection +case wxTreeCtrl_ToggleItemSelection: { // wxTreeCtrl::ToggleItemSelection wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); This->ToggleItemSelection(item); - break; + break; } -case wxTreeCtrl_Unselect: { // wxTreeCtrl::Unselect +case wxTreeCtrl_Unselect: { // wxTreeCtrl::Unselect wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Unselect(); - break; + break; } -case wxTreeCtrl_UnselectAll: { // wxTreeCtrl::UnselectAll +case wxTreeCtrl_UnselectAll: { // wxTreeCtrl::UnselectAll wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->UnselectAll(); - break; + break; } -case wxTreeCtrl_UnselectItem: { // wxTreeCtrl::UnselectItem +case wxTreeCtrl_UnselectItem: { // wxTreeCtrl::UnselectItem wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; if(!This) throw wxe_badarg(0); This->UnselectItem(item); - break; + break; } -case wxScrollBar_new_0: { // wxScrollBar::wxScrollBar +case wxScrollBar_new_0: { // wxScrollBar::wxScrollBar wxScrollBar * Result = new EwxScrollBar(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxScrollBar"); - break; + break; } -case wxScrollBar_new_3: { // wxScrollBar::wxScrollBar +case wxScrollBar_new_3: { // wxScrollBar::wxScrollBar wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxSB_HORIZONTAL; const wxValidator * validator= &wxDefaultValidator; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -19133,13 +19133,13 @@ case wxScrollBar_new_3: { // wxScrollBar::wxScrollBar case 4: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxScrollBar * Result = new EwxScrollBar(parent,(wxWindowID) *id,pos,size,style,*validator); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxScrollBar"); - break; + break; } -case wxScrollBar_Create: { // wxScrollBar::Create +case wxScrollBar_Create: { // wxScrollBar::Create wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxSB_HORIZONTAL; @@ -19148,7 +19148,7 @@ case wxScrollBar_Create: { // wxScrollBar::Create wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -19167,48 +19167,48 @@ case wxScrollBar_Create: { // wxScrollBar::Create case 4: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,pos,size,style,*validator); rt.addBool(Result); - break; + break; } -case wxScrollBar_GetRange: { // wxScrollBar::GetRange +case wxScrollBar_GetRange: { // wxScrollBar::GetRange wxScrollBar *This = (wxScrollBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetRange(); rt.addInt(Result); - break; + break; } -case wxScrollBar_GetPageSize: { // wxScrollBar::GetPageSize +case wxScrollBar_GetPageSize: { // wxScrollBar::GetPageSize wxScrollBar *This = (wxScrollBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetPageSize(); rt.addInt(Result); - break; + break; } -case wxScrollBar_GetThumbPosition: { // wxScrollBar::GetThumbPosition +case wxScrollBar_GetThumbPosition: { // wxScrollBar::GetThumbPosition wxScrollBar *This = (wxScrollBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetThumbPosition(); rt.addInt(Result); - break; + break; } -case wxScrollBar_GetThumbSize: { // wxScrollBar::GetThumbSize +case wxScrollBar_GetThumbSize: { // wxScrollBar::GetThumbSize wxScrollBar *This = (wxScrollBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetThumbSize(); rt.addInt(Result); - break; + break; } -case wxScrollBar_SetThumbPosition: { // wxScrollBar::SetThumbPosition +case wxScrollBar_SetThumbPosition: { // wxScrollBar::SetThumbPosition wxScrollBar *This = (wxScrollBar *) getPtr(bp,memenv); bp += 4; int * viewStart = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetThumbPosition((int) *viewStart); - break; + break; } -case wxScrollBar_SetScrollbar: { // wxScrollBar::SetScrollbar +case wxScrollBar_SetScrollbar: { // wxScrollBar::SetScrollbar bool refresh=true; wxScrollBar *This = (wxScrollBar *) getPtr(bp,memenv); bp += 4; int * position = (int *) bp; bp += 4; @@ -19216,23 +19216,23 @@ case wxScrollBar_SetScrollbar: { // wxScrollBar::SetScrollbar int * range = (int *) bp; bp += 4; int * pageSize = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; refresh = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetScrollbar((int) *position,(int) *thumbSize,(int) *range,(int) *pageSize,refresh); - break; + break; } -case wxSpinButton_new_2: { // wxSpinButton::wxSpinButton +case wxSpinButton_new_2: { // wxSpinButton::wxSpinButton wxWindowID id=-1; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxSP_VERTICAL; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -19251,26 +19251,26 @@ case wxSpinButton_new_2: { // wxSpinButton::wxSpinButton case 4: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxSpinButton * Result = new EwxSpinButton(parent,id,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSpinButton"); - break; + break; } -case wxSpinButton_new_0: { // wxSpinButton::wxSpinButton +case wxSpinButton_new_0: { // wxSpinButton::wxSpinButton wxSpinButton * Result = new EwxSpinButton(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSpinButton"); - break; + break; } -case wxSpinButton_Create: { // wxSpinButton::Create +case wxSpinButton_Create: { // wxSpinButton::Create wxWindowID id=-1; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxSP_VERTICAL; wxSpinButton *This = (wxSpinButton *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -19289,55 +19289,55 @@ case wxSpinButton_Create: { // wxSpinButton::Create case 4: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,id,pos,size,style); rt.addBool(Result); - break; + break; } -case wxSpinButton_GetMax: { // wxSpinButton::GetMax +case wxSpinButton_GetMax: { // wxSpinButton::GetMax wxSpinButton *This = (wxSpinButton *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMax(); rt.addInt(Result); - break; + break; } -case wxSpinButton_GetMin: { // wxSpinButton::GetMin +case wxSpinButton_GetMin: { // wxSpinButton::GetMin wxSpinButton *This = (wxSpinButton *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMin(); rt.addInt(Result); - break; + break; } -case wxSpinButton_GetValue: { // wxSpinButton::GetValue +case wxSpinButton_GetValue: { // wxSpinButton::GetValue wxSpinButton *This = (wxSpinButton *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetValue(); rt.addInt(Result); - break; + break; } -case wxSpinButton_SetRange: { // wxSpinButton::SetRange +case wxSpinButton_SetRange: { // wxSpinButton::SetRange wxSpinButton *This = (wxSpinButton *) getPtr(bp,memenv); bp += 4; int * minVal = (int *) bp; bp += 4; int * maxVal = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetRange((int) *minVal,(int) *maxVal); - break; + break; } -case wxSpinButton_SetValue: { // wxSpinButton::SetValue +case wxSpinButton_SetValue: { // wxSpinButton::SetValue wxSpinButton *This = (wxSpinButton *) getPtr(bp,memenv); bp += 4; int * value = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetValue((int) *value); - break; + break; } -case wxSpinCtrl_new_0: { // wxSpinCtrl::wxSpinCtrl +case wxSpinCtrl_new_0: { // wxSpinCtrl::wxSpinCtrl wxSpinCtrl * Result = new EwxSpinCtrl(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSpinCtrl"); - break; + break; } -case wxSpinCtrl_new_2: { // wxSpinCtrl::wxSpinCtrl +case wxSpinCtrl_new_2: { // wxSpinCtrl::wxSpinCtrl wxWindowID id=wxID_ANY; wxString value= wxEmptyString; wxPoint pos= wxDefaultPosition; @@ -19348,7 +19348,7 @@ case wxSpinCtrl_new_2: { // wxSpinCtrl::wxSpinCtrl int initial=0; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -19381,13 +19381,13 @@ case wxSpinCtrl_new_2: { // wxSpinCtrl::wxSpinCtrl case 8: {bp += 4; initial = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxSpinCtrl * Result = new EwxSpinCtrl(parent,id,value,pos,size,style,min,max,initial); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSpinCtrl"); - break; + break; } -case wxSpinCtrl_Create: { // wxSpinCtrl::Create +case wxSpinCtrl_Create: { // wxSpinCtrl::Create wxWindowID id=wxID_ANY; wxString value= wxEmptyString; wxPoint pos= wxDefaultPosition; @@ -19398,7 +19398,7 @@ case wxSpinCtrl_Create: { // wxSpinCtrl::Create int initial=0; wxSpinCtrl *This = (wxSpinCtrl *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -19431,72 +19431,72 @@ case wxSpinCtrl_Create: { // wxSpinCtrl::Create case 8: {bp += 4; initial = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,id,value,pos,size,style,min,max,initial); rt.addBool(Result); - break; + break; } -case wxSpinCtrl_SetValue_1_1: { // wxSpinCtrl::SetValue +case wxSpinCtrl_SetValue_1_1: { // wxSpinCtrl::SetValue wxSpinCtrl *This = (wxSpinCtrl *) getPtr(bp,memenv); bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetValue(text); - break; + break; } -case wxSpinCtrl_SetValue_1_0: { // wxSpinCtrl::SetValue +case wxSpinCtrl_SetValue_1_0: { // wxSpinCtrl::SetValue wxSpinCtrl *This = (wxSpinCtrl *) getPtr(bp,memenv); bp += 4; int * value = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetValue((int) *value); - break; + break; } -case wxSpinCtrl_GetValue: { // wxSpinCtrl::GetValue +case wxSpinCtrl_GetValue: { // wxSpinCtrl::GetValue wxSpinCtrl *This = (wxSpinCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetValue(); rt.addInt(Result); - break; + break; } -case wxSpinCtrl_SetRange: { // wxSpinCtrl::SetRange +case wxSpinCtrl_SetRange: { // wxSpinCtrl::SetRange wxSpinCtrl *This = (wxSpinCtrl *) getPtr(bp,memenv); bp += 4; int * minVal = (int *) bp; bp += 4; int * maxVal = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetRange((int) *minVal,(int) *maxVal); - break; + break; } -case wxSpinCtrl_SetSelection: { // wxSpinCtrl::SetSelection +case wxSpinCtrl_SetSelection: { // wxSpinCtrl::SetSelection wxSpinCtrl *This = (wxSpinCtrl *) getPtr(bp,memenv); bp += 4; int * from = (int *) bp; bp += 4; int * to = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSelection((long) *from,(long) *to); - break; + break; } -case wxSpinCtrl_GetMin: { // wxSpinCtrl::GetMin +case wxSpinCtrl_GetMin: { // wxSpinCtrl::GetMin wxSpinCtrl *This = (wxSpinCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMin(); rt.addInt(Result); - break; + break; } -case wxSpinCtrl_GetMax: { // wxSpinCtrl::GetMax +case wxSpinCtrl_GetMax: { // wxSpinCtrl::GetMax wxSpinCtrl *This = (wxSpinCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMax(); rt.addInt(Result); - break; + break; } -case wxStaticText_new_0: { // wxStaticText::wxStaticText +case wxStaticText_new_0: { // wxStaticText::wxStaticText wxStaticText * Result = new EwxStaticText(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxStaticText"); - break; + break; } -case wxStaticText_new_4: { // wxStaticText::wxStaticText +case wxStaticText_new_4: { // wxStaticText::wxStaticText wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; @@ -19505,7 +19505,7 @@ case wxStaticText_new_4: { // wxStaticText::wxStaticText int * labelLen = (int *) bp; bp += 4; wxString label = wxString(bp, wxConvUTF8); bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -19521,13 +19521,13 @@ case wxStaticText_new_4: { // wxStaticText::wxStaticText case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxStaticText * Result = new EwxStaticText(parent,(wxWindowID) *id,label,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxStaticText"); - break; + break; } -case wxStaticText_Create: { // wxStaticText::Create +case wxStaticText_Create: { // wxStaticText::Create wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; @@ -19537,7 +19537,7 @@ case wxStaticText_Create: { // wxStaticText::Create int * labelLen = (int *) bp; bp += 4; wxString label = wxString(bp, wxConvUTF8); bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -19553,42 +19553,42 @@ case wxStaticText_Create: { // wxStaticText::Create case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,label,pos,size,style); rt.addBool(Result); - break; + break; } -case wxStaticText_GetLabel: { // wxStaticText::GetLabel +case wxStaticText_GetLabel: { // wxStaticText::GetLabel wxStaticText *This = (wxStaticText *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetLabel(); rt.add(Result); - break; + break; } -case wxStaticText_SetLabel: { // wxStaticText::SetLabel +case wxStaticText_SetLabel: { // wxStaticText::SetLabel wxStaticText *This = (wxStaticText *) getPtr(bp,memenv); bp += 4; int * labelLen = (int *) bp; bp += 4; wxString label = wxString(bp, wxConvUTF8); bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetLabel(label); - break; + break; } -case wxStaticText_Wrap: { // wxStaticText::Wrap +case wxStaticText_Wrap: { // wxStaticText::Wrap wxStaticText *This = (wxStaticText *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Wrap((int) *width); - break; + break; } -case wxStaticBitmap_new_0: { // wxStaticBitmap::wxStaticBitmap +case wxStaticBitmap_new_0: { // wxStaticBitmap::wxStaticBitmap wxStaticBitmap * Result = new EwxStaticBitmap(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxStaticBitmap"); - break; + break; } -case wxStaticBitmap_new_4: { // wxStaticBitmap::wxStaticBitmap +case wxStaticBitmap_new_4: { // wxStaticBitmap::wxStaticBitmap wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; @@ -19596,7 +19596,7 @@ case wxStaticBitmap_new_4: { // wxStaticBitmap::wxStaticBitmap int * id = (int *) bp; bp += 4; wxBitmap *label = (wxBitmap *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -19612,13 +19612,13 @@ case wxStaticBitmap_new_4: { // wxStaticBitmap::wxStaticBitmap case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxStaticBitmap * Result = new EwxStaticBitmap(parent,(wxWindowID) *id,*label,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxStaticBitmap"); - break; + break; } -case wxStaticBitmap_Create: { // wxStaticBitmap::Create +case wxStaticBitmap_Create: { // wxStaticBitmap::Create wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; @@ -19626,7 +19626,7 @@ case wxStaticBitmap_Create: { // wxStaticBitmap::Create wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; wxBitmap *label = (wxBitmap *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -19642,27 +19642,27 @@ case wxStaticBitmap_Create: { // wxStaticBitmap::Create case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,*label,pos,size,style); rt.addBool(Result); - break; + break; } -case wxStaticBitmap_GetBitmap: { // wxStaticBitmap::GetBitmap +case wxStaticBitmap_GetBitmap: { // wxStaticBitmap::GetBitmap wxStaticBitmap *This = (wxStaticBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxBitmap * Result = new wxBitmap(This->GetBitmap()); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxBitmap"); - break; + break; } -case wxStaticBitmap_SetBitmap: { // wxStaticBitmap::SetBitmap +case wxStaticBitmap_SetBitmap: { // wxStaticBitmap::SetBitmap wxStaticBitmap *This = (wxStaticBitmap *) getPtr(bp,memenv); bp += 4; wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetBitmap(*bitmap); - break; + break; } -case wxRadioBox_new: { // wxRadioBox::wxRadioBox +case wxRadioBox_new: { // wxRadioBox::wxRadioBox int majorDim=1; long style=wxRA_HORIZONTAL; const wxValidator * val= &wxDefaultValidator; @@ -19687,7 +19687,7 @@ case wxRadioBox_new: { // wxRadioBox::wxRadioBox choicesASz += *choicesTemp+4; } bp += (8-((4+ choicesASz) & 7 )) & 7; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; majorDim = (int)*(int *) bp; bp += 4; } break; @@ -19697,13 +19697,13 @@ case wxRadioBox_new: { // wxRadioBox::wxRadioBox case 3: {bp += 4; val = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxRadioBox * Result = new EwxRadioBox(parent,(wxWindowID) *id,title,pos,size,choices,majorDim,style,*val); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxRadioBox"); - break; + break; } -case wxRadioBox_Create: { // wxRadioBox::Create +case wxRadioBox_Create: { // wxRadioBox::Create int majorDim=0; long style=wxRA_HORIZONTAL; const wxValidator * val= &wxDefaultValidator; @@ -19729,7 +19729,7 @@ case wxRadioBox_Create: { // wxRadioBox::Create choicesASz += *choicesTemp+4; } bp += (8-((4+ choicesASz) & 7 )) & 7; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; majorDim = (int)*(int *) bp; bp += 4; } break; @@ -19739,114 +19739,114 @@ case wxRadioBox_Create: { // wxRadioBox::Create case 3: {bp += 4; val = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,title,pos,size,choices,majorDim,style,*val); rt.addBool(Result); - break; + break; } -case wxRadioBox_Enable_2: { // wxRadioBox::Enable +case wxRadioBox_Enable_2: { // wxRadioBox::Enable bool enable=true; wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4; unsigned int * n = (unsigned int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; enable = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Enable((int) *n,enable); rt.addBool(Result); - break; + break; } -case wxRadioBox_Enable_1: { // wxRadioBox::Enable +case wxRadioBox_Enable_1: { // wxRadioBox::Enable bool enable=true; wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; enable = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Enable(enable); rt.addBool(Result); - break; + break; } -case wxRadioBox_GetSelection: { // wxRadioBox::GetSelection +case wxRadioBox_GetSelection: { // wxRadioBox::GetSelection wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetSelection(); rt.addInt(Result); - break; + break; } -case wxRadioBox_GetString: { // wxRadioBox::GetString +case wxRadioBox_GetString: { // wxRadioBox::GetString wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4; unsigned int * n = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetString((int) *n); rt.add(Result); - break; + break; } -case wxRadioBox_SetSelection: { // wxRadioBox::SetSelection +case wxRadioBox_SetSelection: { // wxRadioBox::SetSelection wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4; int * n = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSelection((int) *n); - break; + break; } -case wxRadioBox_Show_2: { // wxRadioBox::Show +case wxRadioBox_Show_2: { // wxRadioBox::Show bool show=true; wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4; unsigned int * n = (unsigned int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; show = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Show((int) *n,show); rt.addBool(Result); - break; + break; } -case wxRadioBox_Show_1: { // wxRadioBox::Show +case wxRadioBox_Show_1: { // wxRadioBox::Show bool show=true; wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; show = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Show(show); rt.addBool(Result); - break; + break; } -case wxRadioBox_GetColumnCount: { // wxRadioBox::GetColumnCount +case wxRadioBox_GetColumnCount: { // wxRadioBox::GetColumnCount wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetColumnCount(); rt.addUint(Result); - break; + break; } -case wxRadioBox_GetItemHelpText: { // wxRadioBox::GetItemHelpText +case wxRadioBox_GetItemHelpText: { // wxRadioBox::GetItemHelpText wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4; unsigned int * n = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetItemHelpText((int) *n); rt.add(Result); - break; + break; } -case wxRadioBox_GetItemToolTip: { // wxRadioBox::GetItemToolTip +case wxRadioBox_GetItemToolTip: { // wxRadioBox::GetItemToolTip wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4; unsigned int * item = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxToolTip * Result = (wxToolTip*)This->GetItemToolTip((int) *item); rt.addRef(getRef((void *)Result,memenv), "wxToolTip"); - break; + break; } -case wxRadioBox_GetItemFromPoint: { // wxRadioBox::GetItemFromPoint +case wxRadioBox_GetItemFromPoint: { // wxRadioBox::GetItemFromPoint wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; @@ -19854,32 +19854,32 @@ case wxRadioBox_GetItemFromPoint: { // wxRadioBox::GetItemFromPoint if(!This) throw wxe_badarg(0); int Result = This->GetItemFromPoint(pt); rt.addInt(Result); - break; + break; } -case wxRadioBox_GetRowCount: { // wxRadioBox::GetRowCount +case wxRadioBox_GetRowCount: { // wxRadioBox::GetRowCount wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetRowCount(); rt.addUint(Result); - break; + break; } -case wxRadioBox_IsItemEnabled: { // wxRadioBox::IsItemEnabled +case wxRadioBox_IsItemEnabled: { // wxRadioBox::IsItemEnabled wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4; unsigned int * n = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsItemEnabled((int) *n); rt.addBool(Result); - break; + break; } -case wxRadioBox_IsItemShown: { // wxRadioBox::IsItemShown +case wxRadioBox_IsItemShown: { // wxRadioBox::IsItemShown wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4; unsigned int * n = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsItemShown((int) *n); rt.addBool(Result); - break; + break; } -case wxRadioBox_SetItemHelpText: { // wxRadioBox::SetItemHelpText +case wxRadioBox_SetItemHelpText: { // wxRadioBox::SetItemHelpText wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4; unsigned int * n = (unsigned int *) bp; bp += 4; int * helpTextLen = (int *) bp; bp += 4; @@ -19887,9 +19887,9 @@ case wxRadioBox_SetItemHelpText: { // wxRadioBox::SetItemHelpText bp += *helpTextLen+((8-((4+ *helpTextLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetItemHelpText((int) *n,helpText); - break; + break; } -case wxRadioBox_SetItemToolTip: { // wxRadioBox::SetItemToolTip +case wxRadioBox_SetItemToolTip: { // wxRadioBox::SetItemToolTip wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4; unsigned int * item = (unsigned int *) bp; bp += 4; int * textLen = (int *) bp; bp += 4; @@ -19897,15 +19897,15 @@ case wxRadioBox_SetItemToolTip: { // wxRadioBox::SetItemToolTip bp += *textLen+((8-((4+ *textLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetItemToolTip((int) *item,text); - break; + break; } -case wxRadioButton_new_0: { // wxRadioButton::wxRadioButton +case wxRadioButton_new_0: { // wxRadioButton::wxRadioButton wxRadioButton * Result = new EwxRadioButton(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxRadioButton"); - break; + break; } -case wxRadioButton_new_4: { // wxRadioButton::wxRadioButton +case wxRadioButton_new_4: { // wxRadioButton::wxRadioButton wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; @@ -19915,7 +19915,7 @@ case wxRadioButton_new_4: { // wxRadioButton::wxRadioButton int * labelLen = (int *) bp; bp += 4; wxString label = wxString(bp, wxConvUTF8); bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -19934,13 +19934,13 @@ case wxRadioButton_new_4: { // wxRadioButton::wxRadioButton case 4: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxRadioButton * Result = new EwxRadioButton(parent,(wxWindowID) *id,label,pos,size,style,*validator); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxRadioButton"); - break; + break; } -case wxRadioButton_Create: { // wxRadioButton::Create +case wxRadioButton_Create: { // wxRadioButton::Create wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; @@ -19951,7 +19951,7 @@ case wxRadioButton_Create: { // wxRadioButton::Create int * labelLen = (int *) bp; bp += 4; wxString label = wxString(bp, wxConvUTF8); bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -19970,27 +19970,27 @@ case wxRadioButton_Create: { // wxRadioButton::Create case 4: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,label,pos,size,style,*validator); rt.addBool(Result); - break; + break; } -case wxRadioButton_GetValue: { // wxRadioButton::GetValue +case wxRadioButton_GetValue: { // wxRadioButton::GetValue wxRadioButton *This = (wxRadioButton *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetValue(); rt.addBool(Result); - break; + break; } -case wxRadioButton_SetValue: { // wxRadioButton::SetValue +case wxRadioButton_SetValue: { // wxRadioButton::SetValue wxRadioButton *This = (wxRadioButton *) getPtr(bp,memenv); bp += 4; bool * val = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetValue((bool) *val); - break; + break; } -case wxSlider_new_6: { // wxSlider::wxSlider +case wxSlider_new_6: { // wxSlider::wxSlider wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxSL_HORIZONTAL; @@ -20001,7 +20001,7 @@ case wxSlider_new_6: { // wxSlider::wxSlider int * minValue = (int *) bp; bp += 4; int * maxValue = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -20020,19 +20020,19 @@ case wxSlider_new_6: { // wxSlider::wxSlider case 4: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxSlider * Result = new EwxSlider(parent,(wxWindowID) *id,(int) *value,(int) *minValue,(int) *maxValue,pos,size,style,*validator); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSlider"); - break; + break; } -case wxSlider_new_0: { // wxSlider::wxSlider +case wxSlider_new_0: { // wxSlider::wxSlider wxSlider * Result = new EwxSlider(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSlider"); - break; + break; } -case wxSlider_Create: { // wxSlider::Create +case wxSlider_Create: { // wxSlider::Create wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxSL_HORIZONTAL; @@ -20043,7 +20043,7 @@ case wxSlider_Create: { // wxSlider::Create int * value = (int *) bp; bp += 4; int * minValue = (int *) bp; bp += 4; int * maxValue = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -20062,91 +20062,91 @@ case wxSlider_Create: { // wxSlider::Create case 4: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,(int) *value,(int) *minValue,(int) *maxValue,pos,size,style,*validator); rt.addBool(Result); - break; + break; } -case wxSlider_GetLineSize: { // wxSlider::GetLineSize +case wxSlider_GetLineSize: { // wxSlider::GetLineSize wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetLineSize(); rt.addInt(Result); - break; + break; } -case wxSlider_GetMax: { // wxSlider::GetMax +case wxSlider_GetMax: { // wxSlider::GetMax wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMax(); rt.addInt(Result); - break; + break; } -case wxSlider_GetMin: { // wxSlider::GetMin +case wxSlider_GetMin: { // wxSlider::GetMin wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMin(); rt.addInt(Result); - break; + break; } -case wxSlider_GetPageSize: { // wxSlider::GetPageSize +case wxSlider_GetPageSize: { // wxSlider::GetPageSize wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetPageSize(); rt.addInt(Result); - break; + break; } -case wxSlider_GetThumbLength: { // wxSlider::GetThumbLength +case wxSlider_GetThumbLength: { // wxSlider::GetThumbLength wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetThumbLength(); rt.addInt(Result); - break; + break; } -case wxSlider_GetValue: { // wxSlider::GetValue +case wxSlider_GetValue: { // wxSlider::GetValue wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetValue(); rt.addInt(Result); - break; + break; } -case wxSlider_SetLineSize: { // wxSlider::SetLineSize +case wxSlider_SetLineSize: { // wxSlider::SetLineSize wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4; int * lineSize = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetLineSize((int) *lineSize); - break; + break; } -case wxSlider_SetPageSize: { // wxSlider::SetPageSize +case wxSlider_SetPageSize: { // wxSlider::SetPageSize wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4; int * pageSize = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetPageSize((int) *pageSize); - break; + break; } -case wxSlider_SetRange: { // wxSlider::SetRange +case wxSlider_SetRange: { // wxSlider::SetRange wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4; int * minValue = (int *) bp; bp += 4; int * maxValue = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetRange((int) *minValue,(int) *maxValue); - break; + break; } -case wxSlider_SetThumbLength: { // wxSlider::SetThumbLength +case wxSlider_SetThumbLength: { // wxSlider::SetThumbLength wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4; int * lenPixels = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetThumbLength((int) *lenPixels); - break; + break; } -case wxSlider_SetValue: { // wxSlider::SetValue +case wxSlider_SetValue: { // wxSlider::SetValue wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4; int * value = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetValue((int) *value); - break; + break; } -case wxDialog_new_4: { // wxDialog::wxDialog +case wxDialog_new_4: { // wxDialog::wxDialog wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxDEFAULT_DIALOG_STYLE; @@ -20155,7 +20155,7 @@ case wxDialog_new_4: { // wxDialog::wxDialog int * titleLen = (int *) bp; bp += 4; wxString title = wxString(bp, wxConvUTF8); bp += *titleLen+((8-((4+ *titleLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -20171,19 +20171,19 @@ case wxDialog_new_4: { // wxDialog::wxDialog case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxDialog * Result = new EwxDialog(parent,(wxWindowID) *id,title,pos,size,style); newPtr((void *) Result, 2, memenv); rt.addRef(getRef((void *)Result,memenv), "wxDialog"); - break; + break; } -case wxDialog_new_0: { // wxDialog::wxDialog +case wxDialog_new_0: { // wxDialog::wxDialog wxDialog * Result = new EwxDialog(); newPtr((void *) Result, 2, memenv); rt.addRef(getRef((void *)Result,memenv), "wxDialog"); - break; + break; } -case wxDialog_Create: { // wxDialog::Create +case wxDialog_Create: { // wxDialog::Create wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxDEFAULT_DIALOG_STYLE; @@ -20193,7 +20193,7 @@ case wxDialog_Create: { // wxDialog::Create int * titleLen = (int *) bp; bp += 4; wxString title = wxString(bp, wxConvUTF8); bp += *titleLen+((8-((0+ *titleLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -20209,175 +20209,175 @@ case wxDialog_Create: { // wxDialog::Create case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,title,pos,size,style); rt.addBool(Result); - break; + break; } -case wxDialog_CreateButtonSizer: { // wxDialog::CreateButtonSizer +case wxDialog_CreateButtonSizer: { // wxDialog::CreateButtonSizer wxDialog *This = (wxDialog *) getPtr(bp,memenv); bp += 4; int * flags = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxSizer * Result = (wxSizer*)This->CreateButtonSizer((long) *flags); rt.addRef(getRef((void *)Result,memenv), "wxSizer"); - break; + break; } -case wxDialog_CreateStdDialogButtonSizer: { // wxDialog::CreateStdDialogButtonSizer +case wxDialog_CreateStdDialogButtonSizer: { // wxDialog::CreateStdDialogButtonSizer wxDialog *This = (wxDialog *) getPtr(bp,memenv); bp += 4; int * flags = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxStdDialogButtonSizer * Result = (wxStdDialogButtonSizer*)This->CreateStdDialogButtonSizer((long) *flags); rt.addRef(getRef((void *)Result,memenv), "wxStdDialogButtonSizer"); - break; + break; } -case wxDialog_EndModal: { // wxDialog::EndModal +case wxDialog_EndModal: { // wxDialog::EndModal wxDialog *This = (wxDialog *) getPtr(bp,memenv); bp += 4; int * retCode = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->EndModal((int) *retCode); - break; + break; } -case wxDialog_GetAffirmativeId: { // wxDialog::GetAffirmativeId +case wxDialog_GetAffirmativeId: { // wxDialog::GetAffirmativeId wxDialog *This = (wxDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetAffirmativeId(); rt.addInt(Result); - break; + break; } -case wxDialog_GetReturnCode: { // wxDialog::GetReturnCode +case wxDialog_GetReturnCode: { // wxDialog::GetReturnCode wxDialog *This = (wxDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetReturnCode(); rt.addInt(Result); - break; + break; } -case wxDialog_IsModal: { // wxDialog::IsModal +case wxDialog_IsModal: { // wxDialog::IsModal wxDialog *This = (wxDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsModal(); rt.addBool(Result); - break; + break; } -case wxDialog_SetAffirmativeId: { // wxDialog::SetAffirmativeId +case wxDialog_SetAffirmativeId: { // wxDialog::SetAffirmativeId wxDialog *This = (wxDialog *) getPtr(bp,memenv); bp += 4; int * affirmativeId = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetAffirmativeId((int) *affirmativeId); - break; + break; } -case wxDialog_SetReturnCode: { // wxDialog::SetReturnCode +case wxDialog_SetReturnCode: { // wxDialog::SetReturnCode wxDialog *This = (wxDialog *) getPtr(bp,memenv); bp += 4; int * returnCode = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetReturnCode((int) *returnCode); - break; + break; } -case wxDialog_Show: { // wxDialog::Show +case wxDialog_Show: { // wxDialog::Show bool show=TRUE; wxDialog *This = (wxDialog *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; show = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Show(show); rt.addBool(Result); - break; + break; } -case wxDialog_ShowModal: { // wxDialog::ShowModal +case wxDialog_ShowModal: { // wxDialog::ShowModal wxDialog *This = (wxDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->ShowModal(); rt.addInt(Result); - break; + break; } -case wxColourDialog_new_0: { // wxColourDialog::wxColourDialog +case wxColourDialog_new_0: { // wxColourDialog::wxColourDialog wxColourDialog * Result = new EwxColourDialog(); newPtr((void *) Result, 2, memenv); rt.addRef(getRef((void *)Result,memenv), "wxColourDialog"); - break; + break; } -case wxColourDialog_new_2: { // wxColourDialog::wxColourDialog +case wxColourDialog_new_2: { // wxColourDialog::wxColourDialog wxColourData * data=(wxColourData *) NULL; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; data = (wxColourData *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxColourDialog * Result = new EwxColourDialog(parent,data); newPtr((void *) Result, 2, memenv); rt.addRef(getRef((void *)Result,memenv), "wxColourDialog"); - break; + break; } -case wxColourDialog_Create: { // wxColourDialog::Create +case wxColourDialog_Create: { // wxColourDialog::Create wxColourData * data=(wxColourData *) NULL; wxColourDialog *This = (wxColourDialog *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; data = (wxColourData *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,data); rt.addBool(Result); - break; + break; } -case wxColourDialog_GetColourData: { // wxColourDialog::GetColourData +case wxColourDialog_GetColourData: { // wxColourDialog::GetColourData wxColourDialog *This = (wxColourDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxColourData * Result = &This->GetColourData(); rt.addRef(getRef((void *)Result,memenv), "wxColourData"); - break; + break; } -case wxColourData_new_0: { // wxColourData::wxColourData +case wxColourData_new_0: { // wxColourData::wxColourData wxColourData * Result = new EwxColourData(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxColourData"); - break; + break; } -case wxColourData_new_1: { // wxColourData::wxColourData +case wxColourData_new_1: { // wxColourData::wxColourData wxColourData *data = (wxColourData *) getPtr(bp,memenv); bp += 4; wxColourData * Result = new EwxColourData(*data); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxColourData"); - break; + break; } -case wxColourData_GetChooseFull: { // wxColourData::GetChooseFull +case wxColourData_GetChooseFull: { // wxColourData::GetChooseFull wxColourData *This = (wxColourData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetChooseFull(); rt.addBool(Result); - break; + break; } -case wxColourData_GetColour: { // wxColourData::GetColour +case wxColourData_GetColour: { // wxColourData::GetColour wxColourData *This = (wxColourData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxColour * Result = &This->GetColour(); rt.add((*Result)); - break; + break; } -case wxColourData_GetCustomColour: { // wxColourData::GetCustomColour +case wxColourData_GetCustomColour: { // wxColourData::GetCustomColour wxColourData *This = (wxColourData *) getPtr(bp,memenv); bp += 4; int * i = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetCustomColour((int) *i); rt.add(Result); - break; + break; } -case wxColourData_SetChooseFull: { // wxColourData::SetChooseFull +case wxColourData_SetChooseFull: { // wxColourData::SetChooseFull wxColourData *This = (wxColourData *) getPtr(bp,memenv); bp += 4; bool * flag = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetChooseFull((bool) *flag); - break; + break; } -case wxColourData_SetColour: { // wxColourData::SetColour +case wxColourData_SetColour: { // wxColourData::SetColour wxColourData *This = (wxColourData *) getPtr(bp,memenv); bp += 4; int * colourR = (int *) bp; bp += 4; int * colourG = (int *) bp; bp += 4; @@ -20386,9 +20386,9 @@ case wxColourData_SetColour: { // wxColourData::SetColour wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA); if(!This) throw wxe_badarg(0); This->SetColour(colour); - break; + break; } -case wxColourData_SetCustomColour: { // wxColourData::SetCustomColour +case wxColourData_SetCustomColour: { // wxColourData::SetCustomColour wxColourData *This = (wxColourData *) getPtr(bp,memenv); bp += 4; int * i = (int *) bp; bp += 4; int * colourR = (int *) bp; bp += 4; @@ -20398,41 +20398,41 @@ case wxColourData_SetCustomColour: { // wxColourData::SetCustomColour wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA); if(!This) throw wxe_badarg(0); This->SetCustomColour((int) *i,colour); - break; + break; } -case wxPalette_new_0: { // wxPalette::wxPalette +case wxPalette_new_0: { // wxPalette::wxPalette wxPalette * Result = new EwxPalette(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPalette"); - break; + break; } -case wxPalette_new_4: { // wxPalette::wxPalette - const unsigned char * red = (const unsigned char*) Ecmd.bin[0]->base; - const unsigned char * green = (const unsigned char*) Ecmd.bin[1]->base; - const unsigned char * blue = (const unsigned char*) Ecmd.bin[2]->base; +case wxPalette_new_4: { // wxPalette::wxPalette + const unsigned char * red = (const unsigned char*) Ecmd.bin[0]->base; + const unsigned char * green = (const unsigned char*) Ecmd.bin[1]->base; + const unsigned char * blue = (const unsigned char*) Ecmd.bin[2]->base; wxPalette * Result = new EwxPalette(Ecmd.bin[0]->size,red,green,blue); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPalette"); - break; + break; } -case wxPalette_Create: { // wxPalette::Create +case wxPalette_Create: { // wxPalette::Create wxPalette *This = (wxPalette *) getPtr(bp,memenv); bp += 4; - const unsigned char * red = (const unsigned char*) Ecmd.bin[0]->base; - const unsigned char * green = (const unsigned char*) Ecmd.bin[1]->base; - const unsigned char * blue = (const unsigned char*) Ecmd.bin[2]->base; + const unsigned char * red = (const unsigned char*) Ecmd.bin[0]->base; + const unsigned char * green = (const unsigned char*) Ecmd.bin[1]->base; + const unsigned char * blue = (const unsigned char*) Ecmd.bin[2]->base; if(!This) throw wxe_badarg(0); bool Result = This->Create(Ecmd.bin[0]->size,red,green,blue); rt.addBool(Result); - break; + break; } -case wxPalette_GetColoursCount: { // wxPalette::GetColoursCount +case wxPalette_GetColoursCount: { // wxPalette::GetColoursCount wxPalette *This = (wxPalette *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetColoursCount(); rt.addInt(Result); - break; + break; } -case wxPalette_GetPixel: { // wxPalette::GetPixel +case wxPalette_GetPixel: { // wxPalette::GetPixel wxPalette *This = (wxPalette *) getPtr(bp,memenv); bp += 4; unsigned int * red = (unsigned int *) bp; bp += 4; unsigned int * green = (unsigned int *) bp; bp += 4; @@ -20440,9 +20440,9 @@ case wxPalette_GetPixel: { // wxPalette::GetPixel if(!This) throw wxe_badarg(0); int Result = This->GetPixel((char) *red,(char) *green,(char) *blue); rt.addInt(Result); - break; + break; } -case wxPalette_GetRGB: { // wxPalette::GetRGB +case wxPalette_GetRGB: { // wxPalette::GetRGB unsigned char red; unsigned char green; unsigned char blue; @@ -20455,16 +20455,16 @@ case wxPalette_GetRGB: { // wxPalette::GetRGB rt.addUint(green); rt.addUint(blue); rt.addTupleCount(4); - break; + break; } -case wxPalette_IsOk: { // wxPalette::IsOk +case wxPalette_IsOk: { // wxPalette::IsOk wxPalette *This = (wxPalette *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsOk(); rt.addBool(Result); - break; + break; } -case wxDirDialog_new: { // wxDirDialog::wxDirDialog +case wxDirDialog_new: { // wxDirDialog::wxDirDialog wxString title= wxDirSelectorPromptStr; wxString defaultPath= wxEmptyString; long style=(wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER); @@ -20472,7 +20472,7 @@ case wxDirDialog_new: { // wxDirDialog::wxDirDialog wxSize sz= wxDefaultSize; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * titleLen = (int *) bp; bp += 4; title = wxString(bp, wxConvUTF8); @@ -20498,45 +20498,45 @@ case wxDirDialog_new: { // wxDirDialog::wxDirDialog sz = wxSize(*szW,*szH); bp += 4; /* Align */ } break; - }}; + }}; wxDirDialog * Result = new EwxDirDialog(parent,title,defaultPath,style,pos,sz); newPtr((void *) Result, 2, memenv); rt.addRef(getRef((void *)Result,memenv), "wxDirDialog"); - break; + break; } -case wxDirDialog_GetPath: { // wxDirDialog::GetPath +case wxDirDialog_GetPath: { // wxDirDialog::GetPath wxDirDialog *This = (wxDirDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetPath(); rt.add(Result); - break; + break; } -case wxDirDialog_GetMessage: { // wxDirDialog::GetMessage +case wxDirDialog_GetMessage: { // wxDirDialog::GetMessage wxDirDialog *This = (wxDirDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetMessage(); rt.add(Result); - break; + break; } -case wxDirDialog_SetMessage: { // wxDirDialog::SetMessage +case wxDirDialog_SetMessage: { // wxDirDialog::SetMessage wxDirDialog *This = (wxDirDialog *) getPtr(bp,memenv); bp += 4; int * messageLen = (int *) bp; bp += 4; wxString message = wxString(bp, wxConvUTF8); bp += *messageLen+((8-((0+ *messageLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetMessage(message); - break; + break; } -case wxDirDialog_SetPath: { // wxDirDialog::SetPath +case wxDirDialog_SetPath: { // wxDirDialog::SetPath wxDirDialog *This = (wxDirDialog *) getPtr(bp,memenv); bp += 4; int * pathLen = (int *) bp; bp += 4; wxString path = wxString(bp, wxConvUTF8); bp += *pathLen+((8-((0+ *pathLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetPath(path); - break; + break; } -case wxFileDialog_new: { // wxFileDialog::wxFileDialog +case wxFileDialog_new: { // wxFileDialog::wxFileDialog wxString message= wxFileSelectorPromptStr; wxString defaultDir= wxEmptyString; wxString defaultFile= wxEmptyString; @@ -20546,7 +20546,7 @@ case wxFileDialog_new: { // wxFileDialog::wxFileDialog wxSize sz= wxDefaultSize; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * messageLen = (int *) bp; bp += 4; message = wxString(bp, wxConvUTF8); @@ -20582,225 +20582,225 @@ case wxFileDialog_new: { // wxFileDialog::wxFileDialog sz = wxSize(*szW,*szH); bp += 4; /* Align */ } break; - }}; + }}; wxFileDialog * Result = new EwxFileDialog(parent,message,defaultDir,defaultFile,wildCard,style,pos,sz); newPtr((void *) Result, 2, memenv); rt.addRef(getRef((void *)Result,memenv), "wxFileDialog"); - break; + break; } -case wxFileDialog_GetDirectory: { // wxFileDialog::GetDirectory +case wxFileDialog_GetDirectory: { // wxFileDialog::GetDirectory wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetDirectory(); rt.add(Result); - break; + break; } -case wxFileDialog_GetFilename: { // wxFileDialog::GetFilename +case wxFileDialog_GetFilename: { // wxFileDialog::GetFilename wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetFilename(); rt.add(Result); - break; + break; } -case wxFileDialog_GetFilenames: { // wxFileDialog::GetFilenames +case wxFileDialog_GetFilenames: { // wxFileDialog::GetFilenames wxArrayString files; wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->GetFilenames(files); rt.add(files); - break; + break; } -case wxFileDialog_GetFilterIndex: { // wxFileDialog::GetFilterIndex +case wxFileDialog_GetFilterIndex: { // wxFileDialog::GetFilterIndex wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetFilterIndex(); rt.addInt(Result); - break; + break; } -case wxFileDialog_GetMessage: { // wxFileDialog::GetMessage +case wxFileDialog_GetMessage: { // wxFileDialog::GetMessage wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetMessage(); rt.add(Result); - break; + break; } -case wxFileDialog_GetPath: { // wxFileDialog::GetPath +case wxFileDialog_GetPath: { // wxFileDialog::GetPath wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetPath(); rt.add(Result); - break; + break; } -case wxFileDialog_GetPaths: { // wxFileDialog::GetPaths +case wxFileDialog_GetPaths: { // wxFileDialog::GetPaths wxArrayString paths; wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->GetPaths(paths); rt.add(paths); - break; + break; } -case wxFileDialog_GetWildcard: { // wxFileDialog::GetWildcard +case wxFileDialog_GetWildcard: { // wxFileDialog::GetWildcard wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetWildcard(); rt.add(Result); - break; + break; } -case wxFileDialog_SetDirectory: { // wxFileDialog::SetDirectory +case wxFileDialog_SetDirectory: { // wxFileDialog::SetDirectory wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4; int * dirLen = (int *) bp; bp += 4; wxString dir = wxString(bp, wxConvUTF8); bp += *dirLen+((8-((0+ *dirLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetDirectory(dir); - break; + break; } -case wxFileDialog_SetFilename: { // wxFileDialog::SetFilename +case wxFileDialog_SetFilename: { // wxFileDialog::SetFilename wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetFilename(name); - break; + break; } -case wxFileDialog_SetFilterIndex: { // wxFileDialog::SetFilterIndex +case wxFileDialog_SetFilterIndex: { // wxFileDialog::SetFilterIndex wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4; int * filterIndex = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetFilterIndex((int) *filterIndex); - break; + break; } -case wxFileDialog_SetMessage: { // wxFileDialog::SetMessage +case wxFileDialog_SetMessage: { // wxFileDialog::SetMessage wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4; int * messageLen = (int *) bp; bp += 4; wxString message = wxString(bp, wxConvUTF8); bp += *messageLen+((8-((0+ *messageLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetMessage(message); - break; + break; } -case wxFileDialog_SetPath: { // wxFileDialog::SetPath +case wxFileDialog_SetPath: { // wxFileDialog::SetPath wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4; int * pathLen = (int *) bp; bp += 4; wxString path = wxString(bp, wxConvUTF8); bp += *pathLen+((8-((0+ *pathLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetPath(path); - break; + break; } -case wxFileDialog_SetWildcard: { // wxFileDialog::SetWildcard +case wxFileDialog_SetWildcard: { // wxFileDialog::SetWildcard wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4; int * wildCardLen = (int *) bp; bp += 4; wxString wildCard = wxString(bp, wxConvUTF8); bp += *wildCardLen+((8-((0+ *wildCardLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetWildcard(wildCard); - break; + break; } -case wxPickerBase_SetInternalMargin: { // wxPickerBase::SetInternalMargin +case wxPickerBase_SetInternalMargin: { // wxPickerBase::SetInternalMargin wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4; int * newmargin = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetInternalMargin((int) *newmargin); - break; + break; } -case wxPickerBase_GetInternalMargin: { // wxPickerBase::GetInternalMargin +case wxPickerBase_GetInternalMargin: { // wxPickerBase::GetInternalMargin wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetInternalMargin(); rt.addInt(Result); - break; + break; } -case wxPickerBase_SetTextCtrlProportion: { // wxPickerBase::SetTextCtrlProportion +case wxPickerBase_SetTextCtrlProportion: { // wxPickerBase::SetTextCtrlProportion wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4; int * prop = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetTextCtrlProportion((int) *prop); - break; + break; } -case wxPickerBase_SetPickerCtrlProportion: { // wxPickerBase::SetPickerCtrlProportion +case wxPickerBase_SetPickerCtrlProportion: { // wxPickerBase::SetPickerCtrlProportion wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4; int * prop = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetPickerCtrlProportion((int) *prop); - break; + break; } -case wxPickerBase_GetTextCtrlProportion: { // wxPickerBase::GetTextCtrlProportion +case wxPickerBase_GetTextCtrlProportion: { // wxPickerBase::GetTextCtrlProportion wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetTextCtrlProportion(); rt.addInt(Result); - break; + break; } -case wxPickerBase_GetPickerCtrlProportion: { // wxPickerBase::GetPickerCtrlProportion +case wxPickerBase_GetPickerCtrlProportion: { // wxPickerBase::GetPickerCtrlProportion wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetPickerCtrlProportion(); rt.addInt(Result); - break; + break; } -case wxPickerBase_HasTextCtrl: { // wxPickerBase::HasTextCtrl +case wxPickerBase_HasTextCtrl: { // wxPickerBase::HasTextCtrl wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasTextCtrl(); rt.addBool(Result); - break; + break; } -case wxPickerBase_GetTextCtrl: { // wxPickerBase::GetTextCtrl +case wxPickerBase_GetTextCtrl: { // wxPickerBase::GetTextCtrl wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxTextCtrl * Result = (wxTextCtrl*)This->GetTextCtrl(); rt.addRef(getRef((void *)Result,memenv), "wxTextCtrl"); - break; + break; } -case wxPickerBase_IsTextCtrlGrowable: { // wxPickerBase::IsTextCtrlGrowable +case wxPickerBase_IsTextCtrlGrowable: { // wxPickerBase::IsTextCtrlGrowable wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsTextCtrlGrowable(); rt.addBool(Result); - break; + break; } -case wxPickerBase_SetPickerCtrlGrowable: { // wxPickerBase::SetPickerCtrlGrowable +case wxPickerBase_SetPickerCtrlGrowable: { // wxPickerBase::SetPickerCtrlGrowable bool grow=true; wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; grow = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetPickerCtrlGrowable(grow); - break; + break; } -case wxPickerBase_SetTextCtrlGrowable: { // wxPickerBase::SetTextCtrlGrowable +case wxPickerBase_SetTextCtrlGrowable: { // wxPickerBase::SetTextCtrlGrowable bool grow=true; wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; grow = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetTextCtrlGrowable(grow); - break; + break; } -case wxPickerBase_IsPickerCtrlGrowable: { // wxPickerBase::IsPickerCtrlGrowable +case wxPickerBase_IsPickerCtrlGrowable: { // wxPickerBase::IsPickerCtrlGrowable wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsPickerCtrlGrowable(); rt.addBool(Result); - break; + break; } -case wxFilePickerCtrl_new_0: { // wxFilePickerCtrl::wxFilePickerCtrl +case wxFilePickerCtrl_new_0: { // wxFilePickerCtrl::wxFilePickerCtrl wxFilePickerCtrl * Result = new EwxFilePickerCtrl(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxFilePickerCtrl"); - break; + break; } -case wxFilePickerCtrl_new_3: { // wxFilePickerCtrl::wxFilePickerCtrl +case wxFilePickerCtrl_new_3: { // wxFilePickerCtrl::wxFilePickerCtrl wxString path= wxEmptyString; wxString message= wxFileSelectorPromptStr; wxString wildcard= wxFileSelectorDefaultWildcardStr; @@ -20810,7 +20810,7 @@ case wxFilePickerCtrl_new_3: { // wxFilePickerCtrl::wxFilePickerCtrl const wxValidator * validator= &wxDefaultValidator; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * pathLen = (int *) bp; bp += 4; path = wxString(bp, wxConvUTF8); @@ -20844,13 +20844,13 @@ case wxFilePickerCtrl_new_3: { // wxFilePickerCtrl::wxFilePickerCtrl case 7: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxFilePickerCtrl * Result = new EwxFilePickerCtrl(parent,(wxWindowID) *id,path,message,wildcard,pos,size,style,*validator); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxFilePickerCtrl"); - break; + break; } -case wxFilePickerCtrl_Create: { // wxFilePickerCtrl::Create +case wxFilePickerCtrl_Create: { // wxFilePickerCtrl::Create wxString path= wxEmptyString; wxString message= wxFileSelectorPromptStr; wxString wildcard= wxFileSelectorDefaultWildcardStr; @@ -20862,7 +20862,7 @@ case wxFilePickerCtrl_Create: { // wxFilePickerCtrl::Create wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * pathLen = (int *) bp; bp += 4; path = wxString(bp, wxConvUTF8); @@ -20896,35 +20896,35 @@ case wxFilePickerCtrl_Create: { // wxFilePickerCtrl::Create case 7: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,path,message,wildcard,pos,size,style,*validator); rt.addBool(Result); - break; + break; } -case wxFilePickerCtrl_GetPath: { // wxFilePickerCtrl::GetPath +case wxFilePickerCtrl_GetPath: { // wxFilePickerCtrl::GetPath wxFilePickerCtrl *This = (wxFilePickerCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetPath(); rt.add(Result); - break; + break; } -case wxFilePickerCtrl_SetPath: { // wxFilePickerCtrl::SetPath +case wxFilePickerCtrl_SetPath: { // wxFilePickerCtrl::SetPath wxFilePickerCtrl *This = (wxFilePickerCtrl *) getPtr(bp,memenv); bp += 4; int * strLen = (int *) bp; bp += 4; wxString str = wxString(bp, wxConvUTF8); bp += *strLen+((8-((0+ *strLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetPath(str); - break; + break; } -case wxDirPickerCtrl_new_0: { // wxDirPickerCtrl::wxDirPickerCtrl +case wxDirPickerCtrl_new_0: { // wxDirPickerCtrl::wxDirPickerCtrl wxDirPickerCtrl * Result = new EwxDirPickerCtrl(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxDirPickerCtrl"); - break; + break; } -case wxDirPickerCtrl_new_3: { // wxDirPickerCtrl::wxDirPickerCtrl +case wxDirPickerCtrl_new_3: { // wxDirPickerCtrl::wxDirPickerCtrl wxString path= wxEmptyString; wxString message= wxDirSelectorPromptStr; wxPoint pos= wxDefaultPosition; @@ -20933,7 +20933,7 @@ case wxDirPickerCtrl_new_3: { // wxDirPickerCtrl::wxDirPickerCtrl const wxValidator * validator= &wxDefaultValidator; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * pathLen = (int *) bp; bp += 4; path = wxString(bp, wxConvUTF8); @@ -20962,13 +20962,13 @@ case wxDirPickerCtrl_new_3: { // wxDirPickerCtrl::wxDirPickerCtrl case 6: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxDirPickerCtrl * Result = new EwxDirPickerCtrl(parent,(wxWindowID) *id,path,message,pos,size,style,*validator); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxDirPickerCtrl"); - break; + break; } -case wxDirPickerCtrl_Create: { // wxDirPickerCtrl::Create +case wxDirPickerCtrl_Create: { // wxDirPickerCtrl::Create wxString path= wxEmptyString; wxString message= wxDirSelectorPromptStr; wxPoint pos= wxDefaultPosition; @@ -20979,7 +20979,7 @@ case wxDirPickerCtrl_Create: { // wxDirPickerCtrl::Create wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * pathLen = (int *) bp; bp += 4; path = wxString(bp, wxConvUTF8); @@ -21008,35 +21008,35 @@ case wxDirPickerCtrl_Create: { // wxDirPickerCtrl::Create case 6: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,path,message,pos,size,style,*validator); rt.addBool(Result); - break; + break; } -case wxDirPickerCtrl_GetPath: { // wxDirPickerCtrl::GetPath +case wxDirPickerCtrl_GetPath: { // wxDirPickerCtrl::GetPath wxDirPickerCtrl *This = (wxDirPickerCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetPath(); rt.add(Result); - break; + break; } -case wxDirPickerCtrl_SetPath: { // wxDirPickerCtrl::SetPath +case wxDirPickerCtrl_SetPath: { // wxDirPickerCtrl::SetPath wxDirPickerCtrl *This = (wxDirPickerCtrl *) getPtr(bp,memenv); bp += 4; int * strLen = (int *) bp; bp += 4; wxString str = wxString(bp, wxConvUTF8); bp += *strLen+((8-((0+ *strLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetPath(str); - break; + break; } -case wxColourPickerCtrl_new_0: { // wxColourPickerCtrl::wxColourPickerCtrl +case wxColourPickerCtrl_new_0: { // wxColourPickerCtrl::wxColourPickerCtrl wxColourPickerCtrl * Result = new EwxColourPickerCtrl(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxColourPickerCtrl"); - break; + break; } -case wxColourPickerCtrl_new_3: { // wxColourPickerCtrl::wxColourPickerCtrl +case wxColourPickerCtrl_new_3: { // wxColourPickerCtrl::wxColourPickerCtrl wxColour col= *wxBLACK; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; @@ -21044,7 +21044,7 @@ case wxColourPickerCtrl_new_3: { // wxColourPickerCtrl::wxColourPickerCtrl const wxValidator * validator= &wxDefaultValidator; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * colR = (int *) bp; bp += 4; int * colG = (int *) bp; bp += 4; @@ -21071,13 +21071,13 @@ case wxColourPickerCtrl_new_3: { // wxColourPickerCtrl::wxColourPickerCtrl case 5: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxColourPickerCtrl * Result = new EwxColourPickerCtrl(parent,(wxWindowID) *id,col,pos,size,style,*validator); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxColourPickerCtrl"); - break; + break; } -case wxColourPickerCtrl_Create: { // wxColourPickerCtrl::Create +case wxColourPickerCtrl_Create: { // wxColourPickerCtrl::Create wxColour col= *wxBLACK; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; @@ -21087,7 +21087,7 @@ case wxColourPickerCtrl_Create: { // wxColourPickerCtrl::Create wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * colR = (int *) bp; bp += 4; int * colG = (int *) bp; bp += 4; @@ -21114,20 +21114,20 @@ case wxColourPickerCtrl_Create: { // wxColourPickerCtrl::Create case 5: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,col,pos,size,style,*validator); rt.addBool(Result); - break; + break; } -case wxColourPickerCtrl_GetColour: { // wxColourPickerCtrl::GetColour +case wxColourPickerCtrl_GetColour: { // wxColourPickerCtrl::GetColour wxColourPickerCtrl *This = (wxColourPickerCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetColour(); rt.add(Result); - break; + break; } -case wxColourPickerCtrl_SetColour_1_1: { // wxColourPickerCtrl::SetColour +case wxColourPickerCtrl_SetColour_1_1: { // wxColourPickerCtrl::SetColour wxColourPickerCtrl *This = (wxColourPickerCtrl *) getPtr(bp,memenv); bp += 4; int * colR = (int *) bp; bp += 4; int * colG = (int *) bp; bp += 4; @@ -21136,9 +21136,9 @@ case wxColourPickerCtrl_SetColour_1_1: { // wxColourPickerCtrl::SetColour wxColour col = wxColour(*colR,*colG,*colB,*colA); if(!This) throw wxe_badarg(0); This->SetColour(col); - break; + break; } -case wxColourPickerCtrl_SetColour_1_0: { // wxColourPickerCtrl::SetColour +case wxColourPickerCtrl_SetColour_1_0: { // wxColourPickerCtrl::SetColour wxColourPickerCtrl *This = (wxColourPickerCtrl *) getPtr(bp,memenv); bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); @@ -21146,15 +21146,15 @@ case wxColourPickerCtrl_SetColour_1_0: { // wxColourPickerCtrl::SetColour if(!This) throw wxe_badarg(0); bool Result = This->SetColour(text); rt.addBool(Result); - break; + break; } -case wxDatePickerCtrl_new_0: { // wxDatePickerCtrl::wxDatePickerCtrl +case wxDatePickerCtrl_new_0: { // wxDatePickerCtrl::wxDatePickerCtrl wxDatePickerCtrl * Result = new EwxDatePickerCtrl(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxDatePickerCtrl"); - break; + break; } -case wxDatePickerCtrl_new_3: { // wxDatePickerCtrl::wxDatePickerCtrl +case wxDatePickerCtrl_new_3: { // wxDatePickerCtrl::wxDatePickerCtrl wxDateTime date= wxDefaultDateTime; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; @@ -21162,7 +21162,7 @@ case wxDatePickerCtrl_new_3: { // wxDatePickerCtrl::wxDatePickerCtrl const wxValidator * validator= &wxDefaultValidator; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * dateD = (int *) bp; bp += 4; int * dateMo = (int *) bp; bp += 4; @@ -21191,13 +21191,13 @@ case wxDatePickerCtrl_new_3: { // wxDatePickerCtrl::wxDatePickerCtrl case 5: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxDatePickerCtrl * Result = new EwxDatePickerCtrl(parent,(wxWindowID) *id,date,pos,size,style,*validator); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxDatePickerCtrl"); - break; + break; } -case wxDatePickerCtrl_GetRange: { // wxDatePickerCtrl::GetRange +case wxDatePickerCtrl_GetRange: { // wxDatePickerCtrl::GetRange wxDatePickerCtrl *This = (wxDatePickerCtrl *) getPtr(bp,memenv); bp += 4; int * dt1D = (int *) bp; bp += 4; int * dt1Mo = (int *) bp; bp += 4; @@ -21216,16 +21216,16 @@ case wxDatePickerCtrl_GetRange: { // wxDatePickerCtrl::GetRange if(!This) throw wxe_badarg(0); bool Result = This->GetRange(&dt1,&dt2); rt.addBool(Result); - break; + break; } -case wxDatePickerCtrl_GetValue: { // wxDatePickerCtrl::GetValue +case wxDatePickerCtrl_GetValue: { // wxDatePickerCtrl::GetValue wxDatePickerCtrl *This = (wxDatePickerCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxDateTime Result = This->GetValue(); rt.add(Result); - break; + break; } -case wxDatePickerCtrl_SetRange: { // wxDatePickerCtrl::SetRange +case wxDatePickerCtrl_SetRange: { // wxDatePickerCtrl::SetRange wxDatePickerCtrl *This = (wxDatePickerCtrl *) getPtr(bp,memenv); bp += 4; int * dt1D = (int *) bp; bp += 4; int * dt1Mo = (int *) bp; bp += 4; @@ -21243,9 +21243,9 @@ case wxDatePickerCtrl_SetRange: { // wxDatePickerCtrl::SetRange wxDateTime dt2 = wxDateTime((wxDateTime::wxDateTime_t) *dt2D,(wxDateTime::Month) *dt2Mo,*dt2Y,(wxDateTime::wxDateTime_t) *dt2H,(wxDateTime::wxDateTime_t) *dt2Mi,(wxDateTime::wxDateTime_t) *dt2S); if(!This) throw wxe_badarg(0); This->SetRange(dt1,dt2); - break; + break; } -case wxDatePickerCtrl_SetValue: { // wxDatePickerCtrl::SetValue +case wxDatePickerCtrl_SetValue: { // wxDatePickerCtrl::SetValue wxDatePickerCtrl *This = (wxDatePickerCtrl *) getPtr(bp,memenv); bp += 4; int * dateD = (int *) bp; bp += 4; int * dateMo = (int *) bp; bp += 4; @@ -21256,15 +21256,15 @@ case wxDatePickerCtrl_SetValue: { // wxDatePickerCtrl::SetValue wxDateTime date = wxDateTime((wxDateTime::wxDateTime_t) *dateD,(wxDateTime::Month) *dateMo,*dateY,(wxDateTime::wxDateTime_t) *dateH,(wxDateTime::wxDateTime_t) *dateMi,(wxDateTime::wxDateTime_t) *dateS); if(!This) throw wxe_badarg(0); This->SetValue(date); - break; + break; } -case wxFontPickerCtrl_new_0: { // wxFontPickerCtrl::wxFontPickerCtrl +case wxFontPickerCtrl_new_0: { // wxFontPickerCtrl::wxFontPickerCtrl wxFontPickerCtrl * Result = new EwxFontPickerCtrl(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxFontPickerCtrl"); - break; + break; } -case wxFontPickerCtrl_new_3: { // wxFontPickerCtrl::wxFontPickerCtrl +case wxFontPickerCtrl_new_3: { // wxFontPickerCtrl::wxFontPickerCtrl const wxFont * initial= &wxNullFont; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; @@ -21272,7 +21272,7 @@ case wxFontPickerCtrl_new_3: { // wxFontPickerCtrl::wxFontPickerCtrl const wxValidator * validator= &wxDefaultValidator; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; initial = (wxFont *) getPtr(bp,memenv); bp += 4; } break; @@ -21294,13 +21294,13 @@ initial = (wxFont *) getPtr(bp,memenv); bp += 4; case 5: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxFontPickerCtrl * Result = new EwxFontPickerCtrl(parent,(wxWindowID) *id,*initial,pos,size,style,*validator); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxFontPickerCtrl"); - break; + break; } -case wxFontPickerCtrl_Create: { // wxFontPickerCtrl::Create +case wxFontPickerCtrl_Create: { // wxFontPickerCtrl::Create const wxFont * initial= &wxNullFont; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; @@ -21310,7 +21310,7 @@ case wxFontPickerCtrl_Create: { // wxFontPickerCtrl::Create wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; initial = (wxFont *) getPtr(bp,memenv); bp += 4; } break; @@ -21332,64 +21332,64 @@ initial = (wxFont *) getPtr(bp,memenv); bp += 4; case 5: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,*initial,pos,size,style,*validator); rt.addBool(Result); - break; + break; } -case wxFontPickerCtrl_GetSelectedFont: { // wxFontPickerCtrl::GetSelectedFont +case wxFontPickerCtrl_GetSelectedFont: { // wxFontPickerCtrl::GetSelectedFont wxFontPickerCtrl *This = (wxFontPickerCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxFont * Result = new wxFont(This->GetSelectedFont()); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxFont"); - break; + break; } -case wxFontPickerCtrl_SetSelectedFont: { // wxFontPickerCtrl::SetSelectedFont +case wxFontPickerCtrl_SetSelectedFont: { // wxFontPickerCtrl::SetSelectedFont wxFontPickerCtrl *This = (wxFontPickerCtrl *) getPtr(bp,memenv); bp += 4; wxFont *f = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetSelectedFont(*f); - break; + break; } -case wxFontPickerCtrl_GetMaxPointSize: { // wxFontPickerCtrl::GetMaxPointSize +case wxFontPickerCtrl_GetMaxPointSize: { // wxFontPickerCtrl::GetMaxPointSize wxFontPickerCtrl *This = (wxFontPickerCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMaxPointSize(); rt.addUint(Result); - break; + break; } -case wxFontPickerCtrl_SetMaxPointSize: { // wxFontPickerCtrl::SetMaxPointSize +case wxFontPickerCtrl_SetMaxPointSize: { // wxFontPickerCtrl::SetMaxPointSize wxFontPickerCtrl *This = (wxFontPickerCtrl *) getPtr(bp,memenv); bp += 4; unsigned int * max = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMaxPointSize((int) *max); - break; + break; } -case wxFindReplaceDialog_new_0: { // wxFindReplaceDialog::wxFindReplaceDialog +case wxFindReplaceDialog_new_0: { // wxFindReplaceDialog::wxFindReplaceDialog wxFindReplaceDialog * Result = new EwxFindReplaceDialog(); newPtr((void *) Result, 2, memenv); rt.addRef(getRef((void *)Result,memenv), "wxFindReplaceDialog"); - break; + break; } -case wxFindReplaceDialog_new_4: { // wxFindReplaceDialog::wxFindReplaceDialog +case wxFindReplaceDialog_new_4: { // wxFindReplaceDialog::wxFindReplaceDialog int style=0; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; wxFindReplaceData *data = (wxFindReplaceData *) getPtr(bp,memenv); bp += 4; int * titleLen = (int *) bp; bp += 4; wxString title = wxString(bp, wxConvUTF8); bp += *titleLen+((8-((4+ *titleLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; style = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxFindReplaceDialog * Result = new EwxFindReplaceDialog(parent,data,title,style); newPtr((void *) Result, 2, memenv); rt.addRef(getRef((void *)Result,memenv), "wxFindReplaceDialog"); - break; + break; } -case wxFindReplaceDialog_Create: { // wxFindReplaceDialog::Create +case wxFindReplaceDialog_Create: { // wxFindReplaceDialog::Create int style=0; wxFindReplaceDialog *This = (wxFindReplaceDialog *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; @@ -21397,89 +21397,89 @@ case wxFindReplaceDialog_Create: { // wxFindReplaceDialog::Create int * titleLen = (int *) bp; bp += 4; wxString title = wxString(bp, wxConvUTF8); bp += *titleLen+((8-((0+ *titleLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; style = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,data,title,style); rt.addBool(Result); - break; + break; } -case wxFindReplaceDialog_GetData: { // wxFindReplaceDialog::GetData +case wxFindReplaceDialog_GetData: { // wxFindReplaceDialog::GetData wxFindReplaceDialog *This = (wxFindReplaceDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxFindReplaceData * Result = (wxFindReplaceData*)This->GetData(); rt.addRef(getRef((void *)Result,memenv), "wxFindReplaceData"); - break; + break; } -case wxFindReplaceData_new_0: { // wxFindReplaceData::wxFindReplaceData +case wxFindReplaceData_new_0: { // wxFindReplaceData::wxFindReplaceData wxFindReplaceData * Result = new EwxFindReplaceData(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxFindReplaceData"); - break; + break; } -case wxFindReplaceData_new_1: { // wxFindReplaceData::wxFindReplaceData +case wxFindReplaceData_new_1: { // wxFindReplaceData::wxFindReplaceData unsigned int * flags = (unsigned int *) bp; bp += 4; wxFindReplaceData * Result = new EwxFindReplaceData((int) *flags); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxFindReplaceData"); - break; + break; } -case wxFindReplaceData_GetFindString: { // wxFindReplaceData::GetFindString +case wxFindReplaceData_GetFindString: { // wxFindReplaceData::GetFindString wxFindReplaceData *This = (wxFindReplaceData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxString * Result = &This->GetFindString(); rt.add(Result); - break; + break; } -case wxFindReplaceData_GetReplaceString: { // wxFindReplaceData::GetReplaceString +case wxFindReplaceData_GetReplaceString: { // wxFindReplaceData::GetReplaceString wxFindReplaceData *This = (wxFindReplaceData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxString * Result = &This->GetReplaceString(); rt.add(Result); - break; + break; } -case wxFindReplaceData_GetFlags: { // wxFindReplaceData::GetFlags +case wxFindReplaceData_GetFlags: { // wxFindReplaceData::GetFlags wxFindReplaceData *This = (wxFindReplaceData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetFlags(); rt.addInt(Result); - break; + break; } -case wxFindReplaceData_SetFlags: { // wxFindReplaceData::SetFlags +case wxFindReplaceData_SetFlags: { // wxFindReplaceData::SetFlags wxFindReplaceData *This = (wxFindReplaceData *) getPtr(bp,memenv); bp += 4; unsigned int * flags = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetFlags((int) *flags); - break; + break; } -case wxFindReplaceData_SetFindString: { // wxFindReplaceData::SetFindString +case wxFindReplaceData_SetFindString: { // wxFindReplaceData::SetFindString wxFindReplaceData *This = (wxFindReplaceData *) getPtr(bp,memenv); bp += 4; int * strLen = (int *) bp; bp += 4; wxString str = wxString(bp, wxConvUTF8); bp += *strLen+((8-((0+ *strLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetFindString(str); - break; + break; } -case wxFindReplaceData_SetReplaceString: { // wxFindReplaceData::SetReplaceString +case wxFindReplaceData_SetReplaceString: { // wxFindReplaceData::SetReplaceString wxFindReplaceData *This = (wxFindReplaceData *) getPtr(bp,memenv); bp += 4; int * strLen = (int *) bp; bp += 4; wxString str = wxString(bp, wxConvUTF8); bp += *strLen+((8-((0+ *strLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetReplaceString(str); - break; + break; } -case wxMultiChoiceDialog_new_0: { // wxMultiChoiceDialog::wxMultiChoiceDialog +case wxMultiChoiceDialog_new_0: { // wxMultiChoiceDialog::wxMultiChoiceDialog wxMultiChoiceDialog * Result = new EwxMultiChoiceDialog(); newPtr((void *) Result, 2, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMultiChoiceDialog"); - break; + break; } -case wxMultiChoiceDialog_new_5: { // wxMultiChoiceDialog::wxMultiChoiceDialog +case wxMultiChoiceDialog_new_5: { // wxMultiChoiceDialog::wxMultiChoiceDialog long style=(wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxOK|wxCANCEL|wxCENTRE); wxPoint pos= wxDefaultPosition; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; @@ -21499,7 +21499,7 @@ case wxMultiChoiceDialog_new_5: { // wxMultiChoiceDialog::wxMultiChoiceDialog choicesASz += *choicesTemp+4; } bp += (8-((4+ choicesASz) & 7 )) & 7; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; @@ -21509,20 +21509,20 @@ case wxMultiChoiceDialog_new_5: { // wxMultiChoiceDialog::wxMultiChoiceDialog pos = wxPoint(*posX,*posY); bp += 4; /* Align */ } break; - }}; + }}; wxMultiChoiceDialog * Result = new EwxMultiChoiceDialog(parent,message,caption,choices,style,pos); newPtr((void *) Result, 2, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMultiChoiceDialog"); - break; + break; } -case wxMultiChoiceDialog_GetSelections: { // wxMultiChoiceDialog::GetSelections +case wxMultiChoiceDialog_GetSelections: { // wxMultiChoiceDialog::GetSelections wxMultiChoiceDialog *This = (wxMultiChoiceDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxArrayInt Result = This->GetSelections(); rt.add(Result); - break; + break; } -case wxMultiChoiceDialog_SetSelections: { // wxMultiChoiceDialog::SetSelections +case wxMultiChoiceDialog_SetSelections: { // wxMultiChoiceDialog::SetSelections wxMultiChoiceDialog *This = (wxMultiChoiceDialog *) getPtr(bp,memenv); bp += 4; int * selectionsLen = (int *) bp; bp += 4; wxArrayInt selections; @@ -21530,15 +21530,15 @@ case wxMultiChoiceDialog_SetSelections: { // wxMultiChoiceDialog::SetSelections bp += ((*selectionsLen + 2) % 2 )*4; if(!This) throw wxe_badarg(0); This->SetSelections(selections); - break; + break; } -case wxSingleChoiceDialog_new_0: { // wxSingleChoiceDialog::wxSingleChoiceDialog +case wxSingleChoiceDialog_new_0: { // wxSingleChoiceDialog::wxSingleChoiceDialog wxSingleChoiceDialog * Result = new EwxSingleChoiceDialog(); newPtr((void *) Result, 2, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSingleChoiceDialog"); - break; + break; } -case wxSingleChoiceDialog_new_5: { // wxSingleChoiceDialog::wxSingleChoiceDialog +case wxSingleChoiceDialog_new_5: { // wxSingleChoiceDialog::wxSingleChoiceDialog char ** clientData = (char **) NULL; long style=(wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxOK|wxCANCEL|wxCENTRE); wxPoint pos= wxDefaultPosition; @@ -21559,7 +21559,7 @@ case wxSingleChoiceDialog_new_5: { // wxSingleChoiceDialog::wxSingleChoiceDialog choicesASz += *choicesTemp+4; } bp += (8-((4+ choicesASz) & 7 )) & 7; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; @@ -21569,34 +21569,34 @@ case wxSingleChoiceDialog_new_5: { // wxSingleChoiceDialog::wxSingleChoiceDialog pos = wxPoint(*posX,*posY); bp += 4; /* Align */ } break; - }}; + }}; wxSingleChoiceDialog * Result = new EwxSingleChoiceDialog(parent,message,caption,choices,clientData,style,pos); newPtr((void *) Result, 2, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSingleChoiceDialog"); - break; + break; } -case wxSingleChoiceDialog_GetSelection: { // wxSingleChoiceDialog::GetSelection +case wxSingleChoiceDialog_GetSelection: { // wxSingleChoiceDialog::GetSelection wxSingleChoiceDialog *This = (wxSingleChoiceDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetSelection(); rt.addInt(Result); - break; + break; } -case wxSingleChoiceDialog_GetStringSelection: { // wxSingleChoiceDialog::GetStringSelection +case wxSingleChoiceDialog_GetStringSelection: { // wxSingleChoiceDialog::GetStringSelection wxSingleChoiceDialog *This = (wxSingleChoiceDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetStringSelection(); rt.add(Result); - break; + break; } -case wxSingleChoiceDialog_SetSelection: { // wxSingleChoiceDialog::SetSelection +case wxSingleChoiceDialog_SetSelection: { // wxSingleChoiceDialog::SetSelection wxSingleChoiceDialog *This = (wxSingleChoiceDialog *) getPtr(bp,memenv); bp += 4; int * sel = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSelection((int) *sel); - break; + break; } -case wxTextEntryDialog_new: { // wxTextEntryDialog::wxTextEntryDialog +case wxTextEntryDialog_new: { // wxTextEntryDialog::wxTextEntryDialog wxString caption= wxGetTextFromUserPromptStr; wxString value= wxEmptyString; long style=(wxOK|wxCANCEL|wxCENTRE|wxWS_EX_VALIDATE_RECURSIVELY); @@ -21605,7 +21605,7 @@ case wxTextEntryDialog_new: { // wxTextEntryDialog::wxTextEntryDialog int * messageLen = (int *) bp; bp += 4; wxString message = wxString(bp, wxConvUTF8); bp += *messageLen+((8-((0+ *messageLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * captionLen = (int *) bp; bp += 4; caption = wxString(bp, wxConvUTF8); @@ -21625,29 +21625,29 @@ case wxTextEntryDialog_new: { // wxTextEntryDialog::wxTextEntryDialog pos = wxPoint(*posX,*posY); bp += 4; /* Align */ } break; - }}; + }}; wxTextEntryDialog * Result = new EwxTextEntryDialog(parent,message,caption,value,style,pos); newPtr((void *) Result, 2, memenv); rt.addRef(getRef((void *)Result,memenv), "wxTextEntryDialog"); - break; + break; } -case wxTextEntryDialog_GetValue: { // wxTextEntryDialog::GetValue +case wxTextEntryDialog_GetValue: { // wxTextEntryDialog::GetValue wxTextEntryDialog *This = (wxTextEntryDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetValue(); rt.add(Result); - break; + break; } -case wxTextEntryDialog_SetValue: { // wxTextEntryDialog::SetValue +case wxTextEntryDialog_SetValue: { // wxTextEntryDialog::SetValue wxTextEntryDialog *This = (wxTextEntryDialog *) getPtr(bp,memenv); bp += 4; int * valLen = (int *) bp; bp += 4; wxString val = wxString(bp, wxConvUTF8); bp += *valLen+((8-((0+ *valLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetValue(val); - break; + break; } -case wxPasswordEntryDialog_new: { // wxPasswordEntryDialog::wxPasswordEntryDialog +case wxPasswordEntryDialog_new: { // wxPasswordEntryDialog::wxPasswordEntryDialog wxString caption= wxGetPasswordFromUserPromptStr; wxString value= wxEmptyString; long style=(wxOK|wxCANCEL|wxCENTRE|wxWS_EX_VALIDATE_RECURSIVELY); @@ -21656,7 +21656,7 @@ case wxPasswordEntryDialog_new: { // wxPasswordEntryDialog::wxPasswordEntryDialo int * messageLen = (int *) bp; bp += 4; wxString message = wxString(bp, wxConvUTF8); bp += *messageLen+((8-((0+ *messageLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * captionLen = (int *) bp; bp += 4; caption = wxString(bp, wxConvUTF8); @@ -21676,89 +21676,89 @@ case wxPasswordEntryDialog_new: { // wxPasswordEntryDialog::wxPasswordEntryDialo pos = wxPoint(*posX,*posY); bp += 4; /* Align */ } break; - }}; + }}; wxPasswordEntryDialog * Result = new EwxPasswordEntryDialog(parent,message,caption,value,style,pos); newPtr((void *) Result, 2, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPasswordEntryDialog"); - break; + break; } -case wxFontData_new_0: { // wxFontData::wxFontData +case wxFontData_new_0: { // wxFontData::wxFontData wxFontData * Result = new EwxFontData(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxFontData"); - break; + break; } -case wxFontData_new_1: { // wxFontData::wxFontData +case wxFontData_new_1: { // wxFontData::wxFontData wxFontData *data = (wxFontData *) getPtr(bp,memenv); bp += 4; wxFontData * Result = new EwxFontData(*data); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxFontData"); - break; + break; } -case wxFontData_EnableEffects: { // wxFontData::EnableEffects +case wxFontData_EnableEffects: { // wxFontData::EnableEffects wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4; bool * flag = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->EnableEffects((bool) *flag); - break; + break; } -case wxFontData_GetAllowSymbols: { // wxFontData::GetAllowSymbols +case wxFontData_GetAllowSymbols: { // wxFontData::GetAllowSymbols wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetAllowSymbols(); rt.addBool(Result); - break; + break; } -case wxFontData_GetColour: { // wxFontData::GetColour +case wxFontData_GetColour: { // wxFontData::GetColour wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxColour * Result = &This->GetColour(); rt.add((*Result)); - break; + break; } -case wxFontData_GetChosenFont: { // wxFontData::GetChosenFont +case wxFontData_GetChosenFont: { // wxFontData::GetChosenFont wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxFont * Result = new wxFont(This->GetChosenFont()); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxFont"); - break; + break; } -case wxFontData_GetEnableEffects: { // wxFontData::GetEnableEffects +case wxFontData_GetEnableEffects: { // wxFontData::GetEnableEffects wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetEnableEffects(); rt.addBool(Result); - break; + break; } -case wxFontData_GetInitialFont: { // wxFontData::GetInitialFont +case wxFontData_GetInitialFont: { // wxFontData::GetInitialFont wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxFont * Result = new wxFont(This->GetInitialFont()); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxFont"); - break; + break; } -case wxFontData_GetShowHelp: { // wxFontData::GetShowHelp +case wxFontData_GetShowHelp: { // wxFontData::GetShowHelp wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetShowHelp(); rt.addBool(Result); - break; + break; } -case wxFontData_SetAllowSymbols: { // wxFontData::SetAllowSymbols +case wxFontData_SetAllowSymbols: { // wxFontData::SetAllowSymbols wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4; bool * flag = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetAllowSymbols((bool) *flag); - break; + break; } -case wxFontData_SetChosenFont: { // wxFontData::SetChosenFont +case wxFontData_SetChosenFont: { // wxFontData::SetChosenFont wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4; wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetChosenFont(*font); - break; + break; } -case wxFontData_SetColour: { // wxFontData::SetColour +case wxFontData_SetColour: { // wxFontData::SetColour wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4; int * colourR = (int *) bp; bp += 4; int * colourG = (int *) bp; bp += 4; @@ -21767,61 +21767,61 @@ case wxFontData_SetColour: { // wxFontData::SetColour wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA); if(!This) throw wxe_badarg(0); This->SetColour(colour); - break; + break; } -case wxFontData_SetInitialFont: { // wxFontData::SetInitialFont +case wxFontData_SetInitialFont: { // wxFontData::SetInitialFont wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4; wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetInitialFont(*font); - break; + break; } -case wxFontData_SetRange: { // wxFontData::SetRange +case wxFontData_SetRange: { // wxFontData::SetRange wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4; int * minRange = (int *) bp; bp += 4; int * maxRange = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetRange((int) *minRange,(int) *maxRange); - break; + break; } -case wxFontData_SetShowHelp: { // wxFontData::SetShowHelp +case wxFontData_SetShowHelp: { // wxFontData::SetShowHelp wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4; bool * flag = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetShowHelp((bool) *flag); - break; + break; } -case wxFontDialog_new_0: { // wxFontDialog::wxFontDialog +case wxFontDialog_new_0: { // wxFontDialog::wxFontDialog wxFontDialog * Result = new EwxFontDialog(); newPtr((void *) Result, 2, memenv); rt.addRef(getRef((void *)Result,memenv), "wxFontDialog"); - break; + break; } -case wxFontDialog_new_2: { // wxFontDialog::wxFontDialog +case wxFontDialog_new_2: { // wxFontDialog::wxFontDialog wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; wxFontData *data = (wxFontData *) getPtr(bp,memenv); bp += 4; wxFontDialog * Result = new EwxFontDialog(parent,*data); newPtr((void *) Result, 2, memenv); rt.addRef(getRef((void *)Result,memenv), "wxFontDialog"); - break; + break; } -case wxFontDialog_Create: { // wxFontDialog::Create +case wxFontDialog_Create: { // wxFontDialog::Create wxFontDialog *This = (wxFontDialog *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; wxFontData *data = (wxFontData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,*data); rt.addBool(Result); - break; + break; } -case wxFontDialog_GetFontData: { // wxFontDialog::GetFontData +case wxFontDialog_GetFontData: { // wxFontDialog::GetFontData wxFontDialog *This = (wxFontDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxFontData * Result = &This->GetFontData(); rt.addRef(getRef((void *)Result,memenv), "wxFontData"); - break; + break; } -case wxProgressDialog_new: { // wxProgressDialog::wxProgressDialog +case wxProgressDialog_new: { // wxProgressDialog::wxProgressDialog int maximum=100; wxWindow * parent=NULL; int style=wxPD_APP_MODAL|wxPD_AUTO_HIDE; @@ -21831,7 +21831,7 @@ case wxProgressDialog_new: { // wxProgressDialog::wxProgressDialog int * messageLen = (int *) bp; bp += 4; wxString message = wxString(bp, wxConvUTF8); bp += *messageLen+((8-((4+ *messageLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; maximum = (int)*(int *) bp; bp += 4; } break; @@ -21841,41 +21841,41 @@ parent = (wxWindow *) getPtr(bp,memenv); bp += 4; case 3: {bp += 4; style = (int)*(int *) bp; bp += 4; } break; - }}; + }}; wxProgressDialog * Result = new EwxProgressDialog(title,message,maximum,parent,style); newPtr((void *) Result, 2, memenv); rt.addRef(getRef((void *)Result,memenv), "wxProgressDialog"); - break; + break; } -case wxProgressDialog_Resume: { // wxProgressDialog::Resume +case wxProgressDialog_Resume: { // wxProgressDialog::Resume wxProgressDialog *This = (wxProgressDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Resume(); - break; + break; } -case wxProgressDialog_Update_2: { // wxProgressDialog::Update +case wxProgressDialog_Update_2: { // wxProgressDialog::Update wxString newmsg= wxEmptyString; wxProgressDialog *This = (wxProgressDialog *) getPtr(bp,memenv); bp += 4; int * value = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * newmsgLen = (int *) bp; bp += 4; newmsg = wxString(bp, wxConvUTF8); bp += *newmsgLen+((8-((0+ *newmsgLen) & 7)) & 7); } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Update((int) *value,newmsg); rt.addBool(Result); - break; + break; } -case wxProgressDialog_Update_0: { // wxProgressDialog::Update +case wxProgressDialog_Update_0: { // wxProgressDialog::Update wxProgressDialog *This = (wxProgressDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Update(); - break; + break; } -case wxMessageDialog_new: { // wxMessageDialog::wxMessageDialog +case wxMessageDialog_new: { // wxMessageDialog::wxMessageDialog wxString caption= wxMessageBoxCaptionStr; long style=wxOK|wxCENTRE; wxPoint pos= wxDefaultPosition; @@ -21883,7 +21883,7 @@ case wxMessageDialog_new: { // wxMessageDialog::wxMessageDialog int * messageLen = (int *) bp; bp += 4; wxString message = wxString(bp, wxConvUTF8); bp += *messageLen+((8-((0+ *messageLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * captionLen = (int *) bp; bp += 4; caption = wxString(bp, wxConvUTF8); @@ -21898,804 +21898,804 @@ case wxMessageDialog_new: { // wxMessageDialog::wxMessageDialog pos = wxPoint(*posX,*posY); bp += 4; /* Align */ } break; - }}; + }}; wxMessageDialog * Result = new EwxMessageDialog(parent,message,caption,style,pos); newPtr((void *) Result, 2, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMessageDialog"); - break; + break; } -case wxPageSetupDialog_new: { // wxPageSetupDialog::wxPageSetupDialog +case wxPageSetupDialog_new: { // wxPageSetupDialog::wxPageSetupDialog wxPageSetupDialogData * data=NULL; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; data = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxPageSetupDialog * Result = new EwxPageSetupDialog(parent,data); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPageSetupDialog"); - break; + break; } -case wxPageSetupDialog_GetPageSetupData: { // wxPageSetupDialog::GetPageSetupData +case wxPageSetupDialog_GetPageSetupData: { // wxPageSetupDialog::GetPageSetupData wxPageSetupDialog *This = (wxPageSetupDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPageSetupDialogData * Result = &This->GetPageSetupData(); rt.addRef(getRef((void *)Result,memenv), "wxPageSetupDialogData"); - break; + break; } -case wxPageSetupDialog_ShowModal: { // wxPageSetupDialog::ShowModal +case wxPageSetupDialog_ShowModal: { // wxPageSetupDialog::ShowModal wxPageSetupDialog *This = (wxPageSetupDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->ShowModal(); rt.addInt(Result); - break; + break; } -case wxPageSetupDialogData_new_0: { // wxPageSetupDialogData::wxPageSetupDialogData +case wxPageSetupDialogData_new_0: { // wxPageSetupDialogData::wxPageSetupDialogData wxPageSetupDialogData * Result = new EwxPageSetupDialogData(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPageSetupDialogData"); - break; + break; } -case wxPageSetupDialogData_new_1_0: { // wxPageSetupDialogData::wxPageSetupDialogData +case wxPageSetupDialogData_new_1_0: { // wxPageSetupDialogData::wxPageSetupDialogData wxPageSetupDialogData *dialogData = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; wxPageSetupDialogData * Result = new EwxPageSetupDialogData(*dialogData); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPageSetupDialogData"); - break; + break; } -case wxPageSetupDialogData_new_1_1: { // wxPageSetupDialogData::wxPageSetupDialogData +case wxPageSetupDialogData_new_1_1: { // wxPageSetupDialogData::wxPageSetupDialogData wxPrintData * printData = (wxPrintData *) getPtr(bp,memenv); bp += 4; wxPageSetupDialogData * Result = new EwxPageSetupDialogData(*printData); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPageSetupDialogData"); - break; + break; } -case wxPageSetupDialogData_EnableHelp: { // wxPageSetupDialogData::EnableHelp +case wxPageSetupDialogData_EnableHelp: { // wxPageSetupDialogData::EnableHelp wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; bool * flag = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->EnableHelp((bool) *flag); - break; + break; } -case wxPageSetupDialogData_EnableMargins: { // wxPageSetupDialogData::EnableMargins +case wxPageSetupDialogData_EnableMargins: { // wxPageSetupDialogData::EnableMargins wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; bool * flag = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->EnableMargins((bool) *flag); - break; + break; } -case wxPageSetupDialogData_EnableOrientation: { // wxPageSetupDialogData::EnableOrientation +case wxPageSetupDialogData_EnableOrientation: { // wxPageSetupDialogData::EnableOrientation wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; bool * flag = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->EnableOrientation((bool) *flag); - break; + break; } -case wxPageSetupDialogData_EnablePaper: { // wxPageSetupDialogData::EnablePaper +case wxPageSetupDialogData_EnablePaper: { // wxPageSetupDialogData::EnablePaper wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; bool * flag = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->EnablePaper((bool) *flag); - break; + break; } -case wxPageSetupDialogData_EnablePrinter: { // wxPageSetupDialogData::EnablePrinter +case wxPageSetupDialogData_EnablePrinter: { // wxPageSetupDialogData::EnablePrinter wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; bool * flag = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->EnablePrinter((bool) *flag); - break; + break; } -case wxPageSetupDialogData_GetDefaultMinMargins: { // wxPageSetupDialogData::GetDefaultMinMargins +case wxPageSetupDialogData_GetDefaultMinMargins: { // wxPageSetupDialogData::GetDefaultMinMargins wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetDefaultMinMargins(); rt.addBool(Result); - break; + break; } -case wxPageSetupDialogData_GetEnableMargins: { // wxPageSetupDialogData::GetEnableMargins +case wxPageSetupDialogData_GetEnableMargins: { // wxPageSetupDialogData::GetEnableMargins wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetEnableMargins(); rt.addBool(Result); - break; + break; } -case wxPageSetupDialogData_GetEnableOrientation: { // wxPageSetupDialogData::GetEnableOrientation +case wxPageSetupDialogData_GetEnableOrientation: { // wxPageSetupDialogData::GetEnableOrientation wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetEnableOrientation(); rt.addBool(Result); - break; + break; } -case wxPageSetupDialogData_GetEnablePaper: { // wxPageSetupDialogData::GetEnablePaper +case wxPageSetupDialogData_GetEnablePaper: { // wxPageSetupDialogData::GetEnablePaper wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetEnablePaper(); rt.addBool(Result); - break; + break; } -case wxPageSetupDialogData_GetEnablePrinter: { // wxPageSetupDialogData::GetEnablePrinter +case wxPageSetupDialogData_GetEnablePrinter: { // wxPageSetupDialogData::GetEnablePrinter wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetEnablePrinter(); rt.addBool(Result); - break; + break; } -case wxPageSetupDialogData_GetEnableHelp: { // wxPageSetupDialogData::GetEnableHelp +case wxPageSetupDialogData_GetEnableHelp: { // wxPageSetupDialogData::GetEnableHelp wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetEnableHelp(); rt.addBool(Result); - break; + break; } -case wxPageSetupDialogData_GetDefaultInfo: { // wxPageSetupDialogData::GetDefaultInfo +case wxPageSetupDialogData_GetDefaultInfo: { // wxPageSetupDialogData::GetDefaultInfo wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetDefaultInfo(); rt.addBool(Result); - break; + break; } -case wxPageSetupDialogData_GetMarginTopLeft: { // wxPageSetupDialogData::GetMarginTopLeft +case wxPageSetupDialogData_GetMarginTopLeft: { // wxPageSetupDialogData::GetMarginTopLeft wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPoint Result = This->GetMarginTopLeft(); rt.add(Result); - break; + break; } -case wxPageSetupDialogData_GetMarginBottomRight: { // wxPageSetupDialogData::GetMarginBottomRight +case wxPageSetupDialogData_GetMarginBottomRight: { // wxPageSetupDialogData::GetMarginBottomRight wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPoint Result = This->GetMarginBottomRight(); rt.add(Result); - break; + break; } -case wxPageSetupDialogData_GetMinMarginTopLeft: { // wxPageSetupDialogData::GetMinMarginTopLeft +case wxPageSetupDialogData_GetMinMarginTopLeft: { // wxPageSetupDialogData::GetMinMarginTopLeft wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPoint Result = This->GetMinMarginTopLeft(); rt.add(Result); - break; + break; } -case wxPageSetupDialogData_GetMinMarginBottomRight: { // wxPageSetupDialogData::GetMinMarginBottomRight +case wxPageSetupDialogData_GetMinMarginBottomRight: { // wxPageSetupDialogData::GetMinMarginBottomRight wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPoint Result = This->GetMinMarginBottomRight(); rt.add(Result); - break; + break; } -case wxPageSetupDialogData_GetPaperId: { // wxPageSetupDialogData::GetPaperId +case wxPageSetupDialogData_GetPaperId: { // wxPageSetupDialogData::GetPaperId wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPaperSize Result = This->GetPaperId(); rt.addInt(Result); - break; + break; } -case wxPageSetupDialogData_GetPaperSize: { // wxPageSetupDialogData::GetPaperSize +case wxPageSetupDialogData_GetPaperSize: { // wxPageSetupDialogData::GetPaperSize wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetPaperSize(); rt.add(Result); - break; + break; } -case wxPageSetupDialogData_GetPrintData: { // wxPageSetupDialogData::GetPrintData +case wxPageSetupDialogData_GetPrintData: { // wxPageSetupDialogData::GetPrintData wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxPrintData * Result = &This->GetPrintData(); rt.addRef(getRef((void *)Result,memenv), "wxPrintData"); - break; + break; } -case wxPageSetupDialogData_IsOk: { // wxPageSetupDialogData::IsOk +case wxPageSetupDialogData_IsOk: { // wxPageSetupDialogData::IsOk wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsOk(); rt.addBool(Result); - break; + break; } -case wxPageSetupDialogData_SetDefaultInfo: { // wxPageSetupDialogData::SetDefaultInfo +case wxPageSetupDialogData_SetDefaultInfo: { // wxPageSetupDialogData::SetDefaultInfo wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; bool * flag = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetDefaultInfo((bool) *flag); - break; + break; } -case wxPageSetupDialogData_SetDefaultMinMargins: { // wxPageSetupDialogData::SetDefaultMinMargins +case wxPageSetupDialogData_SetDefaultMinMargins: { // wxPageSetupDialogData::SetDefaultMinMargins wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; bool * flag = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetDefaultMinMargins((bool) *flag); - break; + break; } -case wxPageSetupDialogData_SetMarginTopLeft: { // wxPageSetupDialogData::SetMarginTopLeft +case wxPageSetupDialogData_SetMarginTopLeft: { // wxPageSetupDialogData::SetMarginTopLeft wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; wxPoint pt = wxPoint(*ptX,*ptY); if(!This) throw wxe_badarg(0); This->SetMarginTopLeft(pt); - break; + break; } -case wxPageSetupDialogData_SetMarginBottomRight: { // wxPageSetupDialogData::SetMarginBottomRight +case wxPageSetupDialogData_SetMarginBottomRight: { // wxPageSetupDialogData::SetMarginBottomRight wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; wxPoint pt = wxPoint(*ptX,*ptY); if(!This) throw wxe_badarg(0); This->SetMarginBottomRight(pt); - break; + break; } -case wxPageSetupDialogData_SetMinMarginTopLeft: { // wxPageSetupDialogData::SetMinMarginTopLeft +case wxPageSetupDialogData_SetMinMarginTopLeft: { // wxPageSetupDialogData::SetMinMarginTopLeft wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; wxPoint pt = wxPoint(*ptX,*ptY); if(!This) throw wxe_badarg(0); This->SetMinMarginTopLeft(pt); - break; + break; } -case wxPageSetupDialogData_SetMinMarginBottomRight: { // wxPageSetupDialogData::SetMinMarginBottomRight +case wxPageSetupDialogData_SetMinMarginBottomRight: { // wxPageSetupDialogData::SetMinMarginBottomRight wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; wxPoint pt = wxPoint(*ptX,*ptY); if(!This) throw wxe_badarg(0); This->SetMinMarginBottomRight(pt); - break; + break; } -case wxPageSetupDialogData_SetPaperId: { // wxPageSetupDialogData::SetPaperId +case wxPageSetupDialogData_SetPaperId: { // wxPageSetupDialogData::SetPaperId wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetPaperId((wxPaperSize) *id); - break; + break; } -case wxPageSetupDialogData_SetPaperSize_1_1: { // wxPageSetupDialogData::SetPaperSize +case wxPageSetupDialogData_SetPaperSize_1_1: { // wxPageSetupDialogData::SetPaperSize wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; int * szW = (int *) bp; bp += 4; int * szH = (int *) bp; bp += 4; wxSize sz = wxSize(*szW,*szH); if(!This) throw wxe_badarg(0); This->SetPaperSize(sz); - break; + break; } -case wxPageSetupDialogData_SetPaperSize_1_0: { // wxPageSetupDialogData::SetPaperSize +case wxPageSetupDialogData_SetPaperSize_1_0: { // wxPageSetupDialogData::SetPaperSize wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetPaperSize((wxPaperSize) *id); - break; + break; } -case wxPageSetupDialogData_SetPrintData: { // wxPageSetupDialogData::SetPrintData +case wxPageSetupDialogData_SetPrintData: { // wxPageSetupDialogData::SetPrintData wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; wxPrintData *printData = (wxPrintData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetPrintData(*printData); - break; + break; } -case wxPrintDialog_new_2_0: { // wxPrintDialog::wxPrintDialog +case wxPrintDialog_new_2_0: { // wxPrintDialog::wxPrintDialog wxPrintDialogData * data=NULL; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; data = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxPrintDialog * Result = new EwxPrintDialog(parent,data); newPtr((void *) Result, 2, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPrintDialog"); - break; + break; } -case wxPrintDialog_new_2_1: { // wxPrintDialog::wxPrintDialog +case wxPrintDialog_new_2_1: { // wxPrintDialog::wxPrintDialog wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; wxPrintData *data = (wxPrintData *) getPtr(bp,memenv); bp += 4; wxPrintDialog * Result = new EwxPrintDialog(parent,data); newPtr((void *) Result, 2, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPrintDialog"); - break; + break; } -case wxPrintDialog_GetPrintDialogData: { // wxPrintDialog::GetPrintDialogData +case wxPrintDialog_GetPrintDialogData: { // wxPrintDialog::GetPrintDialogData wxPrintDialog *This = (wxPrintDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPrintDialogData * Result = &This->GetPrintDialogData(); rt.addRef(getRef((void *)Result,memenv), "wxPrintDialogData"); - break; + break; } -case wxPrintDialog_GetPrintDC: { // wxPrintDialog::GetPrintDC +case wxPrintDialog_GetPrintDC: { // wxPrintDialog::GetPrintDC wxPrintDialog *This = (wxPrintDialog *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxDC * Result = (wxDC*)This->GetPrintDC(); rt.addRef(getRef((void *)Result,memenv), "wxDC"); - break; + break; } -case wxPrintDialogData_new_0: { // wxPrintDialogData::wxPrintDialogData +case wxPrintDialogData_new_0: { // wxPrintDialogData::wxPrintDialogData wxPrintDialogData * Result = new EwxPrintDialogData(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPrintDialogData"); - break; + break; } -case wxPrintDialogData_new_1_1: { // wxPrintDialogData::wxPrintDialogData +case wxPrintDialogData_new_1_1: { // wxPrintDialogData::wxPrintDialogData wxPrintDialogData * dialogData = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; wxPrintDialogData * Result = new EwxPrintDialogData(*dialogData); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPrintDialogData"); - break; + break; } -case wxPrintDialogData_new_1_0: { // wxPrintDialogData::wxPrintDialogData +case wxPrintDialogData_new_1_0: { // wxPrintDialogData::wxPrintDialogData wxPrintData *printData = (wxPrintData *) getPtr(bp,memenv); bp += 4; wxPrintDialogData * Result = new EwxPrintDialogData(*printData); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPrintDialogData"); - break; + break; } -case wxPrintDialogData_EnableHelp: { // wxPrintDialogData::EnableHelp +case wxPrintDialogData_EnableHelp: { // wxPrintDialogData::EnableHelp wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; bool * flag = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->EnableHelp((bool) *flag); - break; + break; } -case wxPrintDialogData_EnablePageNumbers: { // wxPrintDialogData::EnablePageNumbers +case wxPrintDialogData_EnablePageNumbers: { // wxPrintDialogData::EnablePageNumbers wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; bool * flag = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->EnablePageNumbers((bool) *flag); - break; + break; } -case wxPrintDialogData_EnablePrintToFile: { // wxPrintDialogData::EnablePrintToFile +case wxPrintDialogData_EnablePrintToFile: { // wxPrintDialogData::EnablePrintToFile wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; bool * flag = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->EnablePrintToFile((bool) *flag); - break; + break; } -case wxPrintDialogData_EnableSelection: { // wxPrintDialogData::EnableSelection +case wxPrintDialogData_EnableSelection: { // wxPrintDialogData::EnableSelection wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; bool * flag = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->EnableSelection((bool) *flag); - break; + break; } -case wxPrintDialogData_GetAllPages: { // wxPrintDialogData::GetAllPages +case wxPrintDialogData_GetAllPages: { // wxPrintDialogData::GetAllPages wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetAllPages(); rt.addBool(Result); - break; + break; } -case wxPrintDialogData_GetCollate: { // wxPrintDialogData::GetCollate +case wxPrintDialogData_GetCollate: { // wxPrintDialogData::GetCollate wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetCollate(); rt.addBool(Result); - break; + break; } -case wxPrintDialogData_GetFromPage: { // wxPrintDialogData::GetFromPage +case wxPrintDialogData_GetFromPage: { // wxPrintDialogData::GetFromPage wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetFromPage(); rt.addInt(Result); - break; + break; } -case wxPrintDialogData_GetMaxPage: { // wxPrintDialogData::GetMaxPage +case wxPrintDialogData_GetMaxPage: { // wxPrintDialogData::GetMaxPage wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMaxPage(); rt.addInt(Result); - break; + break; } -case wxPrintDialogData_GetMinPage: { // wxPrintDialogData::GetMinPage +case wxPrintDialogData_GetMinPage: { // wxPrintDialogData::GetMinPage wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMinPage(); rt.addInt(Result); - break; + break; } -case wxPrintDialogData_GetNoCopies: { // wxPrintDialogData::GetNoCopies +case wxPrintDialogData_GetNoCopies: { // wxPrintDialogData::GetNoCopies wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetNoCopies(); rt.addInt(Result); - break; + break; } -case wxPrintDialogData_GetPrintData: { // wxPrintDialogData::GetPrintData +case wxPrintDialogData_GetPrintData: { // wxPrintDialogData::GetPrintData wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPrintData * Result = &This->GetPrintData(); rt.addRef(getRef((void *)Result,memenv), "wxPrintData"); - break; + break; } -case wxPrintDialogData_GetPrintToFile: { // wxPrintDialogData::GetPrintToFile +case wxPrintDialogData_GetPrintToFile: { // wxPrintDialogData::GetPrintToFile wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetPrintToFile(); rt.addBool(Result); - break; + break; } -case wxPrintDialogData_GetSelection: { // wxPrintDialogData::GetSelection +case wxPrintDialogData_GetSelection: { // wxPrintDialogData::GetSelection wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetSelection(); rt.addBool(Result); - break; + break; } -case wxPrintDialogData_GetToPage: { // wxPrintDialogData::GetToPage +case wxPrintDialogData_GetToPage: { // wxPrintDialogData::GetToPage wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetToPage(); rt.addInt(Result); - break; + break; } -case wxPrintDialogData_IsOk: { // wxPrintDialogData::IsOk +case wxPrintDialogData_IsOk: { // wxPrintDialogData::IsOk wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsOk(); rt.addBool(Result); - break; + break; } -case wxPrintDialogData_SetCollate: { // wxPrintDialogData::SetCollate +case wxPrintDialogData_SetCollate: { // wxPrintDialogData::SetCollate wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; bool * flag = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetCollate((bool) *flag); - break; + break; } -case wxPrintDialogData_SetFromPage: { // wxPrintDialogData::SetFromPage +case wxPrintDialogData_SetFromPage: { // wxPrintDialogData::SetFromPage wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; int * v = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetFromPage((int) *v); - break; + break; } -case wxPrintDialogData_SetMaxPage: { // wxPrintDialogData::SetMaxPage +case wxPrintDialogData_SetMaxPage: { // wxPrintDialogData::SetMaxPage wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; int * v = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMaxPage((int) *v); - break; + break; } -case wxPrintDialogData_SetMinPage: { // wxPrintDialogData::SetMinPage +case wxPrintDialogData_SetMinPage: { // wxPrintDialogData::SetMinPage wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; int * v = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMinPage((int) *v); - break; + break; } -case wxPrintDialogData_SetNoCopies: { // wxPrintDialogData::SetNoCopies +case wxPrintDialogData_SetNoCopies: { // wxPrintDialogData::SetNoCopies wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; int * v = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetNoCopies((int) *v); - break; + break; } -case wxPrintDialogData_SetPrintData: { // wxPrintDialogData::SetPrintData +case wxPrintDialogData_SetPrintData: { // wxPrintDialogData::SetPrintData wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; wxPrintData *printData = (wxPrintData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetPrintData(*printData); - break; + break; } -case wxPrintDialogData_SetPrintToFile: { // wxPrintDialogData::SetPrintToFile +case wxPrintDialogData_SetPrintToFile: { // wxPrintDialogData::SetPrintToFile wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; bool * flag = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetPrintToFile((bool) *flag); - break; + break; } -case wxPrintDialogData_SetSelection: { // wxPrintDialogData::SetSelection +case wxPrintDialogData_SetSelection: { // wxPrintDialogData::SetSelection wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; bool * flag = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSelection((bool) *flag); - break; + break; } -case wxPrintDialogData_SetToPage: { // wxPrintDialogData::SetToPage +case wxPrintDialogData_SetToPage: { // wxPrintDialogData::SetToPage wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; int * v = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetToPage((int) *v); - break; + break; } -case wxPrintData_new_0: { // wxPrintData::wxPrintData +case wxPrintData_new_0: { // wxPrintData::wxPrintData wxPrintData * Result = new EwxPrintData(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPrintData"); - break; + break; } -case wxPrintData_new_1: { // wxPrintData::wxPrintData +case wxPrintData_new_1: { // wxPrintData::wxPrintData wxPrintData *printData = (wxPrintData *) getPtr(bp,memenv); bp += 4; wxPrintData * Result = new EwxPrintData(*printData); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPrintData"); - break; + break; } -case wxPrintData_GetCollate: { // wxPrintData::GetCollate +case wxPrintData_GetCollate: { // wxPrintData::GetCollate wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetCollate(); rt.addBool(Result); - break; + break; } -case wxPrintData_GetBin: { // wxPrintData::GetBin +case wxPrintData_GetBin: { // wxPrintData::GetBin wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetBin(); rt.addInt(Result); - break; + break; } -case wxPrintData_GetColour: { // wxPrintData::GetColour +case wxPrintData_GetColour: { // wxPrintData::GetColour wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetColour(); rt.addBool(Result); - break; + break; } -case wxPrintData_GetDuplex: { // wxPrintData::GetDuplex +case wxPrintData_GetDuplex: { // wxPrintData::GetDuplex wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetDuplex(); rt.addInt(Result); - break; + break; } -case wxPrintData_GetNoCopies: { // wxPrintData::GetNoCopies +case wxPrintData_GetNoCopies: { // wxPrintData::GetNoCopies wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetNoCopies(); rt.addInt(Result); - break; + break; } -case wxPrintData_GetOrientation: { // wxPrintData::GetOrientation +case wxPrintData_GetOrientation: { // wxPrintData::GetOrientation wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetOrientation(); rt.addInt(Result); - break; + break; } -case wxPrintData_GetPaperId: { // wxPrintData::GetPaperId +case wxPrintData_GetPaperId: { // wxPrintData::GetPaperId wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPaperSize Result = This->GetPaperId(); rt.addInt(Result); - break; + break; } -case wxPrintData_GetPrinterName: { // wxPrintData::GetPrinterName +case wxPrintData_GetPrinterName: { // wxPrintData::GetPrinterName wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxString * Result = &This->GetPrinterName(); rt.add(Result); - break; + break; } -case wxPrintData_GetQuality: { // wxPrintData::GetQuality +case wxPrintData_GetQuality: { // wxPrintData::GetQuality wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPrintQuality Result = This->GetQuality(); rt.addInt(Result); - break; + break; } -case wxPrintData_IsOk: { // wxPrintData::IsOk +case wxPrintData_IsOk: { // wxPrintData::IsOk wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsOk(); rt.addBool(Result); - break; + break; } -case wxPrintData_SetBin: { // wxPrintData::SetBin +case wxPrintData_SetBin: { // wxPrintData::SetBin wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4; wxPrintBin bin = *(wxPrintBin *) bp; bp += 4;; if(!This) throw wxe_badarg(0); This->SetBin((wxPrintBin) bin); - break; + break; } -case wxPrintData_SetCollate: { // wxPrintData::SetCollate +case wxPrintData_SetCollate: { // wxPrintData::SetCollate wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4; bool * flag = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetCollate((bool) *flag); - break; + break; } -case wxPrintData_SetColour: { // wxPrintData::SetColour +case wxPrintData_SetColour: { // wxPrintData::SetColour wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4; bool * colour = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetColour((bool) *colour); - break; + break; } -case wxPrintData_SetDuplex: { // wxPrintData::SetDuplex +case wxPrintData_SetDuplex: { // wxPrintData::SetDuplex wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4; wxDuplexMode duplex = *(wxDuplexMode *) bp; bp += 4;; if(!This) throw wxe_badarg(0); This->SetDuplex((wxDuplexMode) duplex); - break; + break; } -case wxPrintData_SetNoCopies: { // wxPrintData::SetNoCopies +case wxPrintData_SetNoCopies: { // wxPrintData::SetNoCopies wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4; int * v = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetNoCopies((int) *v); - break; + break; } -case wxPrintData_SetOrientation: { // wxPrintData::SetOrientation +case wxPrintData_SetOrientation: { // wxPrintData::SetOrientation wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4; int * orient = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetOrientation((int) *orient); - break; + break; } -case wxPrintData_SetPaperId: { // wxPrintData::SetPaperId +case wxPrintData_SetPaperId: { // wxPrintData::SetPaperId wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4; int * sizeId = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetPaperId((wxPaperSize) *sizeId); - break; + break; } -case wxPrintData_SetPrinterName: { // wxPrintData::SetPrinterName +case wxPrintData_SetPrinterName: { // wxPrintData::SetPrinterName wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetPrinterName(name); - break; + break; } -case wxPrintData_SetQuality: { // wxPrintData::SetQuality +case wxPrintData_SetQuality: { // wxPrintData::SetQuality wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4; int * quality = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetQuality((wxPrintQuality) *quality); - break; + break; } -case wxPrintPreview_new_2: { // wxPrintPreview::wxPrintPreview +case wxPrintPreview_new_2: { // wxPrintPreview::wxPrintPreview wxPrintout * printoutForPrinting=(wxPrintout *) NULL; wxPrintDialogData * data=(wxPrintDialogData *) NULL; wxPrintout *printout = (wxPrintout *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; printoutForPrinting = (wxPrintout *) getPtr(bp,memenv); bp += 4; } break; case 2: {bp += 4; data = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxPrintPreview * Result = new EwxPrintPreview(printout,printoutForPrinting,data); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPrintPreview"); - break; + break; } -case wxPrintPreview_new_3: { // wxPrintPreview::wxPrintPreview +case wxPrintPreview_new_3: { // wxPrintPreview::wxPrintPreview wxPrintout *printout = (wxPrintout *) getPtr(bp,memenv); bp += 4; wxPrintout *printoutForPrinting = (wxPrintout *) getPtr(bp,memenv); bp += 4; wxPrintData *data = (wxPrintData *) getPtr(bp,memenv); bp += 4; wxPrintPreview * Result = new EwxPrintPreview(printout,printoutForPrinting,data); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPrintPreview"); - break; + break; } -case wxPrintPreview_GetCanvas: { // wxPrintPreview::GetCanvas +case wxPrintPreview_GetCanvas: { // wxPrintPreview::GetCanvas wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPreviewCanvas * Result = (wxPreviewCanvas*)This->GetCanvas(); rt.addRef(getRef((void *)Result,memenv), "wxPreviewCanvas"); - break; + break; } -case wxPrintPreview_GetCurrentPage: { // wxPrintPreview::GetCurrentPage +case wxPrintPreview_GetCurrentPage: { // wxPrintPreview::GetCurrentPage wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetCurrentPage(); rt.addInt(Result); - break; + break; } -case wxPrintPreview_GetFrame: { // wxPrintPreview::GetFrame +case wxPrintPreview_GetFrame: { // wxPrintPreview::GetFrame wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxFrame * Result = (wxFrame*)This->GetFrame(); rt.addRef(getRef((void *)Result,memenv), "wxFrame"); - break; + break; } -case wxPrintPreview_GetMaxPage: { // wxPrintPreview::GetMaxPage +case wxPrintPreview_GetMaxPage: { // wxPrintPreview::GetMaxPage wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMaxPage(); rt.addInt(Result); - break; + break; } -case wxPrintPreview_GetMinPage: { // wxPrintPreview::GetMinPage +case wxPrintPreview_GetMinPage: { // wxPrintPreview::GetMinPage wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMinPage(); rt.addInt(Result); - break; + break; } -case wxPrintPreview_GetPrintout: { // wxPrintPreview::GetPrintout +case wxPrintPreview_GetPrintout: { // wxPrintPreview::GetPrintout wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPrintout * Result = (wxPrintout*)This->GetPrintout(); rt.addRef(getRef((void *)Result,memenv), "wxPrintout"); - break; + break; } -case wxPrintPreview_GetPrintoutForPrinting: { // wxPrintPreview::GetPrintoutForPrinting +case wxPrintPreview_GetPrintoutForPrinting: { // wxPrintPreview::GetPrintoutForPrinting wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPrintout * Result = (wxPrintout*)This->GetPrintoutForPrinting(); rt.addRef(getRef((void *)Result,memenv), "wxPrintout"); - break; + break; } -case wxPrintPreview_IsOk: { // wxPrintPreview::IsOk +case wxPrintPreview_IsOk: { // wxPrintPreview::IsOk wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsOk(); rt.addBool(Result); - break; + break; } -case wxPrintPreview_PaintPage: { // wxPrintPreview::PaintPage +case wxPrintPreview_PaintPage: { // wxPrintPreview::PaintPage wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4; wxPreviewCanvas *canvas = (wxPreviewCanvas *) getPtr(bp,memenv); bp += 4; wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->PaintPage(canvas,*dc); rt.addBool(Result); - break; + break; } -case wxPrintPreview_Print: { // wxPrintPreview::Print +case wxPrintPreview_Print: { // wxPrintPreview::Print wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4; bool * interactive = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Print((bool) *interactive); rt.addBool(Result); - break; + break; } -case wxPrintPreview_RenderPage: { // wxPrintPreview::RenderPage +case wxPrintPreview_RenderPage: { // wxPrintPreview::RenderPage wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4; int * pageNum = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->RenderPage((int) *pageNum); rt.addBool(Result); - break; + break; } -case wxPrintPreview_SetCanvas: { // wxPrintPreview::SetCanvas +case wxPrintPreview_SetCanvas: { // wxPrintPreview::SetCanvas wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4; wxPreviewCanvas *canvas = (wxPreviewCanvas *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetCanvas(canvas); - break; + break; } -case wxPrintPreview_SetCurrentPage: { // wxPrintPreview::SetCurrentPage +case wxPrintPreview_SetCurrentPage: { // wxPrintPreview::SetCurrentPage wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4; int * pageNum = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->SetCurrentPage((int) *pageNum); rt.addBool(Result); - break; + break; } -case wxPrintPreview_SetFrame: { // wxPrintPreview::SetFrame +case wxPrintPreview_SetFrame: { // wxPrintPreview::SetFrame wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4; wxFrame *frame = (wxFrame *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetFrame(frame); - break; + break; } -case wxPrintPreview_SetPrintout: { // wxPrintPreview::SetPrintout +case wxPrintPreview_SetPrintout: { // wxPrintPreview::SetPrintout wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4; wxPrintout *printout = (wxPrintout *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetPrintout(printout); - break; + break; } -case wxPrintPreview_SetZoom: { // wxPrintPreview::SetZoom +case wxPrintPreview_SetZoom: { // wxPrintPreview::SetZoom wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4; int * percent = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetZoom((int) *percent); - break; + break; } -case wxPreviewFrame_new: { // wxPreviewFrame::wxPreviewFrame +case wxPreviewFrame_new: { // wxPreviewFrame::wxPreviewFrame wxString title= wxT("Print Preview"); wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxDEFAULT_FRAME_STYLE; wxPrintPreview *preview = (wxPrintPreview *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * titleLen = (int *) bp; bp += 4; title = wxString(bp, wxConvUTF8); @@ -22716,38 +22716,38 @@ case wxPreviewFrame_new: { // wxPreviewFrame::wxPreviewFrame case 4: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxPreviewFrame * Result = new EwxPreviewFrame(preview,parent,title,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPreviewFrame"); - break; + break; } -case wxPreviewFrame_CreateControlBar: { // wxPreviewFrame::CreateControlBar +case wxPreviewFrame_CreateControlBar: { // wxPreviewFrame::CreateControlBar wxPreviewFrame *This = (wxPreviewFrame *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->CreateControlBar(); - break; + break; } -case wxPreviewFrame_CreateCanvas: { // wxPreviewFrame::CreateCanvas +case wxPreviewFrame_CreateCanvas: { // wxPreviewFrame::CreateCanvas wxPreviewFrame *This = (wxPreviewFrame *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->CreateCanvas(); - break; + break; } -case wxPreviewFrame_Initialize: { // wxPreviewFrame::Initialize +case wxPreviewFrame_Initialize: { // wxPreviewFrame::Initialize wxPreviewFrame *This = (wxPreviewFrame *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Initialize(); - break; + break; } -case wxPreviewFrame_OnCloseWindow: { // wxPreviewFrame::OnCloseWindow +case wxPreviewFrame_OnCloseWindow: { // wxPreviewFrame::OnCloseWindow wxPreviewFrame *This = (wxPreviewFrame *) getPtr(bp,memenv); bp += 4; wxCloseEvent *event = (wxCloseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->OnCloseWindow(*event); - break; + break; } -case wxPreviewControlBar_new: { // wxPreviewControlBar::wxPreviewControlBar +case wxPreviewControlBar_new: { // wxPreviewControlBar::wxPreviewControlBar wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxTAB_TRAVERSAL; @@ -22755,7 +22755,7 @@ case wxPreviewControlBar_new: { // wxPreviewControlBar::wxPreviewControlBar int * buttons = (int *) bp; bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -22771,104 +22771,104 @@ case wxPreviewControlBar_new: { // wxPreviewControlBar::wxPreviewControlBar case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxPreviewControlBar * Result = new EwxPreviewControlBar(preview,(long) *buttons,parent,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPreviewControlBar"); - break; + break; } -case wxPreviewControlBar_CreateButtons: { // wxPreviewControlBar::CreateButtons +case wxPreviewControlBar_CreateButtons: { // wxPreviewControlBar::CreateButtons wxPreviewControlBar *This = (wxPreviewControlBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->CreateButtons(); - break; + break; } -case wxPreviewControlBar_GetPrintPreview: { // wxPreviewControlBar::GetPrintPreview +case wxPreviewControlBar_GetPrintPreview: { // wxPreviewControlBar::GetPrintPreview wxPreviewControlBar *This = (wxPreviewControlBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPrintPreview * Result = (wxPrintPreview*)This->GetPrintPreview(); rt.addRef(getRef((void *)Result,memenv), "wxPrintPreview"); - break; + break; } -case wxPreviewControlBar_GetZoomControl: { // wxPreviewControlBar::GetZoomControl +case wxPreviewControlBar_GetZoomControl: { // wxPreviewControlBar::GetZoomControl wxPreviewControlBar *This = (wxPreviewControlBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetZoomControl(); rt.addInt(Result); - break; + break; } -case wxPreviewControlBar_SetZoomControl: { // wxPreviewControlBar::SetZoomControl +case wxPreviewControlBar_SetZoomControl: { // wxPreviewControlBar::SetZoomControl wxPreviewControlBar *This = (wxPreviewControlBar *) getPtr(bp,memenv); bp += 4; int * zoom = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetZoomControl((int) *zoom); - break; + break; } -case wxPrinter_new: { // wxPrinter::wxPrinter +case wxPrinter_new: { // wxPrinter::wxPrinter wxPrintDialogData * data=(wxPrintDialogData *) NULL; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; data = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxPrinter * Result = new EwxPrinter(data); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxPrinter"); - break; + break; } -case wxPrinter_CreateAbortWindow: { // wxPrinter::CreateAbortWindow +case wxPrinter_CreateAbortWindow: { // wxPrinter::CreateAbortWindow wxPrinter *This = (wxPrinter *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; wxPrintout *printout = (wxPrintout *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->CreateAbortWindow(parent,printout); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxPrinter_GetAbort: { // wxPrinter::GetAbort +case wxPrinter_GetAbort: { // wxPrinter::GetAbort wxPrinter *This = (wxPrinter *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetAbort(); rt.addBool(Result); - break; + break; } -case wxPrinter_GetLastError: { // wxPrinter::GetLastError +case wxPrinter_GetLastError: { // wxPrinter::GetLastError int Result = wxPrinter::GetLastError(); rt.addInt(Result); - break; + break; } -case wxPrinter_GetPrintDialogData: { // wxPrinter::GetPrintDialogData +case wxPrinter_GetPrintDialogData: { // wxPrinter::GetPrintDialogData wxPrinter *This = (wxPrinter *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPrintDialogData * Result = &This->GetPrintDialogData(); rt.addRef(getRef((void *)Result,memenv), "wxPrintDialogData"); - break; + break; } -case wxPrinter_Print: { // wxPrinter::Print +case wxPrinter_Print: { // wxPrinter::Print bool prompt=true; wxPrinter *This = (wxPrinter *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; wxPrintout *printout = (wxPrintout *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; prompt = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Print(parent,printout,prompt); rt.addBool(Result); - break; + break; } -case wxPrinter_PrintDialog: { // wxPrinter::PrintDialog +case wxPrinter_PrintDialog: { // wxPrinter::PrintDialog wxPrinter *This = (wxPrinter *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxDC * Result = (wxDC*)This->PrintDialog(parent); rt.addRef(getRef((void *)Result,memenv), "wxDC"); - break; + break; } -case wxPrinter_ReportError: { // wxPrinter::ReportError +case wxPrinter_ReportError: { // wxPrinter::ReportError wxPrinter *This = (wxPrinter *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; wxPrintout *printout = (wxPrintout *) getPtr(bp,memenv); bp += 4; @@ -22877,20 +22877,20 @@ case wxPrinter_ReportError: { // wxPrinter::ReportError bp += *messageLen+((8-((0+ *messageLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->ReportError(parent,printout,message); - break; + break; } -case wxPrinter_Setup: { // wxPrinter::Setup +case wxPrinter_Setup: { // wxPrinter::Setup wxPrinter *This = (wxPrinter *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Setup(parent); rt.addBool(Result); - break; + break; } -case wxXmlResource_new_1: { // wxXmlResource::wxXmlResource +case wxXmlResource_new_1: { // wxXmlResource::wxXmlResource int flags=wxXRC_USE_LOCALE; wxString domain= wxEmptyString; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; flags = (int)*(int *) bp; bp += 4; } break; @@ -22899,19 +22899,19 @@ case wxXmlResource_new_1: { // wxXmlResource::wxXmlResource domain = wxString(bp, wxConvUTF8); bp += *domainLen+((8-((0+ *domainLen) & 7)) & 7); } break; - }}; + }}; wxXmlResource * Result = new EwxXmlResource(flags,domain); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxXmlResource"); - break; + break; } -case wxXmlResource_new_2: { // wxXmlResource::wxXmlResource +case wxXmlResource_new_2: { // wxXmlResource::wxXmlResource int flags=wxXRC_USE_LOCALE; wxString domain= wxEmptyString; int * filemaskLen = (int *) bp; bp += 4; wxString filemask = wxString(bp, wxConvUTF8); bp += *filemaskLen+((8-((4+ *filemaskLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; flags = (int)*(int *) bp; bp += 4; } break; @@ -22920,13 +22920,13 @@ case wxXmlResource_new_2: { // wxXmlResource::wxXmlResource domain = wxString(bp, wxConvUTF8); bp += *domainLen+((8-((0+ *domainLen) & 7)) & 7); } break; - }}; + }}; wxXmlResource * Result = new EwxXmlResource(filemask,flags,domain); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxXmlResource"); - break; + break; } -case wxXmlResource_AttachUnknownControl: { // wxXmlResource::AttachUnknownControl +case wxXmlResource_AttachUnknownControl: { // wxXmlResource::AttachUnknownControl wxWindow * parent=NULL; wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; @@ -22934,23 +22934,23 @@ case wxXmlResource_AttachUnknownControl: { // wxXmlResource::AttachUnknownContro bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7); wxWindow *control = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; parent = (wxWindow *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->AttachUnknownControl(name,control,parent); rt.addBool(Result); - break; + break; } -case wxXmlResource_ClearHandlers: { // wxXmlResource::ClearHandlers +case wxXmlResource_ClearHandlers: { // wxXmlResource::ClearHandlers wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ClearHandlers(); - break; + break; } -case wxXmlResource_CompareVersion: { // wxXmlResource::CompareVersion +case wxXmlResource_CompareVersion: { // wxXmlResource::CompareVersion wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4; int * major = (int *) bp; bp += 4; int * minor = (int *) bp; bp += 4; @@ -22959,48 +22959,48 @@ case wxXmlResource_CompareVersion: { // wxXmlResource::CompareVersion if(!This) throw wxe_badarg(0); int Result = This->CompareVersion((int) *major,(int) *minor,(int) *release,(int) *revision); rt.addInt(Result); - break; + break; } -case wxXmlResource_Get: { // wxXmlResource::Get +case wxXmlResource_Get: { // wxXmlResource::Get wxXmlResource * Result = (wxXmlResource*)wxXmlResource::Get(); rt.addRef(getRef((void *)Result,memenv), "wxXmlResource"); - break; + break; } -case wxXmlResource_GetFlags: { // wxXmlResource::GetFlags +case wxXmlResource_GetFlags: { // wxXmlResource::GetFlags wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetFlags(); rt.addInt(Result); - break; + break; } -case wxXmlResource_GetVersion: { // wxXmlResource::GetVersion +case wxXmlResource_GetVersion: { // wxXmlResource::GetVersion wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetVersion(); rt.addInt(Result); - break; + break; } -case wxXmlResource_GetXRCID: { // wxXmlResource::GetXRCID +case wxXmlResource_GetXRCID: { // wxXmlResource::GetXRCID int value_if_not_found=wxID_NONE; int * str_idLen = (int *) bp; bp += 4; wxString str_id = wxString(bp, wxConvUTF8); bp += *str_idLen+((8-((4+ *str_idLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; value_if_not_found = (int)*(int *) bp; bp += 4; } break; - }}; + }}; int Result = wxXmlResource::GetXRCID(str_id,value_if_not_found); rt.addInt(Result); - break; + break; } -case wxXmlResource_InitAllHandlers: { // wxXmlResource::InitAllHandlers +case wxXmlResource_InitAllHandlers: { // wxXmlResource::InitAllHandlers wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->InitAllHandlers(); - break; + break; } -case wxXmlResource_Load: { // wxXmlResource::Load +case wxXmlResource_Load: { // wxXmlResource::Load wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4; int * filemaskLen = (int *) bp; bp += 4; wxString filemask = wxString(bp, wxConvUTF8); @@ -23008,9 +23008,9 @@ case wxXmlResource_Load: { // wxXmlResource::Load if(!This) throw wxe_badarg(0); bool Result = This->Load(filemask); rt.addBool(Result); - break; + break; } -case wxXmlResource_LoadBitmap: { // wxXmlResource::LoadBitmap +case wxXmlResource_LoadBitmap: { // wxXmlResource::LoadBitmap wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); @@ -23018,9 +23018,9 @@ case wxXmlResource_LoadBitmap: { // wxXmlResource::LoadBitmap if(!This) throw wxe_badarg(0); wxBitmap * Result = new wxBitmap(This->LoadBitmap(name)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxBitmap"); - break; + break; } -case wxXmlResource_LoadDialog_2: { // wxXmlResource::LoadDialog +case wxXmlResource_LoadDialog_2: { // wxXmlResource::LoadDialog wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; @@ -23029,9 +23029,9 @@ case wxXmlResource_LoadDialog_2: { // wxXmlResource::LoadDialog if(!This) throw wxe_badarg(0); wxDialog * Result = (wxDialog*)This->LoadDialog(parent,name); rt.addRef(getRef((void *)Result,memenv), "wxDialog"); - break; + break; } -case wxXmlResource_LoadDialog_3: { // wxXmlResource::LoadDialog +case wxXmlResource_LoadDialog_3: { // wxXmlResource::LoadDialog wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4; wxDialog *dlg = (wxDialog *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; @@ -23041,9 +23041,9 @@ case wxXmlResource_LoadDialog_3: { // wxXmlResource::LoadDialog if(!This) throw wxe_badarg(0); bool Result = This->LoadDialog(dlg,parent,name); rt.addBool(Result); - break; + break; } -case wxXmlResource_LoadFrame_2: { // wxXmlResource::LoadFrame +case wxXmlResource_LoadFrame_2: { // wxXmlResource::LoadFrame wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; @@ -23052,9 +23052,9 @@ case wxXmlResource_LoadFrame_2: { // wxXmlResource::LoadFrame if(!This) throw wxe_badarg(0); wxFrame * Result = (wxFrame*)This->LoadFrame(parent,name); rt.addRef(getRef((void *)Result,memenv), "wxFrame"); - break; + break; } -case wxXmlResource_LoadFrame_3: { // wxXmlResource::LoadFrame +case wxXmlResource_LoadFrame_3: { // wxXmlResource::LoadFrame wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4; wxFrame *frame = (wxFrame *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; @@ -23064,9 +23064,9 @@ case wxXmlResource_LoadFrame_3: { // wxXmlResource::LoadFrame if(!This) throw wxe_badarg(0); bool Result = This->LoadFrame(frame,parent,name); rt.addBool(Result); - break; + break; } -case wxXmlResource_LoadIcon: { // wxXmlResource::LoadIcon +case wxXmlResource_LoadIcon: { // wxXmlResource::LoadIcon wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); @@ -23074,9 +23074,9 @@ case wxXmlResource_LoadIcon: { // wxXmlResource::LoadIcon if(!This) throw wxe_badarg(0); wxIcon * Result = new wxIcon(This->LoadIcon(name)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxIcon"); - break; + break; } -case wxXmlResource_LoadMenu: { // wxXmlResource::LoadMenu +case wxXmlResource_LoadMenu: { // wxXmlResource::LoadMenu wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); @@ -23084,9 +23084,9 @@ case wxXmlResource_LoadMenu: { // wxXmlResource::LoadMenu if(!This) throw wxe_badarg(0); wxMenu * Result = (wxMenu*)This->LoadMenu(name); rt.addRef(getRef((void *)Result,memenv), "wxMenu"); - break; + break; } -case wxXmlResource_LoadMenuBar_2: { // wxXmlResource::LoadMenuBar +case wxXmlResource_LoadMenuBar_2: { // wxXmlResource::LoadMenuBar wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; @@ -23095,9 +23095,9 @@ case wxXmlResource_LoadMenuBar_2: { // wxXmlResource::LoadMenuBar if(!This) throw wxe_badarg(0); wxMenuBar * Result = (wxMenuBar*)This->LoadMenuBar(parent,name); rt.addRef(getRef((void *)Result,memenv), "wxMenuBar"); - break; + break; } -case wxXmlResource_LoadMenuBar_1: { // wxXmlResource::LoadMenuBar +case wxXmlResource_LoadMenuBar_1: { // wxXmlResource::LoadMenuBar wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); @@ -23105,9 +23105,9 @@ case wxXmlResource_LoadMenuBar_1: { // wxXmlResource::LoadMenuBar if(!This) throw wxe_badarg(0); wxMenuBar * Result = (wxMenuBar*)This->LoadMenuBar(name); rt.addRef(getRef((void *)Result,memenv), "wxMenuBar"); - break; + break; } -case wxXmlResource_LoadPanel_2: { // wxXmlResource::LoadPanel +case wxXmlResource_LoadPanel_2: { // wxXmlResource::LoadPanel wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; @@ -23116,9 +23116,9 @@ case wxXmlResource_LoadPanel_2: { // wxXmlResource::LoadPanel if(!This) throw wxe_badarg(0); wxPanel * Result = (wxPanel*)This->LoadPanel(parent,name); rt.addRef(getRef((void *)Result,memenv), "wxPanel"); - break; + break; } -case wxXmlResource_LoadPanel_3: { // wxXmlResource::LoadPanel +case wxXmlResource_LoadPanel_3: { // wxXmlResource::LoadPanel wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4; wxPanel *panel = (wxPanel *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; @@ -23128,9 +23128,9 @@ case wxXmlResource_LoadPanel_3: { // wxXmlResource::LoadPanel if(!This) throw wxe_badarg(0); bool Result = This->LoadPanel(panel,parent,name); rt.addBool(Result); - break; + break; } -case wxXmlResource_LoadToolBar: { // wxXmlResource::LoadToolBar +case wxXmlResource_LoadToolBar: { // wxXmlResource::LoadToolBar wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; @@ -23139,22 +23139,22 @@ case wxXmlResource_LoadToolBar: { // wxXmlResource::LoadToolBar if(!This) throw wxe_badarg(0); wxToolBar * Result = (wxToolBar*)This->LoadToolBar(parent,name); rt.addRef(getRef((void *)Result,memenv), "wxToolBar"); - break; + break; } -case wxXmlResource_Set: { // wxXmlResource::Set +case wxXmlResource_Set: { // wxXmlResource::Set wxXmlResource *res = (wxXmlResource *) getPtr(bp,memenv); bp += 4; wxXmlResource * Result = (wxXmlResource*)wxXmlResource::Set(res); rt.addRef(getRef((void *)Result,memenv), "wxXmlResource"); - break; + break; } -case wxXmlResource_SetFlags: { // wxXmlResource::SetFlags +case wxXmlResource_SetFlags: { // wxXmlResource::SetFlags wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4; int * flags = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetFlags((int) *flags); - break; + break; } -case wxXmlResource_Unload: { // wxXmlResource::Unload +case wxXmlResource_Unload: { // wxXmlResource::Unload wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4; int * filenameLen = (int *) bp; bp += 4; wxString filename = wxString(bp, wxConvUTF8); @@ -23162,14 +23162,14 @@ case wxXmlResource_Unload: { // wxXmlResource::Unload if(!This) throw wxe_badarg(0); bool Result = This->Unload(filename); rt.addBool(Result); - break; + break; } // XRCTRL macro implemented in erlang funcid wxXmlResource_xrcctrl -case wxHtmlEasyPrinting_new: { // wxHtmlEasyPrinting::wxHtmlEasyPrinting +case wxHtmlEasyPrinting_new: { // wxHtmlEasyPrinting::wxHtmlEasyPrinting wxString name= wxT("Printing"); wxWindow * parentWindow=NULL; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * nameLen = (int *) bp; bp += 4; name = wxString(bp, wxConvUTF8); @@ -23178,27 +23178,27 @@ case wxHtmlEasyPrinting_new: { // wxHtmlEasyPrinting::wxHtmlEasyPrinting case 2: {bp += 4; parentWindow = (wxWindow *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxHtmlEasyPrinting * Result = new EwxHtmlEasyPrinting(name,parentWindow); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxHtmlEasyPrinting"); - break; + break; } -case wxHtmlEasyPrinting_GetPrintData: { // wxHtmlEasyPrinting::GetPrintData +case wxHtmlEasyPrinting_GetPrintData: { // wxHtmlEasyPrinting::GetPrintData wxHtmlEasyPrinting *This = (wxHtmlEasyPrinting *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPrintData * Result = (wxPrintData*)This->GetPrintData(); rt.addRef(getRef((void *)Result,memenv), "wxPrintData"); - break; + break; } -case wxHtmlEasyPrinting_GetPageSetupData: { // wxHtmlEasyPrinting::GetPageSetupData +case wxHtmlEasyPrinting_GetPageSetupData: { // wxHtmlEasyPrinting::GetPageSetupData wxHtmlEasyPrinting *This = (wxHtmlEasyPrinting *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPageSetupDialogData * Result = (wxPageSetupDialogData*)This->GetPageSetupData(); rt.addRef(getRef((void *)Result,memenv), "wxPageSetupDialogData"); - break; + break; } -case wxHtmlEasyPrinting_PreviewFile: { // wxHtmlEasyPrinting::PreviewFile +case wxHtmlEasyPrinting_PreviewFile: { // wxHtmlEasyPrinting::PreviewFile wxHtmlEasyPrinting *This = (wxHtmlEasyPrinting *) getPtr(bp,memenv); bp += 4; int * htmlfileLen = (int *) bp; bp += 4; wxString htmlfile = wxString(bp, wxConvUTF8); @@ -23206,27 +23206,27 @@ case wxHtmlEasyPrinting_PreviewFile: { // wxHtmlEasyPrinting::PreviewFile if(!This) throw wxe_badarg(0); bool Result = This->PreviewFile(htmlfile); rt.addBool(Result); - break; + break; } -case wxHtmlEasyPrinting_PreviewText: { // wxHtmlEasyPrinting::PreviewText +case wxHtmlEasyPrinting_PreviewText: { // wxHtmlEasyPrinting::PreviewText wxString basepath= wxEmptyString; wxHtmlEasyPrinting *This = (wxHtmlEasyPrinting *) getPtr(bp,memenv); bp += 4; int * htmltextLen = (int *) bp; bp += 4; wxString htmltext = wxString(bp, wxConvUTF8); bp += *htmltextLen+((8-((0+ *htmltextLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * basepathLen = (int *) bp; bp += 4; basepath = wxString(bp, wxConvUTF8); bp += *basepathLen+((8-((0+ *basepathLen) & 7)) & 7); } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->PreviewText(htmltext,basepath); rt.addBool(Result); - break; + break; } -case wxHtmlEasyPrinting_PrintFile: { // wxHtmlEasyPrinting::PrintFile +case wxHtmlEasyPrinting_PrintFile: { // wxHtmlEasyPrinting::PrintFile wxHtmlEasyPrinting *This = (wxHtmlEasyPrinting *) getPtr(bp,memenv); bp += 4; int * htmlfileLen = (int *) bp; bp += 4; wxString htmlfile = wxString(bp, wxConvUTF8); @@ -23234,33 +23234,33 @@ case wxHtmlEasyPrinting_PrintFile: { // wxHtmlEasyPrinting::PrintFile if(!This) throw wxe_badarg(0); bool Result = This->PrintFile(htmlfile); rt.addBool(Result); - break; + break; } -case wxHtmlEasyPrinting_PrintText: { // wxHtmlEasyPrinting::PrintText +case wxHtmlEasyPrinting_PrintText: { // wxHtmlEasyPrinting::PrintText wxString basepath= wxEmptyString; wxHtmlEasyPrinting *This = (wxHtmlEasyPrinting *) getPtr(bp,memenv); bp += 4; int * htmltextLen = (int *) bp; bp += 4; wxString htmltext = wxString(bp, wxConvUTF8); bp += *htmltextLen+((8-((0+ *htmltextLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * basepathLen = (int *) bp; bp += 4; basepath = wxString(bp, wxConvUTF8); bp += *basepathLen+((8-((0+ *basepathLen) & 7)) & 7); } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->PrintText(htmltext,basepath); rt.addBool(Result); - break; + break; } -case wxHtmlEasyPrinting_PageSetup: { // wxHtmlEasyPrinting::PageSetup +case wxHtmlEasyPrinting_PageSetup: { // wxHtmlEasyPrinting::PageSetup wxHtmlEasyPrinting *This = (wxHtmlEasyPrinting *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->PageSetup(); - break; + break; } -case wxHtmlEasyPrinting_SetFonts: { // wxHtmlEasyPrinting::SetFonts +case wxHtmlEasyPrinting_SetFonts: { // wxHtmlEasyPrinting::SetFonts int * sizesLen = 0; int * sizes = (int *) NULL; wxHtmlEasyPrinting *This = (wxHtmlEasyPrinting *) getPtr(bp,memenv); bp += 4; @@ -23270,47 +23270,47 @@ case wxHtmlEasyPrinting_SetFonts: { // wxHtmlEasyPrinting::SetFonts int * fixed_faceLen = (int *) bp; bp += 4; wxString fixed_face = wxString(bp, wxConvUTF8); bp += *fixed_faceLen+((8-((4+ *fixed_faceLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; sizesLen = (int *) bp; bp += 4; sizes = (int *) bp; bp += *sizesLen*4+((0+ *sizesLen)%2 )*4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetFonts(normal_face,fixed_face,sizes); - break; + break; } -case wxHtmlEasyPrinting_SetHeader: { // wxHtmlEasyPrinting::SetHeader +case wxHtmlEasyPrinting_SetHeader: { // wxHtmlEasyPrinting::SetHeader int pg=wxPAGE_ALL; wxHtmlEasyPrinting *This = (wxHtmlEasyPrinting *) getPtr(bp,memenv); bp += 4; int * headerLen = (int *) bp; bp += 4; wxString header = wxString(bp, wxConvUTF8); bp += *headerLen+((8-((0+ *headerLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; pg = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetHeader(header,pg); - break; + break; } -case wxHtmlEasyPrinting_SetFooter: { // wxHtmlEasyPrinting::SetFooter +case wxHtmlEasyPrinting_SetFooter: { // wxHtmlEasyPrinting::SetFooter int pg=wxPAGE_ALL; wxHtmlEasyPrinting *This = (wxHtmlEasyPrinting *) getPtr(bp,memenv); bp += 4; int * footerLen = (int *) bp; bp += 4; wxString footer = wxString(bp, wxConvUTF8); bp += *footerLen+((8-((0+ *footerLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; pg = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetFooter(footer,pg); - break; + break; } -case wxGLCanvas_new_2: { // wxGLCanvas::wxGLCanvas +case wxGLCanvas_new_2: { // wxGLCanvas::wxGLCanvas wxWindowID id=-1; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; @@ -23321,7 +23321,7 @@ case wxGLCanvas_new_2: { // wxGLCanvas::wxGLCanvas const wxPalette * palette= &wxNullPalette; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -23352,13 +23352,13 @@ case wxGLCanvas_new_2: { // wxGLCanvas::wxGLCanvas case 7: {bp += 4; palette = (wxPalette *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxGLCanvas * Result = new EwxGLCanvas(parent,id,pos,size,style,name,attribList,*palette); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxGLCanvas"); - break; + break; } -case wxGLCanvas_new_3_1: { // wxGLCanvas::wxGLCanvas +case wxGLCanvas_new_3_1: { // wxGLCanvas::wxGLCanvas wxWindowID id=-1; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; @@ -23369,7 +23369,7 @@ case wxGLCanvas_new_3_1: { // wxGLCanvas::wxGLCanvas const wxPalette * palette= &wxNullPalette; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; wxGLContext * shared = (wxGLContext *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -23400,13 +23400,13 @@ case wxGLCanvas_new_3_1: { // wxGLCanvas::wxGLCanvas case 7: {bp += 4; palette = (wxPalette *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxGLCanvas * Result = new EwxGLCanvas(parent,shared,id,pos,size,style,name,attribList,*palette); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxGLCanvas"); - break; + break; } -case wxGLCanvas_new_3_0: { // wxGLCanvas::wxGLCanvas +case wxGLCanvas_new_3_0: { // wxGLCanvas::wxGLCanvas wxWindowID id=-1; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; @@ -23417,7 +23417,7 @@ case wxGLCanvas_new_3_0: { // wxGLCanvas::wxGLCanvas const wxPalette * palette= &wxNullPalette; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; wxGLCanvas *shared = (wxGLCanvas *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -23448,59 +23448,59 @@ case wxGLCanvas_new_3_0: { // wxGLCanvas::wxGLCanvas case 7: {bp += 4; palette = (wxPalette *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxGLCanvas * Result = new EwxGLCanvas(parent,shared,id,pos,size,style,name,attribList,*palette); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxGLCanvas"); - break; + break; } -case wxGLCanvas_GetContext: { // wxGLCanvas::GetContext +case wxGLCanvas_GetContext: { // wxGLCanvas::GetContext wxGLCanvas *This = (wxGLCanvas *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxGLContext * Result = (wxGLContext*)This->GetContext(); rt.addRef(getRef((void *)Result,memenv), "wxGLContext"); - break; + break; } -case wxGLCanvas_SetCurrent: { // wxGLCanvas::SetCurrent +case wxGLCanvas_SetCurrent: { // wxGLCanvas::SetCurrent wxGLCanvas *This = (wxGLCanvas *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetCurrent(); if(This->GetContext()) setActiveGL(Ecmd.caller,This); - break; + break; } -case wxGLCanvas_SwapBuffers: { // wxGLCanvas::SwapBuffers +case wxGLCanvas_SwapBuffers: { // wxGLCanvas::SwapBuffers wxGLCanvas *This = (wxGLCanvas *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SwapBuffers(); - break; + break; } #if wxUSE_AUI -case wxAuiManager_new: { // wxAuiManager::wxAuiManager +case wxAuiManager_new: { // wxAuiManager::wxAuiManager wxWindow * managed_wnd=NULL; int flags=wxAUI_MGR_DEFAULT; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; managed_wnd = (wxWindow *) getPtr(bp,memenv); bp += 4; } break; case 2: {bp += 4; flags = (int)*(unsigned int *) bp; bp += 4; } break; - }}; + }}; wxAuiManager * Result = new EwxAuiManager(managed_wnd,flags); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxAuiManager"); - break; + break; } -case wxAuiManager_AddPane_2_1: { // wxAuiManager::AddPane +case wxAuiManager_AddPane_2_1: { // wxAuiManager::AddPane wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; wxAuiPaneInfo *pane_info = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->AddPane(window,*pane_info); rt.addBool(Result); - break; + break; } -case wxAuiManager_AddPane_3: { // wxAuiManager::AddPane +case wxAuiManager_AddPane_3: { // wxAuiManager::AddPane wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; wxAuiPaneInfo *pane_info = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; @@ -23510,14 +23510,14 @@ case wxAuiManager_AddPane_3: { // wxAuiManager::AddPane if(!This) throw wxe_badarg(0); bool Result = This->AddPane(window,*pane_info,drop_pos); rt.addBool(Result); - break; + break; } -case wxAuiManager_AddPane_2_0: { // wxAuiManager::AddPane +case wxAuiManager_AddPane_2_0: { // wxAuiManager::AddPane int direction=wxLEFT; wxString caption= wxEmptyString; wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; direction = (int)*(int *) bp; bp += 4; } break; @@ -23526,35 +23526,35 @@ case wxAuiManager_AddPane_2_0: { // wxAuiManager::AddPane caption = wxString(bp, wxConvUTF8); bp += *captionLen+((8-((0+ *captionLen) & 7)) & 7); } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->AddPane(window,direction,caption); rt.addBool(Result); - break; + break; } -case wxAuiManager_DetachPane: { // wxAuiManager::DetachPane +case wxAuiManager_DetachPane: { // wxAuiManager::DetachPane wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->DetachPane(window); rt.addBool(Result); - break; + break; } -case wxAuiManager_GetAllPanes: { // wxAuiManager::GetAllPanes +case wxAuiManager_GetAllPanes: { // wxAuiManager::GetAllPanes wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfoArray * Result = &This->GetAllPanes(); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfoArray"); - break; + break; } -case wxAuiManager_GetArtProvider: { // wxAuiManager::GetArtProvider +case wxAuiManager_GetArtProvider: { // wxAuiManager::GetArtProvider wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxAuiDockArt * Result = (wxAuiDockArt*)This->GetArtProvider(); rt.addRef(getRef((void *)Result,memenv), "wxAuiDockArt"); - break; + break; } -case wxAuiManager_GetDockSizeConstraint: { // wxAuiManager::GetDockSizeConstraint +case wxAuiManager_GetDockSizeConstraint: { // wxAuiManager::GetDockSizeConstraint double width_pct; double height_pct; wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; @@ -23563,37 +23563,37 @@ case wxAuiManager_GetDockSizeConstraint: { // wxAuiManager::GetDockSizeConstrain rt.addFloat(width_pct); rt.addFloat(height_pct); rt.addTupleCount(2); - break; + break; } -case wxAuiManager_GetFlags: { // wxAuiManager::GetFlags +case wxAuiManager_GetFlags: { // wxAuiManager::GetFlags wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetFlags(); rt.addUint(Result); - break; + break; } -case wxAuiManager_GetManagedWindow: { // wxAuiManager::GetManagedWindow +case wxAuiManager_GetManagedWindow: { // wxAuiManager::GetManagedWindow wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetManagedWindow(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxAuiManager_GetManager: { // wxAuiManager::GetManager +case wxAuiManager_GetManager: { // wxAuiManager::GetManager wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; wxAuiManager * Result = (wxAuiManager*)wxAuiManager::GetManager(window); rt.addRef(getRef((void *)Result,memenv), "wxAuiManager"); - break; + break; } -case wxAuiManager_GetPane_1_1: { // wxAuiManager::GetPane +case wxAuiManager_GetPane_1_1: { // wxAuiManager::GetPane wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->GetPane(window); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiManager_GetPane_1_0: { // wxAuiManager::GetPane +case wxAuiManager_GetPane_1_0: { // wxAuiManager::GetPane wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; int * nameLen = (int *) bp; bp += 4; wxString name = wxString(bp, wxConvUTF8); @@ -23601,31 +23601,31 @@ case wxAuiManager_GetPane_1_0: { // wxAuiManager::GetPane if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->GetPane(name); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiManager_HideHint: { // wxAuiManager::HideHint +case wxAuiManager_HideHint: { // wxAuiManager::HideHint wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->HideHint(); - break; + break; } -case wxAuiManager_InsertPane: { // wxAuiManager::InsertPane +case wxAuiManager_InsertPane: { // wxAuiManager::InsertPane int insert_level=wxAUI_INSERT_PANE; wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; wxAuiPaneInfo *insert_location = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; insert_level = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->InsertPane(window,*insert_location,insert_level); rt.addBool(Result); - break; + break; } -case wxAuiManager_LoadPaneInfo: { // wxAuiManager::LoadPaneInfo +case wxAuiManager_LoadPaneInfo: { // wxAuiManager::LoadPaneInfo wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; int * pane_partLen = (int *) bp; bp += 4; wxString pane_part = wxString(bp, wxConvUTF8); @@ -23633,70 +23633,70 @@ case wxAuiManager_LoadPaneInfo: { // wxAuiManager::LoadPaneInfo wxAuiPaneInfo *pane = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LoadPaneInfo(pane_part,*pane); - break; + break; } -case wxAuiManager_LoadPerspective: { // wxAuiManager::LoadPerspective +case wxAuiManager_LoadPerspective: { // wxAuiManager::LoadPerspective bool update=true; wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; int * perspectiveLen = (int *) bp; bp += 4; wxString perspective = wxString(bp, wxConvUTF8); bp += *perspectiveLen+((8-((0+ *perspectiveLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; update = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->LoadPerspective(perspective,update); rt.addBool(Result); - break; + break; } -case wxAuiManager_SavePaneInfo: { // wxAuiManager::SavePaneInfo +case wxAuiManager_SavePaneInfo: { // wxAuiManager::SavePaneInfo wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; wxAuiPaneInfo *pane = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->SavePaneInfo(*pane); rt.add(Result); - break; + break; } -case wxAuiManager_SavePerspective: { // wxAuiManager::SavePerspective +case wxAuiManager_SavePerspective: { // wxAuiManager::SavePerspective wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->SavePerspective(); rt.add(Result); - break; + break; } -case wxAuiManager_SetArtProvider: { // wxAuiManager::SetArtProvider +case wxAuiManager_SetArtProvider: { // wxAuiManager::SetArtProvider wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; wxAuiDockArt *art_provider = (wxAuiDockArt *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetArtProvider(art_provider); - break; + break; } -case wxAuiManager_SetDockSizeConstraint: { // wxAuiManager::SetDockSizeConstraint +case wxAuiManager_SetDockSizeConstraint: { // wxAuiManager::SetDockSizeConstraint wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ double * width_pct = (double *) bp; bp += 8; double * height_pct = (double *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->SetDockSizeConstraint((double) *width_pct,(double) *height_pct); - break; + break; } -case wxAuiManager_SetFlags: { // wxAuiManager::SetFlags +case wxAuiManager_SetFlags: { // wxAuiManager::SetFlags wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; unsigned int * flags = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetFlags((int) *flags); - break; + break; } -case wxAuiManager_SetManagedWindow: { // wxAuiManager::SetManagedWindow +case wxAuiManager_SetManagedWindow: { // wxAuiManager::SetManagedWindow wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; wxWindow *managed_wnd = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetManagedWindow(managed_wnd); - break; + break; } -case wxAuiManager_ShowHint: { // wxAuiManager::ShowHint +case wxAuiManager_ShowHint: { // wxAuiManager::ShowHint wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; int * rectX = (int *) bp; bp += 4; int * rectY = (int *) bp; bp += 4; @@ -23705,42 +23705,42 @@ case wxAuiManager_ShowHint: { // wxAuiManager::ShowHint wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH); if(!This) throw wxe_badarg(0); This->ShowHint(rect); - break; + break; } -case wxAuiManager_UnInit: { // wxAuiManager::UnInit +case wxAuiManager_UnInit: { // wxAuiManager::UnInit wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->UnInit(); - break; + break; } -case wxAuiManager_Update: { // wxAuiManager::Update +case wxAuiManager_Update: { // wxAuiManager::Update wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Update(); - break; + break; } #endif // wxUSE_AUI #if wxUSE_AUI -case wxAuiPaneInfo_new_0: { // wxAuiPaneInfo::wxAuiPaneInfo +case wxAuiPaneInfo_new_0: { // wxAuiPaneInfo::wxAuiPaneInfo wxAuiPaneInfo * Result = new wxAuiPaneInfo(); newPtr((void *) Result, 154, memenv); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_new_1: { // wxAuiPaneInfo::wxAuiPaneInfo +case wxAuiPaneInfo_new_1: { // wxAuiPaneInfo::wxAuiPaneInfo wxAuiPaneInfo *c = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; wxAuiPaneInfo * Result = new wxAuiPaneInfo(*c); newPtr((void *) Result, 154, memenv); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_destruct: { // wxAuiPaneInfo::~wxAuiPaneInfo +case wxAuiPaneInfo_destruct: { // wxAuiPaneInfo::~wxAuiPaneInfo wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This); delete This;} - break; + break; } -case wxAuiPaneInfo_BestSize_1: { // wxAuiPaneInfo::BestSize +case wxAuiPaneInfo_BestSize_1: { // wxAuiPaneInfo::BestSize wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; @@ -23748,39 +23748,39 @@ case wxAuiPaneInfo_BestSize_1: { // wxAuiPaneInfo::BestSize if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->BestSize(size); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_BestSize_2: { // wxAuiPaneInfo::BestSize +case wxAuiPaneInfo_BestSize_2: { // wxAuiPaneInfo::BestSize wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->BestSize((int) *x,(int) *y); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_Bottom: { // wxAuiPaneInfo::Bottom +case wxAuiPaneInfo_Bottom: { // wxAuiPaneInfo::Bottom wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->Bottom(); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_BottomDockable: { // wxAuiPaneInfo::BottomDockable +case wxAuiPaneInfo_BottomDockable: { // wxAuiPaneInfo::BottomDockable bool b=true; wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; b = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->BottomDockable(b); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_Caption: { // wxAuiPaneInfo::Caption +case wxAuiPaneInfo_Caption: { // wxAuiPaneInfo::Caption wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; int * cLen = (int *) bp; bp += 4; wxString c = wxString(bp, wxConvUTF8); @@ -23788,129 +23788,129 @@ case wxAuiPaneInfo_Caption: { // wxAuiPaneInfo::Caption if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->Caption(c); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_CaptionVisible: { // wxAuiPaneInfo::CaptionVisible +case wxAuiPaneInfo_CaptionVisible: { // wxAuiPaneInfo::CaptionVisible bool visible=true; wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; visible = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->CaptionVisible(visible); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_Centre: { // wxAuiPaneInfo::Centre +case wxAuiPaneInfo_Centre: { // wxAuiPaneInfo::Centre wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->Centre(); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_CentrePane: { // wxAuiPaneInfo::CentrePane +case wxAuiPaneInfo_CentrePane: { // wxAuiPaneInfo::CentrePane wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->CentrePane(); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_CloseButton: { // wxAuiPaneInfo::CloseButton +case wxAuiPaneInfo_CloseButton: { // wxAuiPaneInfo::CloseButton bool visible=true; wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; visible = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->CloseButton(visible); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_DefaultPane: { // wxAuiPaneInfo::DefaultPane +case wxAuiPaneInfo_DefaultPane: { // wxAuiPaneInfo::DefaultPane wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->DefaultPane(); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_DestroyOnClose: { // wxAuiPaneInfo::DestroyOnClose +case wxAuiPaneInfo_DestroyOnClose: { // wxAuiPaneInfo::DestroyOnClose bool b=true; wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; b = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->DestroyOnClose(b); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_Direction: { // wxAuiPaneInfo::Direction +case wxAuiPaneInfo_Direction: { // wxAuiPaneInfo::Direction wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; int * direction = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->Direction((int) *direction); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_Dock: { // wxAuiPaneInfo::Dock +case wxAuiPaneInfo_Dock: { // wxAuiPaneInfo::Dock wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->Dock(); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_Dockable: { // wxAuiPaneInfo::Dockable +case wxAuiPaneInfo_Dockable: { // wxAuiPaneInfo::Dockable bool b=true; wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; b = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->Dockable(b); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_Fixed: { // wxAuiPaneInfo::Fixed +case wxAuiPaneInfo_Fixed: { // wxAuiPaneInfo::Fixed wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->Fixed(); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_Float: { // wxAuiPaneInfo::Float +case wxAuiPaneInfo_Float: { // wxAuiPaneInfo::Float wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->Float(); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_Floatable: { // wxAuiPaneInfo::Floatable +case wxAuiPaneInfo_Floatable: { // wxAuiPaneInfo::Floatable bool b=true; wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; b = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->Floatable(b); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_FloatingPosition_1: { // wxAuiPaneInfo::FloatingPosition +case wxAuiPaneInfo_FloatingPosition_1: { // wxAuiPaneInfo::FloatingPosition wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -23918,18 +23918,18 @@ case wxAuiPaneInfo_FloatingPosition_1: { // wxAuiPaneInfo::FloatingPosition if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->FloatingPosition(pos); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_FloatingPosition_2: { // wxAuiPaneInfo::FloatingPosition +case wxAuiPaneInfo_FloatingPosition_2: { // wxAuiPaneInfo::FloatingPosition wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->FloatingPosition((int) *x,(int) *y); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_FloatingSize_1: { // wxAuiPaneInfo::FloatingSize +case wxAuiPaneInfo_FloatingSize_1: { // wxAuiPaneInfo::FloatingSize wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; @@ -23937,237 +23937,237 @@ case wxAuiPaneInfo_FloatingSize_1: { // wxAuiPaneInfo::FloatingSize if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->FloatingSize(size); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_FloatingSize_2: { // wxAuiPaneInfo::FloatingSize +case wxAuiPaneInfo_FloatingSize_2: { // wxAuiPaneInfo::FloatingSize wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->FloatingSize((int) *x,(int) *y); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_Gripper: { // wxAuiPaneInfo::Gripper +case wxAuiPaneInfo_Gripper: { // wxAuiPaneInfo::Gripper bool visible=true; wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; visible = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->Gripper(visible); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_GripperTop: { // wxAuiPaneInfo::GripperTop +case wxAuiPaneInfo_GripperTop: { // wxAuiPaneInfo::GripperTop bool attop=true; wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; attop = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->GripperTop(attop); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_HasBorder: { // wxAuiPaneInfo::HasBorder +case wxAuiPaneInfo_HasBorder: { // wxAuiPaneInfo::HasBorder wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasBorder(); rt.addBool(Result); - break; + break; } -case wxAuiPaneInfo_HasCaption: { // wxAuiPaneInfo::HasCaption +case wxAuiPaneInfo_HasCaption: { // wxAuiPaneInfo::HasCaption wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasCaption(); rt.addBool(Result); - break; + break; } -case wxAuiPaneInfo_HasCloseButton: { // wxAuiPaneInfo::HasCloseButton +case wxAuiPaneInfo_HasCloseButton: { // wxAuiPaneInfo::HasCloseButton wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasCloseButton(); rt.addBool(Result); - break; + break; } -case wxAuiPaneInfo_HasFlag: { // wxAuiPaneInfo::HasFlag +case wxAuiPaneInfo_HasFlag: { // wxAuiPaneInfo::HasFlag wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; unsigned int * flag = (unsigned int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasFlag((int) *flag); rt.addBool(Result); - break; + break; } -case wxAuiPaneInfo_HasGripper: { // wxAuiPaneInfo::HasGripper +case wxAuiPaneInfo_HasGripper: { // wxAuiPaneInfo::HasGripper wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasGripper(); rt.addBool(Result); - break; + break; } -case wxAuiPaneInfo_HasGripperTop: { // wxAuiPaneInfo::HasGripperTop +case wxAuiPaneInfo_HasGripperTop: { // wxAuiPaneInfo::HasGripperTop wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasGripperTop(); rt.addBool(Result); - break; + break; } -case wxAuiPaneInfo_HasMaximizeButton: { // wxAuiPaneInfo::HasMaximizeButton +case wxAuiPaneInfo_HasMaximizeButton: { // wxAuiPaneInfo::HasMaximizeButton wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasMaximizeButton(); rt.addBool(Result); - break; + break; } -case wxAuiPaneInfo_HasMinimizeButton: { // wxAuiPaneInfo::HasMinimizeButton +case wxAuiPaneInfo_HasMinimizeButton: { // wxAuiPaneInfo::HasMinimizeButton wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasMinimizeButton(); rt.addBool(Result); - break; + break; } -case wxAuiPaneInfo_HasPinButton: { // wxAuiPaneInfo::HasPinButton +case wxAuiPaneInfo_HasPinButton: { // wxAuiPaneInfo::HasPinButton wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasPinButton(); rt.addBool(Result); - break; + break; } -case wxAuiPaneInfo_Hide: { // wxAuiPaneInfo::Hide +case wxAuiPaneInfo_Hide: { // wxAuiPaneInfo::Hide wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->Hide(); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_IsBottomDockable: { // wxAuiPaneInfo::IsBottomDockable +case wxAuiPaneInfo_IsBottomDockable: { // wxAuiPaneInfo::IsBottomDockable wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsBottomDockable(); rt.addBool(Result); - break; + break; } -case wxAuiPaneInfo_IsDocked: { // wxAuiPaneInfo::IsDocked +case wxAuiPaneInfo_IsDocked: { // wxAuiPaneInfo::IsDocked wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsDocked(); rt.addBool(Result); - break; + break; } -case wxAuiPaneInfo_IsFixed: { // wxAuiPaneInfo::IsFixed +case wxAuiPaneInfo_IsFixed: { // wxAuiPaneInfo::IsFixed wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsFixed(); rt.addBool(Result); - break; + break; } -case wxAuiPaneInfo_IsFloatable: { // wxAuiPaneInfo::IsFloatable +case wxAuiPaneInfo_IsFloatable: { // wxAuiPaneInfo::IsFloatable wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsFloatable(); rt.addBool(Result); - break; + break; } -case wxAuiPaneInfo_IsFloating: { // wxAuiPaneInfo::IsFloating +case wxAuiPaneInfo_IsFloating: { // wxAuiPaneInfo::IsFloating wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsFloating(); rt.addBool(Result); - break; + break; } -case wxAuiPaneInfo_IsLeftDockable: { // wxAuiPaneInfo::IsLeftDockable +case wxAuiPaneInfo_IsLeftDockable: { // wxAuiPaneInfo::IsLeftDockable wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsLeftDockable(); rt.addBool(Result); - break; + break; } -case wxAuiPaneInfo_IsMovable: { // wxAuiPaneInfo::IsMovable +case wxAuiPaneInfo_IsMovable: { // wxAuiPaneInfo::IsMovable wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsMovable(); rt.addBool(Result); - break; + break; } -case wxAuiPaneInfo_IsOk: { // wxAuiPaneInfo::IsOk +case wxAuiPaneInfo_IsOk: { // wxAuiPaneInfo::IsOk wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsOk(); rt.addBool(Result); - break; + break; } -case wxAuiPaneInfo_IsResizable: { // wxAuiPaneInfo::IsResizable +case wxAuiPaneInfo_IsResizable: { // wxAuiPaneInfo::IsResizable wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsResizable(); rt.addBool(Result); - break; + break; } -case wxAuiPaneInfo_IsRightDockable: { // wxAuiPaneInfo::IsRightDockable +case wxAuiPaneInfo_IsRightDockable: { // wxAuiPaneInfo::IsRightDockable wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsRightDockable(); rt.addBool(Result); - break; + break; } -case wxAuiPaneInfo_IsShown: { // wxAuiPaneInfo::IsShown +case wxAuiPaneInfo_IsShown: { // wxAuiPaneInfo::IsShown wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsShown(); rt.addBool(Result); - break; + break; } -case wxAuiPaneInfo_IsToolbar: { // wxAuiPaneInfo::IsToolbar +case wxAuiPaneInfo_IsToolbar: { // wxAuiPaneInfo::IsToolbar wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsToolbar(); rt.addBool(Result); - break; + break; } -case wxAuiPaneInfo_IsTopDockable: { // wxAuiPaneInfo::IsTopDockable +case wxAuiPaneInfo_IsTopDockable: { // wxAuiPaneInfo::IsTopDockable wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsTopDockable(); rt.addBool(Result); - break; + break; } -case wxAuiPaneInfo_Layer: { // wxAuiPaneInfo::Layer +case wxAuiPaneInfo_Layer: { // wxAuiPaneInfo::Layer wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; int * layer = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->Layer((int) *layer); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_Left: { // wxAuiPaneInfo::Left +case wxAuiPaneInfo_Left: { // wxAuiPaneInfo::Left wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->Left(); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_LeftDockable: { // wxAuiPaneInfo::LeftDockable +case wxAuiPaneInfo_LeftDockable: { // wxAuiPaneInfo::LeftDockable bool b=true; wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; b = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->LeftDockable(b); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_MaxSize_1: { // wxAuiPaneInfo::MaxSize +case wxAuiPaneInfo_MaxSize_1: { // wxAuiPaneInfo::MaxSize wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; @@ -24175,32 +24175,32 @@ case wxAuiPaneInfo_MaxSize_1: { // wxAuiPaneInfo::MaxSize if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->MaxSize(size); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_MaxSize_2: { // wxAuiPaneInfo::MaxSize +case wxAuiPaneInfo_MaxSize_2: { // wxAuiPaneInfo::MaxSize wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->MaxSize((int) *x,(int) *y); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_MaximizeButton: { // wxAuiPaneInfo::MaximizeButton +case wxAuiPaneInfo_MaximizeButton: { // wxAuiPaneInfo::MaximizeButton bool visible=true; wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; visible = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->MaximizeButton(visible); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_MinSize_1: { // wxAuiPaneInfo::MinSize +case wxAuiPaneInfo_MinSize_1: { // wxAuiPaneInfo::MinSize wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; @@ -24208,46 +24208,46 @@ case wxAuiPaneInfo_MinSize_1: { // wxAuiPaneInfo::MinSize if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->MinSize(size); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_MinSize_2: { // wxAuiPaneInfo::MinSize +case wxAuiPaneInfo_MinSize_2: { // wxAuiPaneInfo::MinSize wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->MinSize((int) *x,(int) *y); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_MinimizeButton: { // wxAuiPaneInfo::MinimizeButton +case wxAuiPaneInfo_MinimizeButton: { // wxAuiPaneInfo::MinimizeButton bool visible=true; wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; visible = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->MinimizeButton(visible); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_Movable: { // wxAuiPaneInfo::Movable +case wxAuiPaneInfo_Movable: { // wxAuiPaneInfo::Movable bool b=true; wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; b = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->Movable(b); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_Name: { // wxAuiPaneInfo::Name +case wxAuiPaneInfo_Name: { // wxAuiPaneInfo::Name wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; int * nLen = (int *) bp; bp += 4; wxString n = wxString(bp, wxConvUTF8); @@ -24255,169 +24255,169 @@ case wxAuiPaneInfo_Name: { // wxAuiPaneInfo::Name if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->Name(n); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_PaneBorder: { // wxAuiPaneInfo::PaneBorder +case wxAuiPaneInfo_PaneBorder: { // wxAuiPaneInfo::PaneBorder bool visible=true; wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; visible = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->PaneBorder(visible); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_PinButton: { // wxAuiPaneInfo::PinButton +case wxAuiPaneInfo_PinButton: { // wxAuiPaneInfo::PinButton bool visible=true; wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; visible = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->PinButton(visible); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_Position: { // wxAuiPaneInfo::Position +case wxAuiPaneInfo_Position: { // wxAuiPaneInfo::Position wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->Position((int) *pos); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_Resizable: { // wxAuiPaneInfo::Resizable +case wxAuiPaneInfo_Resizable: { // wxAuiPaneInfo::Resizable bool resizable=true; wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; resizable = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->Resizable(resizable); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_Right: { // wxAuiPaneInfo::Right +case wxAuiPaneInfo_Right: { // wxAuiPaneInfo::Right wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->Right(); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_RightDockable: { // wxAuiPaneInfo::RightDockable +case wxAuiPaneInfo_RightDockable: { // wxAuiPaneInfo::RightDockable bool b=true; wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; b = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->RightDockable(b); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_Row: { // wxAuiPaneInfo::Row +case wxAuiPaneInfo_Row: { // wxAuiPaneInfo::Row wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; int * row = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->Row((int) *row); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_SafeSet: { // wxAuiPaneInfo::SafeSet +case wxAuiPaneInfo_SafeSet: { // wxAuiPaneInfo::SafeSet wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; wxAuiPaneInfo *source = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SafeSet(*source); - break; + break; } -case wxAuiPaneInfo_SetFlag: { // wxAuiPaneInfo::SetFlag +case wxAuiPaneInfo_SetFlag: { // wxAuiPaneInfo::SetFlag wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; unsigned int * flag = (unsigned int *) bp; bp += 4; bool * option_state = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->SetFlag((int) *flag,(bool) *option_state); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_Show: { // wxAuiPaneInfo::Show +case wxAuiPaneInfo_Show: { // wxAuiPaneInfo::Show bool show=true; wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; show = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->Show(show); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_ToolbarPane: { // wxAuiPaneInfo::ToolbarPane +case wxAuiPaneInfo_ToolbarPane: { // wxAuiPaneInfo::ToolbarPane wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->ToolbarPane(); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_Top: { // wxAuiPaneInfo::Top +case wxAuiPaneInfo_Top: { // wxAuiPaneInfo::Top wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->Top(); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_TopDockable: { // wxAuiPaneInfo::TopDockable +case wxAuiPaneInfo_TopDockable: { // wxAuiPaneInfo::TopDockable bool b=true; wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; b = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->TopDockable(b); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiPaneInfo_Window: { // wxAuiPaneInfo::Window +case wxAuiPaneInfo_Window: { // wxAuiPaneInfo::Window wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; wxWindow *w = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = &This->Window(w); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } #endif // wxUSE_AUI #if wxUSE_AUI -case wxAuiNotebook_new_0: { // wxAuiNotebook::wxAuiNotebook +case wxAuiNotebook_new_0: { // wxAuiNotebook::wxAuiNotebook wxAuiNotebook * Result = new EwxAuiNotebook(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxAuiNotebook"); - break; + break; } -case wxAuiNotebook_new_2: { // wxAuiNotebook::wxAuiNotebook +case wxAuiNotebook_new_2: { // wxAuiNotebook::wxAuiNotebook wxWindowID id=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxAUI_NB_DEFAULT_STYLE; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -24436,13 +24436,13 @@ case wxAuiNotebook_new_2: { // wxAuiNotebook::wxAuiNotebook case 4: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxAuiNotebook * Result = new EwxAuiNotebook(parent,id,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxAuiNotebook"); - break; + break; } -case wxAuiNotebook_AddPage: { // wxAuiNotebook::AddPage +case wxAuiNotebook_AddPage: { // wxAuiNotebook::AddPage bool select=false; const wxBitmap * bitmap= &wxNullBitmap; wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4; @@ -24450,27 +24450,27 @@ case wxAuiNotebook_AddPage: { // wxAuiNotebook::AddPage int * captionLen = (int *) bp; bp += 4; wxString caption = wxString(bp, wxConvUTF8); bp += *captionLen+((8-((4+ *captionLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; select = *(bool *) bp; bp += 4; } break; case 2: {bp += 4; bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->AddPage(page,caption,select,*bitmap); rt.addBool(Result); - break; + break; } -case wxAuiNotebook_Create: { // wxAuiNotebook::Create +case wxAuiNotebook_Create: { // wxAuiNotebook::Create wxWindowID id=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -24489,74 +24489,74 @@ case wxAuiNotebook_Create: { // wxAuiNotebook::Create case 4: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,id,pos,size,style); rt.addBool(Result); - break; + break; } -case wxAuiNotebook_DeletePage: { // wxAuiNotebook::DeletePage +case wxAuiNotebook_DeletePage: { // wxAuiNotebook::DeletePage wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4; int * page = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->DeletePage((size_t) *page); rt.addBool(Result); - break; + break; } -case wxAuiNotebook_GetArtProvider: { // wxAuiNotebook::GetArtProvider +case wxAuiNotebook_GetArtProvider: { // wxAuiNotebook::GetArtProvider wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxAuiTabArt * Result = (wxAuiTabArt*)This->GetArtProvider(); rt.addRef(getRef((void *)Result,memenv), "wxAuiTabArt"); - break; + break; } -case wxAuiNotebook_GetPage: { // wxAuiNotebook::GetPage +case wxAuiNotebook_GetPage: { // wxAuiNotebook::GetPage wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4; int * page_idx = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetPage((size_t) *page_idx); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxAuiNotebook_GetPageBitmap: { // wxAuiNotebook::GetPageBitmap +case wxAuiNotebook_GetPageBitmap: { // wxAuiNotebook::GetPageBitmap wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4; int * page_idx = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxBitmap * Result = new wxBitmap(This->GetPageBitmap((size_t) *page_idx)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxBitmap"); - break; + break; } -case wxAuiNotebook_GetPageCount: { // wxAuiNotebook::GetPageCount +case wxAuiNotebook_GetPageCount: { // wxAuiNotebook::GetPageCount wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); size_t Result = This->GetPageCount(); rt.addInt(Result); - break; + break; } -case wxAuiNotebook_GetPageIndex: { // wxAuiNotebook::GetPageIndex +case wxAuiNotebook_GetPageIndex: { // wxAuiNotebook::GetPageIndex wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4; wxWindow *page_wnd = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetPageIndex(page_wnd); rt.addInt(Result); - break; + break; } -case wxAuiNotebook_GetPageText: { // wxAuiNotebook::GetPageText +case wxAuiNotebook_GetPageText: { // wxAuiNotebook::GetPageText wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4; int * page_idx = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetPageText((size_t) *page_idx); rt.add(Result); - break; + break; } -case wxAuiNotebook_GetSelection: { // wxAuiNotebook::GetSelection +case wxAuiNotebook_GetSelection: { // wxAuiNotebook::GetSelection wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetSelection(); rt.addInt(Result); - break; + break; } -case wxAuiNotebook_InsertPage: { // wxAuiNotebook::InsertPage +case wxAuiNotebook_InsertPage: { // wxAuiNotebook::InsertPage bool select=false; const wxBitmap * bitmap= &wxNullBitmap; wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4; @@ -24565,52 +24565,52 @@ case wxAuiNotebook_InsertPage: { // wxAuiNotebook::InsertPage int * captionLen = (int *) bp; bp += 4; wxString caption = wxString(bp, wxConvUTF8); bp += *captionLen+((8-((0+ *captionLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; select = *(bool *) bp; bp += 4; } break; case 2: {bp += 4; bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->InsertPage((size_t) *page_idx,page,caption,select,*bitmap); rt.addBool(Result); - break; + break; } -case wxAuiNotebook_RemovePage: { // wxAuiNotebook::RemovePage +case wxAuiNotebook_RemovePage: { // wxAuiNotebook::RemovePage wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4; int * page = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->RemovePage((size_t) *page); rt.addBool(Result); - break; + break; } -case wxAuiNotebook_SetArtProvider: { // wxAuiNotebook::SetArtProvider +case wxAuiNotebook_SetArtProvider: { // wxAuiNotebook::SetArtProvider wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4; wxAuiTabArt *art = (wxAuiTabArt *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetArtProvider(art); - break; + break; } -case wxAuiNotebook_SetFont: { // wxAuiNotebook::SetFont +case wxAuiNotebook_SetFont: { // wxAuiNotebook::SetFont wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4; wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->SetFont(*font); rt.addBool(Result); - break; + break; } -case wxAuiNotebook_SetPageBitmap: { // wxAuiNotebook::SetPageBitmap +case wxAuiNotebook_SetPageBitmap: { // wxAuiNotebook::SetPageBitmap wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4; int * page = (int *) bp; bp += 4; wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->SetPageBitmap((size_t) *page,*bitmap); rt.addBool(Result); - break; + break; } -case wxAuiNotebook_SetPageText: { // wxAuiNotebook::SetPageText +case wxAuiNotebook_SetPageText: { // wxAuiNotebook::SetPageText wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4; int * page = (int *) bp; bp += 4; int * textLen = (int *) bp; bp += 4; @@ -24619,44 +24619,44 @@ case wxAuiNotebook_SetPageText: { // wxAuiNotebook::SetPageText if(!This) throw wxe_badarg(0); bool Result = This->SetPageText((size_t) *page,text); rt.addBool(Result); - break; + break; } -case wxAuiNotebook_SetSelection: { // wxAuiNotebook::SetSelection +case wxAuiNotebook_SetSelection: { // wxAuiNotebook::SetSelection wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4; int * new_page = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); size_t Result = This->SetSelection((size_t) *new_page); rt.addInt(Result); - break; + break; } -case wxAuiNotebook_SetTabCtrlHeight: { // wxAuiNotebook::SetTabCtrlHeight +case wxAuiNotebook_SetTabCtrlHeight: { // wxAuiNotebook::SetTabCtrlHeight wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4; int * height = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetTabCtrlHeight((int) *height); - break; + break; } -case wxAuiNotebook_SetUniformBitmapSize: { // wxAuiNotebook::SetUniformBitmapSize +case wxAuiNotebook_SetUniformBitmapSize: { // wxAuiNotebook::SetUniformBitmapSize wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4; int * sizeW = (int *) bp; bp += 4; int * sizeH = (int *) bp; bp += 4; wxSize size = wxSize(*sizeW,*sizeH); if(!This) throw wxe_badarg(0); This->SetUniformBitmapSize(size); - break; + break; } #endif // wxUSE_AUI #if wxUSE_AUI #endif // wxUSE_AUI #if wxUSE_AUI #endif // wxUSE_AUI -case wxMDIParentFrame_new_0: { // wxMDIParentFrame::wxMDIParentFrame +case wxMDIParentFrame_new_0: { // wxMDIParentFrame::wxMDIParentFrame wxMDIParentFrame * Result = new EwxMDIParentFrame(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMDIParentFrame"); - break; + break; } -case wxMDIParentFrame_new_4: { // wxMDIParentFrame::wxMDIParentFrame +case wxMDIParentFrame_new_4: { // wxMDIParentFrame::wxMDIParentFrame wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL; @@ -24665,7 +24665,7 @@ case wxMDIParentFrame_new_4: { // wxMDIParentFrame::wxMDIParentFrame int * titleLen = (int *) bp; bp += 4; wxString title = wxString(bp, wxConvUTF8); bp += *titleLen+((8-((4+ *titleLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -24681,37 +24681,37 @@ case wxMDIParentFrame_new_4: { // wxMDIParentFrame::wxMDIParentFrame case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxMDIParentFrame * Result = new EwxMDIParentFrame(parent,(wxWindowID) *id,title,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMDIParentFrame"); - break; + break; } -case wxMDIParentFrame_ActivateNext: { // wxMDIParentFrame::ActivateNext +case wxMDIParentFrame_ActivateNext: { // wxMDIParentFrame::ActivateNext wxMDIParentFrame *This = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ActivateNext(); - break; + break; } -case wxMDIParentFrame_ActivatePrevious: { // wxMDIParentFrame::ActivatePrevious +case wxMDIParentFrame_ActivatePrevious: { // wxMDIParentFrame::ActivatePrevious wxMDIParentFrame *This = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ActivatePrevious(); - break; + break; } -case wxMDIParentFrame_ArrangeIcons: { // wxMDIParentFrame::ArrangeIcons +case wxMDIParentFrame_ArrangeIcons: { // wxMDIParentFrame::ArrangeIcons wxMDIParentFrame *This = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ArrangeIcons(); - break; + break; } -case wxMDIParentFrame_Cascade: { // wxMDIParentFrame::Cascade +case wxMDIParentFrame_Cascade: { // wxMDIParentFrame::Cascade wxMDIParentFrame *This = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Cascade(); - break; + break; } -case wxMDIParentFrame_Create: { // wxMDIParentFrame::Create +case wxMDIParentFrame_Create: { // wxMDIParentFrame::Create wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL; @@ -24721,7 +24721,7 @@ case wxMDIParentFrame_Create: { // wxMDIParentFrame::Create int * titleLen = (int *) bp; bp += 4; wxString title = wxString(bp, wxConvUTF8); bp += *titleLen+((8-((0+ *titleLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -24737,46 +24737,46 @@ case wxMDIParentFrame_Create: { // wxMDIParentFrame::Create case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,title,pos,size,style); rt.addBool(Result); - break; + break; } -case wxMDIParentFrame_GetActiveChild: { // wxMDIParentFrame::GetActiveChild +case wxMDIParentFrame_GetActiveChild: { // wxMDIParentFrame::GetActiveChild wxMDIParentFrame *This = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxMDIChildFrame * Result = (wxMDIChildFrame*)This->GetActiveChild(); rt.addRef(getRef((void *)Result,memenv), "wxMDIChildFrame"); - break; + break; } -case wxMDIParentFrame_GetClientWindow: { // wxMDIParentFrame::GetClientWindow +case wxMDIParentFrame_GetClientWindow: { // wxMDIParentFrame::GetClientWindow wxMDIParentFrame *This = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxMDIClientWindow * Result = (wxMDIClientWindow*)This->GetClientWindow(); rt.addRef(getRef((void *)Result,memenv), "wxMDIClientWindow"); - break; + break; } -case wxMDIParentFrame_Tile: { // wxMDIParentFrame::Tile +case wxMDIParentFrame_Tile: { // wxMDIParentFrame::Tile wxOrientation orient=wxHORIZONTAL; wxMDIParentFrame *This = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; orient = *(wxOrientation *) bp; bp += 4;; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Tile((wxOrientation) orient); - break; + break; } -case wxMDIChildFrame_new_0: { // wxMDIChildFrame::wxMDIChildFrame +case wxMDIChildFrame_new_0: { // wxMDIChildFrame::wxMDIChildFrame wxMDIChildFrame * Result = new EwxMDIChildFrame(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMDIChildFrame"); - break; + break; } -case wxMDIChildFrame_new_4: { // wxMDIChildFrame::wxMDIChildFrame +case wxMDIChildFrame_new_4: { // wxMDIChildFrame::wxMDIChildFrame wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxDEFAULT_FRAME_STYLE; @@ -24785,7 +24785,7 @@ case wxMDIChildFrame_new_4: { // wxMDIChildFrame::wxMDIChildFrame int * titleLen = (int *) bp; bp += 4; wxString title = wxString(bp, wxConvUTF8); bp += *titleLen+((8-((4+ *titleLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -24801,19 +24801,19 @@ case wxMDIChildFrame_new_4: { // wxMDIChildFrame::wxMDIChildFrame case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxMDIChildFrame * Result = new EwxMDIChildFrame(parent,(wxWindowID) *id,title,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMDIChildFrame"); - break; + break; } -case wxMDIChildFrame_Activate: { // wxMDIChildFrame::Activate +case wxMDIChildFrame_Activate: { // wxMDIChildFrame::Activate wxMDIChildFrame *This = (wxMDIChildFrame *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Activate(); - break; + break; } -case wxMDIChildFrame_Create: { // wxMDIChildFrame::Create +case wxMDIChildFrame_Create: { // wxMDIChildFrame::Create wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxDEFAULT_FRAME_STYLE; @@ -24823,7 +24823,7 @@ case wxMDIChildFrame_Create: { // wxMDIChildFrame::Create int * titleLen = (int *) bp; bp += 4; wxString title = wxString(bp, wxConvUTF8); bp += *titleLen+((8-((0+ *titleLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; @@ -24839,90 +24839,90 @@ case wxMDIChildFrame_Create: { // wxMDIChildFrame::Create case 3: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,(wxWindowID) *id,title,pos,size,style); rt.addBool(Result); - break; + break; } -case wxMDIChildFrame_Maximize: { // wxMDIChildFrame::Maximize +case wxMDIChildFrame_Maximize: { // wxMDIChildFrame::Maximize bool maximize=true; wxMDIChildFrame *This = (wxMDIChildFrame *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; maximize = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Maximize(maximize); - break; + break; } -case wxMDIChildFrame_Restore: { // wxMDIChildFrame::Restore +case wxMDIChildFrame_Restore: { // wxMDIChildFrame::Restore wxMDIChildFrame *This = (wxMDIChildFrame *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Restore(); - break; + break; } -case wxMDIClientWindow_new_0: { // wxMDIClientWindow::wxMDIClientWindow +case wxMDIClientWindow_new_0: { // wxMDIClientWindow::wxMDIClientWindow wxMDIClientWindow * Result = new EwxMDIClientWindow(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMDIClientWindow"); - break; + break; } -case wxMDIClientWindow_new_2: { // wxMDIClientWindow::wxMDIClientWindow +case wxMDIClientWindow_new_2: { // wxMDIClientWindow::wxMDIClientWindow long style=0; wxMDIParentFrame *parent = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxMDIClientWindow * Result = new EwxMDIClientWindow(parent,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxMDIClientWindow"); - break; + break; } -case wxMDIClientWindow_CreateClient: { // wxMDIClientWindow::CreateClient +case wxMDIClientWindow_CreateClient: { // wxMDIClientWindow::CreateClient long style=wxVSCROLL|wxHSCROLL; wxMDIClientWindow *This = (wxMDIClientWindow *) getPtr(bp,memenv); bp += 4; wxMDIParentFrame *parent = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->CreateClient(parent,style); rt.addBool(Result); - break; + break; } -case wxLayoutAlgorithm_new: { // wxLayoutAlgorithm::wxLayoutAlgorithm +case wxLayoutAlgorithm_new: { // wxLayoutAlgorithm::wxLayoutAlgorithm wxLayoutAlgorithm * Result = new EwxLayoutAlgorithm(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxLayoutAlgorithm"); - break; + break; } -case wxLayoutAlgorithm_LayoutFrame: { // wxLayoutAlgorithm::LayoutFrame +case wxLayoutAlgorithm_LayoutFrame: { // wxLayoutAlgorithm::LayoutFrame wxWindow * mainWindow=(wxWindow *) NULL; wxLayoutAlgorithm *This = (wxLayoutAlgorithm *) getPtr(bp,memenv); bp += 4; wxFrame *frame = (wxFrame *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; mainWindow = (wxWindow *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->LayoutFrame(frame,mainWindow); rt.addBool(Result); - break; + break; } -case wxLayoutAlgorithm_LayoutMDIFrame: { // wxLayoutAlgorithm::LayoutMDIFrame +case wxLayoutAlgorithm_LayoutMDIFrame: { // wxLayoutAlgorithm::LayoutMDIFrame wxRect *rect=(wxRect *) NULL; wxRect rectTmp; wxLayoutAlgorithm *This = (wxLayoutAlgorithm *) getPtr(bp,memenv); bp += 4; wxMDIParentFrame *frame = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * rectX = (int *) bp; bp += 4; int * rectY = (int *) bp; bp += 4; @@ -24931,1501 +24931,1501 @@ case wxLayoutAlgorithm_LayoutMDIFrame: { // wxLayoutAlgorithm::LayoutMDIFrame rectTmp = wxRect(*rectX,*rectY,*rectW,*rectH); rect = & rectTmp; bp += 4; /* Align */ } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->LayoutMDIFrame(frame,rect); rt.addBool(Result); - break; + break; } -case wxLayoutAlgorithm_LayoutWindow: { // wxLayoutAlgorithm::LayoutWindow +case wxLayoutAlgorithm_LayoutWindow: { // wxLayoutAlgorithm::LayoutWindow wxWindow * mainWindow=(wxWindow *) NULL; wxLayoutAlgorithm *This = (wxLayoutAlgorithm *) getPtr(bp,memenv); bp += 4; wxWindow *frame = (wxWindow *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; mainWindow = (wxWindow *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->LayoutWindow(frame,mainWindow); rt.addBool(Result); - break; + break; } -case wxEvent_GetId: { // wxEvent::GetId +case wxEvent_GetId: { // wxEvent::GetId wxEvent *This = (wxEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetId(); rt.addInt(Result); - break; + break; } -case wxEvent_GetSkipped: { // wxEvent::GetSkipped +case wxEvent_GetSkipped: { // wxEvent::GetSkipped wxEvent *This = (wxEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetSkipped(); rt.addBool(Result); - break; + break; } -case wxEvent_GetTimestamp: { // wxEvent::GetTimestamp +case wxEvent_GetTimestamp: { // wxEvent::GetTimestamp wxEvent *This = (wxEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetTimestamp(); rt.addUint(Result); - break; + break; } -case wxEvent_IsCommandEvent: { // wxEvent::IsCommandEvent +case wxEvent_IsCommandEvent: { // wxEvent::IsCommandEvent wxEvent *This = (wxEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsCommandEvent(); rt.addBool(Result); - break; + break; } -case wxEvent_ResumePropagation: { // wxEvent::ResumePropagation +case wxEvent_ResumePropagation: { // wxEvent::ResumePropagation wxEvent *This = (wxEvent *) getPtr(bp,memenv); bp += 4; int * propagationLevel = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->ResumePropagation((int) *propagationLevel); - break; + break; } -case wxEvent_ShouldPropagate: { // wxEvent::ShouldPropagate +case wxEvent_ShouldPropagate: { // wxEvent::ShouldPropagate wxEvent *This = (wxEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->ShouldPropagate(); rt.addBool(Result); - break; + break; } -case wxEvent_Skip: { // wxEvent::Skip +case wxEvent_Skip: { // wxEvent::Skip bool skip=true; wxEvent *This = (wxEvent *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; skip = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Skip(skip); - break; + break; } -case wxEvent_StopPropagation: { // wxEvent::StopPropagation +case wxEvent_StopPropagation: { // wxEvent::StopPropagation wxEvent *This = (wxEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->StopPropagation(); rt.addInt(Result); - break; + break; } -case wxCommandEvent_getClientData: { // wxCommandEvent::GetClientObject +case wxCommandEvent_getClientData: { // wxCommandEvent::GetClientObject wxCommandEvent *This = (wxCommandEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxeErlTerm * Result = (wxeErlTerm*)This->GetClientObject(); rt.addExt2Term(Result); - break; + break; } -case wxCommandEvent_GetExtraLong: { // wxCommandEvent::GetExtraLong +case wxCommandEvent_GetExtraLong: { // wxCommandEvent::GetExtraLong wxCommandEvent *This = (wxCommandEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetExtraLong(); rt.addInt(Result); - break; + break; } -case wxCommandEvent_GetInt: { // wxCommandEvent::GetInt +case wxCommandEvent_GetInt: { // wxCommandEvent::GetInt wxCommandEvent *This = (wxCommandEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetInt(); rt.addInt(Result); - break; + break; } -case wxCommandEvent_GetSelection: { // wxCommandEvent::GetSelection +case wxCommandEvent_GetSelection: { // wxCommandEvent::GetSelection wxCommandEvent *This = (wxCommandEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetSelection(); rt.addInt(Result); - break; + break; } -case wxCommandEvent_GetString: { // wxCommandEvent::GetString +case wxCommandEvent_GetString: { // wxCommandEvent::GetString wxCommandEvent *This = (wxCommandEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetString(); rt.add(Result); - break; + break; } -case wxCommandEvent_IsChecked: { // wxCommandEvent::IsChecked +case wxCommandEvent_IsChecked: { // wxCommandEvent::IsChecked wxCommandEvent *This = (wxCommandEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsChecked(); rt.addBool(Result); - break; + break; } -case wxCommandEvent_IsSelection: { // wxCommandEvent::IsSelection +case wxCommandEvent_IsSelection: { // wxCommandEvent::IsSelection wxCommandEvent *This = (wxCommandEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsSelection(); rt.addBool(Result); - break; + break; } -case wxCommandEvent_SetInt: { // wxCommandEvent::SetInt +case wxCommandEvent_SetInt: { // wxCommandEvent::SetInt wxCommandEvent *This = (wxCommandEvent *) getPtr(bp,memenv); bp += 4; int * i = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetInt((int) *i); - break; + break; } -case wxCommandEvent_SetString: { // wxCommandEvent::SetString +case wxCommandEvent_SetString: { // wxCommandEvent::SetString wxCommandEvent *This = (wxCommandEvent *) getPtr(bp,memenv); bp += 4; int * sLen = (int *) bp; bp += 4; wxString s = wxString(bp, wxConvUTF8); bp += *sLen+((8-((0+ *sLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetString(s); - break; + break; } -case wxScrollEvent_GetOrientation: { // wxScrollEvent::GetOrientation +case wxScrollEvent_GetOrientation: { // wxScrollEvent::GetOrientation wxScrollEvent *This = (wxScrollEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetOrientation(); rt.addInt(Result); - break; + break; } -case wxScrollEvent_GetPosition: { // wxScrollEvent::GetPosition +case wxScrollEvent_GetPosition: { // wxScrollEvent::GetPosition wxScrollEvent *This = (wxScrollEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetPosition(); rt.addInt(Result); - break; + break; } -case wxScrollWinEvent_GetOrientation: { // wxScrollWinEvent::GetOrientation +case wxScrollWinEvent_GetOrientation: { // wxScrollWinEvent::GetOrientation wxScrollWinEvent *This = (wxScrollWinEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetOrientation(); rt.addInt(Result); - break; + break; } -case wxScrollWinEvent_GetPosition: { // wxScrollWinEvent::GetPosition +case wxScrollWinEvent_GetPosition: { // wxScrollWinEvent::GetPosition wxScrollWinEvent *This = (wxScrollWinEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetPosition(); rt.addInt(Result); - break; + break; } -case wxMouseEvent_AltDown: { // wxMouseEvent::AltDown +case wxMouseEvent_AltDown: { // wxMouseEvent::AltDown wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->AltDown(); rt.addBool(Result); - break; + break; } -case wxMouseEvent_Button: { // wxMouseEvent::Button +case wxMouseEvent_Button: { // wxMouseEvent::Button wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; int * but = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Button((int) *but); rt.addBool(Result); - break; + break; } -case wxMouseEvent_ButtonDClick: { // wxMouseEvent::ButtonDClick +case wxMouseEvent_ButtonDClick: { // wxMouseEvent::ButtonDClick int but=wxMOUSE_BTN_ANY; wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; but = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->ButtonDClick(but); rt.addBool(Result); - break; + break; } -case wxMouseEvent_ButtonDown: { // wxMouseEvent::ButtonDown +case wxMouseEvent_ButtonDown: { // wxMouseEvent::ButtonDown int but=wxMOUSE_BTN_ANY; wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; but = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->ButtonDown(but); rt.addBool(Result); - break; + break; } -case wxMouseEvent_ButtonUp: { // wxMouseEvent::ButtonUp +case wxMouseEvent_ButtonUp: { // wxMouseEvent::ButtonUp int but=wxMOUSE_BTN_ANY; wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; but = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->ButtonUp(but); rt.addBool(Result); - break; + break; } -case wxMouseEvent_CmdDown: { // wxMouseEvent::CmdDown +case wxMouseEvent_CmdDown: { // wxMouseEvent::CmdDown wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CmdDown(); rt.addBool(Result); - break; + break; } -case wxMouseEvent_ControlDown: { // wxMouseEvent::ControlDown +case wxMouseEvent_ControlDown: { // wxMouseEvent::ControlDown wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->ControlDown(); rt.addBool(Result); - break; + break; } -case wxMouseEvent_Dragging: { // wxMouseEvent::Dragging +case wxMouseEvent_Dragging: { // wxMouseEvent::Dragging wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Dragging(); rt.addBool(Result); - break; + break; } -case wxMouseEvent_Entering: { // wxMouseEvent::Entering +case wxMouseEvent_Entering: { // wxMouseEvent::Entering wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Entering(); rt.addBool(Result); - break; + break; } -case wxMouseEvent_GetButton: { // wxMouseEvent::GetButton +case wxMouseEvent_GetButton: { // wxMouseEvent::GetButton wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetButton(); rt.addInt(Result); - break; + break; } -case wxMouseEvent_GetPosition: { // wxMouseEvent::GetPosition +case wxMouseEvent_GetPosition: { // wxMouseEvent::GetPosition wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPoint Result = This->GetPosition(); rt.add(Result); - break; + break; } -case wxMouseEvent_GetLogicalPosition: { // wxMouseEvent::GetLogicalPosition +case wxMouseEvent_GetLogicalPosition: { // wxMouseEvent::GetLogicalPosition wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPoint Result = This->GetLogicalPosition(*dc); rt.add(Result); - break; + break; } -case wxMouseEvent_GetLinesPerAction: { // wxMouseEvent::GetLinesPerAction +case wxMouseEvent_GetLinesPerAction: { // wxMouseEvent::GetLinesPerAction wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetLinesPerAction(); rt.addInt(Result); - break; + break; } -case wxMouseEvent_GetWheelRotation: { // wxMouseEvent::GetWheelRotation +case wxMouseEvent_GetWheelRotation: { // wxMouseEvent::GetWheelRotation wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetWheelRotation(); rt.addInt(Result); - break; + break; } -case wxMouseEvent_GetWheelDelta: { // wxMouseEvent::GetWheelDelta +case wxMouseEvent_GetWheelDelta: { // wxMouseEvent::GetWheelDelta wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetWheelDelta(); rt.addInt(Result); - break; + break; } -case wxMouseEvent_GetX: { // wxMouseEvent::GetX +case wxMouseEvent_GetX: { // wxMouseEvent::GetX wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxCoord Result = This->GetX(); rt.addInt(Result); - break; + break; } -case wxMouseEvent_GetY: { // wxMouseEvent::GetY +case wxMouseEvent_GetY: { // wxMouseEvent::GetY wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxCoord Result = This->GetY(); rt.addInt(Result); - break; + break; } -case wxMouseEvent_IsButton: { // wxMouseEvent::IsButton +case wxMouseEvent_IsButton: { // wxMouseEvent::IsButton wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsButton(); rt.addBool(Result); - break; + break; } -case wxMouseEvent_IsPageScroll: { // wxMouseEvent::IsPageScroll +case wxMouseEvent_IsPageScroll: { // wxMouseEvent::IsPageScroll wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsPageScroll(); rt.addBool(Result); - break; + break; } -case wxMouseEvent_Leaving: { // wxMouseEvent::Leaving +case wxMouseEvent_Leaving: { // wxMouseEvent::Leaving wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Leaving(); rt.addBool(Result); - break; + break; } -case wxMouseEvent_LeftDClick: { // wxMouseEvent::LeftDClick +case wxMouseEvent_LeftDClick: { // wxMouseEvent::LeftDClick wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->LeftDClick(); rt.addBool(Result); - break; + break; } -case wxMouseEvent_LeftDown: { // wxMouseEvent::LeftDown +case wxMouseEvent_LeftDown: { // wxMouseEvent::LeftDown wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->LeftDown(); rt.addBool(Result); - break; + break; } -case wxMouseEvent_LeftIsDown: { // wxMouseEvent::LeftIsDown +case wxMouseEvent_LeftIsDown: { // wxMouseEvent::LeftIsDown wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->LeftIsDown(); rt.addBool(Result); - break; + break; } -case wxMouseEvent_LeftUp: { // wxMouseEvent::LeftUp +case wxMouseEvent_LeftUp: { // wxMouseEvent::LeftUp wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->LeftUp(); rt.addBool(Result); - break; + break; } -case wxMouseEvent_MetaDown: { // wxMouseEvent::MetaDown +case wxMouseEvent_MetaDown: { // wxMouseEvent::MetaDown wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->MetaDown(); rt.addBool(Result); - break; + break; } -case wxMouseEvent_MiddleDClick: { // wxMouseEvent::MiddleDClick +case wxMouseEvent_MiddleDClick: { // wxMouseEvent::MiddleDClick wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->MiddleDClick(); rt.addBool(Result); - break; + break; } -case wxMouseEvent_MiddleDown: { // wxMouseEvent::MiddleDown +case wxMouseEvent_MiddleDown: { // wxMouseEvent::MiddleDown wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->MiddleDown(); rt.addBool(Result); - break; + break; } -case wxMouseEvent_MiddleIsDown: { // wxMouseEvent::MiddleIsDown +case wxMouseEvent_MiddleIsDown: { // wxMouseEvent::MiddleIsDown wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->MiddleIsDown(); rt.addBool(Result); - break; + break; } -case wxMouseEvent_MiddleUp: { // wxMouseEvent::MiddleUp +case wxMouseEvent_MiddleUp: { // wxMouseEvent::MiddleUp wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->MiddleUp(); rt.addBool(Result); - break; + break; } -case wxMouseEvent_Moving: { // wxMouseEvent::Moving +case wxMouseEvent_Moving: { // wxMouseEvent::Moving wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Moving(); rt.addBool(Result); - break; + break; } -case wxMouseEvent_RightDClick: { // wxMouseEvent::RightDClick +case wxMouseEvent_RightDClick: { // wxMouseEvent::RightDClick wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->RightDClick(); rt.addBool(Result); - break; + break; } -case wxMouseEvent_RightDown: { // wxMouseEvent::RightDown +case wxMouseEvent_RightDown: { // wxMouseEvent::RightDown wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->RightDown(); rt.addBool(Result); - break; + break; } -case wxMouseEvent_RightIsDown: { // wxMouseEvent::RightIsDown +case wxMouseEvent_RightIsDown: { // wxMouseEvent::RightIsDown wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->RightIsDown(); rt.addBool(Result); - break; + break; } -case wxMouseEvent_RightUp: { // wxMouseEvent::RightUp +case wxMouseEvent_RightUp: { // wxMouseEvent::RightUp wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->RightUp(); rt.addBool(Result); - break; + break; } -case wxMouseEvent_ShiftDown: { // wxMouseEvent::ShiftDown +case wxMouseEvent_ShiftDown: { // wxMouseEvent::ShiftDown wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->ShiftDown(); rt.addBool(Result); - break; + break; } -case wxSetCursorEvent_GetCursor: { // wxSetCursorEvent::GetCursor +case wxSetCursorEvent_GetCursor: { // wxSetCursorEvent::GetCursor wxSetCursorEvent *This = (wxSetCursorEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxCursor * Result = &This->GetCursor(); rt.addRef(getRef((void *)Result,memenv), "wxCursor"); - break; + break; } -case wxSetCursorEvent_GetX: { // wxSetCursorEvent::GetX +case wxSetCursorEvent_GetX: { // wxSetCursorEvent::GetX wxSetCursorEvent *This = (wxSetCursorEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxCoord Result = This->GetX(); rt.addInt(Result); - break; + break; } -case wxSetCursorEvent_GetY: { // wxSetCursorEvent::GetY +case wxSetCursorEvent_GetY: { // wxSetCursorEvent::GetY wxSetCursorEvent *This = (wxSetCursorEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxCoord Result = This->GetY(); rt.addInt(Result); - break; + break; } -case wxSetCursorEvent_HasCursor: { // wxSetCursorEvent::HasCursor +case wxSetCursorEvent_HasCursor: { // wxSetCursorEvent::HasCursor wxSetCursorEvent *This = (wxSetCursorEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasCursor(); rt.addBool(Result); - break; + break; } -case wxSetCursorEvent_SetCursor: { // wxSetCursorEvent::SetCursor +case wxSetCursorEvent_SetCursor: { // wxSetCursorEvent::SetCursor wxSetCursorEvent *This = (wxSetCursorEvent *) getPtr(bp,memenv); bp += 4; wxCursor *cursor = (wxCursor *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetCursor(*cursor); - break; + break; } -case wxKeyEvent_AltDown: { // wxKeyEvent::AltDown +case wxKeyEvent_AltDown: { // wxKeyEvent::AltDown wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->AltDown(); rt.addBool(Result); - break; + break; } -case wxKeyEvent_CmdDown: { // wxKeyEvent::CmdDown +case wxKeyEvent_CmdDown: { // wxKeyEvent::CmdDown wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CmdDown(); rt.addBool(Result); - break; + break; } -case wxKeyEvent_ControlDown: { // wxKeyEvent::ControlDown +case wxKeyEvent_ControlDown: { // wxKeyEvent::ControlDown wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->ControlDown(); rt.addBool(Result); - break; + break; } -case wxKeyEvent_GetKeyCode: { // wxKeyEvent::GetKeyCode +case wxKeyEvent_GetKeyCode: { // wxKeyEvent::GetKeyCode wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetKeyCode(); rt.addInt(Result); - break; + break; } -case wxKeyEvent_GetModifiers: { // wxKeyEvent::GetModifiers +case wxKeyEvent_GetModifiers: { // wxKeyEvent::GetModifiers wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetModifiers(); rt.addInt(Result); - break; + break; } -case wxKeyEvent_GetPosition: { // wxKeyEvent::GetPosition +case wxKeyEvent_GetPosition: { // wxKeyEvent::GetPosition wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPoint Result = This->GetPosition(); rt.add(Result); - break; + break; } -case wxKeyEvent_GetRawKeyCode: { // wxKeyEvent::GetRawKeyCode +case wxKeyEvent_GetRawKeyCode: { // wxKeyEvent::GetRawKeyCode wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetRawKeyCode(); rt.addUint(Result); - break; + break; } -case wxKeyEvent_GetRawKeyFlags: { // wxKeyEvent::GetRawKeyFlags +case wxKeyEvent_GetRawKeyFlags: { // wxKeyEvent::GetRawKeyFlags wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetRawKeyFlags(); rt.addUint(Result); - break; + break; } -case wxKeyEvent_GetUnicodeKey: { // wxKeyEvent::GetUnicodeKey +case wxKeyEvent_GetUnicodeKey: { // wxKeyEvent::GetUnicodeKey wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxChar Result = This->GetUnicodeKey(); rt.addInt(Result); - break; + break; } -case wxKeyEvent_GetX: { // wxKeyEvent::GetX +case wxKeyEvent_GetX: { // wxKeyEvent::GetX wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxCoord Result = This->GetX(); rt.addInt(Result); - break; + break; } -case wxKeyEvent_GetY: { // wxKeyEvent::GetY +case wxKeyEvent_GetY: { // wxKeyEvent::GetY wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxCoord Result = This->GetY(); rt.addInt(Result); - break; + break; } -case wxKeyEvent_HasModifiers: { // wxKeyEvent::HasModifiers +case wxKeyEvent_HasModifiers: { // wxKeyEvent::HasModifiers wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HasModifiers(); rt.addBool(Result); - break; + break; } -case wxKeyEvent_MetaDown: { // wxKeyEvent::MetaDown +case wxKeyEvent_MetaDown: { // wxKeyEvent::MetaDown wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->MetaDown(); rt.addBool(Result); - break; + break; } -case wxKeyEvent_ShiftDown: { // wxKeyEvent::ShiftDown +case wxKeyEvent_ShiftDown: { // wxKeyEvent::ShiftDown wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->ShiftDown(); rt.addBool(Result); - break; + break; } -case wxSizeEvent_GetSize: { // wxSizeEvent::GetSize +case wxSizeEvent_GetSize: { // wxSizeEvent::GetSize wxSizeEvent *This = (wxSizeEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxSize Result = This->GetSize(); rt.add(Result); - break; + break; } -case wxMoveEvent_GetPosition: { // wxMoveEvent::GetPosition +case wxMoveEvent_GetPosition: { // wxMoveEvent::GetPosition wxMoveEvent *This = (wxMoveEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPoint Result = This->GetPosition(); rt.add(Result); - break; + break; } -case wxEraseEvent_GetDC: { // wxEraseEvent::GetDC +case wxEraseEvent_GetDC: { // wxEraseEvent::GetDC wxEraseEvent *This = (wxEraseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxDC * Result = (wxDC*)This->GetDC(); rt.addRef(getRef((void *)Result,memenv), "wxDC"); - break; + break; } -case wxFocusEvent_GetWindow: { // wxFocusEvent::GetWindow +case wxFocusEvent_GetWindow: { // wxFocusEvent::GetWindow wxFocusEvent *This = (wxFocusEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetWindow(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxChildFocusEvent_GetWindow: { // wxChildFocusEvent::GetWindow +case wxChildFocusEvent_GetWindow: { // wxChildFocusEvent::GetWindow wxChildFocusEvent *This = (wxChildFocusEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetWindow(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxMenuEvent_GetMenu: { // wxMenuEvent::GetMenu +case wxMenuEvent_GetMenu: { // wxMenuEvent::GetMenu wxMenuEvent *This = (wxMenuEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxMenu * Result = (wxMenu*)This->GetMenu(); rt.addRef(getRef((void *)Result,memenv), "wxMenu"); - break; + break; } -case wxMenuEvent_GetMenuId: { // wxMenuEvent::GetMenuId +case wxMenuEvent_GetMenuId: { // wxMenuEvent::GetMenuId wxMenuEvent *This = (wxMenuEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMenuId(); rt.addInt(Result); - break; + break; } -case wxMenuEvent_IsPopup: { // wxMenuEvent::IsPopup +case wxMenuEvent_IsPopup: { // wxMenuEvent::IsPopup wxMenuEvent *This = (wxMenuEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsPopup(); rt.addBool(Result); - break; + break; } -case wxCloseEvent_CanVeto: { // wxCloseEvent::CanVeto +case wxCloseEvent_CanVeto: { // wxCloseEvent::CanVeto wxCloseEvent *This = (wxCloseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CanVeto(); rt.addBool(Result); - break; + break; } -case wxCloseEvent_GetLoggingOff: { // wxCloseEvent::GetLoggingOff +case wxCloseEvent_GetLoggingOff: { // wxCloseEvent::GetLoggingOff wxCloseEvent *This = (wxCloseEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetLoggingOff(); rt.addBool(Result); - break; + break; } -case wxCloseEvent_SetCanVeto: { // wxCloseEvent::SetCanVeto +case wxCloseEvent_SetCanVeto: { // wxCloseEvent::SetCanVeto wxCloseEvent *This = (wxCloseEvent *) getPtr(bp,memenv); bp += 4; bool * canVeto = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetCanVeto((bool) *canVeto); - break; + break; } -case wxCloseEvent_SetLoggingOff: { // wxCloseEvent::SetLoggingOff +case wxCloseEvent_SetLoggingOff: { // wxCloseEvent::SetLoggingOff wxCloseEvent *This = (wxCloseEvent *) getPtr(bp,memenv); bp += 4; bool * logOff = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetLoggingOff((bool) *logOff); - break; + break; } -case wxCloseEvent_Veto: { // wxCloseEvent::Veto +case wxCloseEvent_Veto: { // wxCloseEvent::Veto bool veto=true; wxCloseEvent *This = (wxCloseEvent *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; veto = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Veto(veto); - break; + break; } -case wxShowEvent_SetShow: { // wxShowEvent::SetShow +case wxShowEvent_SetShow: { // wxShowEvent::SetShow wxShowEvent *This = (wxShowEvent *) getPtr(bp,memenv); bp += 4; bool * show = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetShow((bool) *show); - break; + break; } -case wxShowEvent_GetShow: { // wxShowEvent::GetShow +case wxShowEvent_GetShow: { // wxShowEvent::GetShow wxShowEvent *This = (wxShowEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetShow(); rt.addBool(Result); - break; + break; } -case wxIconizeEvent_Iconized: { // wxIconizeEvent::Iconized +case wxIconizeEvent_Iconized: { // wxIconizeEvent::Iconized wxIconizeEvent *This = (wxIconizeEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Iconized(); rt.addBool(Result); - break; + break; } -case wxJoystickEvent_ButtonDown: { // wxJoystickEvent::ButtonDown +case wxJoystickEvent_ButtonDown: { // wxJoystickEvent::ButtonDown int but=wxJOY_BUTTON_ANY; wxJoystickEvent *This = (wxJoystickEvent *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; but = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->ButtonDown(but); rt.addBool(Result); - break; + break; } -case wxJoystickEvent_ButtonIsDown: { // wxJoystickEvent::ButtonIsDown +case wxJoystickEvent_ButtonIsDown: { // wxJoystickEvent::ButtonIsDown int but=wxJOY_BUTTON_ANY; wxJoystickEvent *This = (wxJoystickEvent *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; but = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->ButtonIsDown(but); rt.addBool(Result); - break; + break; } -case wxJoystickEvent_ButtonUp: { // wxJoystickEvent::ButtonUp +case wxJoystickEvent_ButtonUp: { // wxJoystickEvent::ButtonUp int but=wxJOY_BUTTON_ANY; wxJoystickEvent *This = (wxJoystickEvent *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; but = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->ButtonUp(but); rt.addBool(Result); - break; + break; } -case wxJoystickEvent_GetButtonChange: { // wxJoystickEvent::GetButtonChange +case wxJoystickEvent_GetButtonChange: { // wxJoystickEvent::GetButtonChange wxJoystickEvent *This = (wxJoystickEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetButtonChange(); rt.addInt(Result); - break; + break; } -case wxJoystickEvent_GetButtonState: { // wxJoystickEvent::GetButtonState +case wxJoystickEvent_GetButtonState: { // wxJoystickEvent::GetButtonState wxJoystickEvent *This = (wxJoystickEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetButtonState(); rt.addInt(Result); - break; + break; } -case wxJoystickEvent_GetJoystick: { // wxJoystickEvent::GetJoystick +case wxJoystickEvent_GetJoystick: { // wxJoystickEvent::GetJoystick wxJoystickEvent *This = (wxJoystickEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetJoystick(); rt.addInt(Result); - break; + break; } -case wxJoystickEvent_GetPosition: { // wxJoystickEvent::GetPosition +case wxJoystickEvent_GetPosition: { // wxJoystickEvent::GetPosition wxJoystickEvent *This = (wxJoystickEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPoint Result = This->GetPosition(); rt.add(Result); - break; + break; } -case wxJoystickEvent_GetZPosition: { // wxJoystickEvent::GetZPosition +case wxJoystickEvent_GetZPosition: { // wxJoystickEvent::GetZPosition wxJoystickEvent *This = (wxJoystickEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetZPosition(); rt.addInt(Result); - break; + break; } -case wxJoystickEvent_IsButton: { // wxJoystickEvent::IsButton +case wxJoystickEvent_IsButton: { // wxJoystickEvent::IsButton wxJoystickEvent *This = (wxJoystickEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsButton(); rt.addBool(Result); - break; + break; } -case wxJoystickEvent_IsMove: { // wxJoystickEvent::IsMove +case wxJoystickEvent_IsMove: { // wxJoystickEvent::IsMove wxJoystickEvent *This = (wxJoystickEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsMove(); rt.addBool(Result); - break; + break; } -case wxJoystickEvent_IsZMove: { // wxJoystickEvent::IsZMove +case wxJoystickEvent_IsZMove: { // wxJoystickEvent::IsZMove wxJoystickEvent *This = (wxJoystickEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsZMove(); rt.addBool(Result); - break; + break; } -case wxUpdateUIEvent_CanUpdate: { // wxUpdateUIEvent::CanUpdate +case wxUpdateUIEvent_CanUpdate: { // wxUpdateUIEvent::CanUpdate wxWindow *win = (wxWindow *) getPtr(bp,memenv); bp += 4; bool Result = wxUpdateUIEvent::CanUpdate(win); rt.addBool(Result); - break; + break; } -case wxUpdateUIEvent_Check: { // wxUpdateUIEvent::Check +case wxUpdateUIEvent_Check: { // wxUpdateUIEvent::Check wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4; bool * check = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Check((bool) *check); - break; + break; } -case wxUpdateUIEvent_Enable: { // wxUpdateUIEvent::Enable +case wxUpdateUIEvent_Enable: { // wxUpdateUIEvent::Enable wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4; bool * enable = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Enable((bool) *enable); - break; + break; } -case wxUpdateUIEvent_Show: { // wxUpdateUIEvent::Show +case wxUpdateUIEvent_Show: { // wxUpdateUIEvent::Show wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4; bool * show = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Show((bool) *show); - break; + break; } -case wxUpdateUIEvent_GetChecked: { // wxUpdateUIEvent::GetChecked +case wxUpdateUIEvent_GetChecked: { // wxUpdateUIEvent::GetChecked wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetChecked(); rt.addBool(Result); - break; + break; } -case wxUpdateUIEvent_GetEnabled: { // wxUpdateUIEvent::GetEnabled +case wxUpdateUIEvent_GetEnabled: { // wxUpdateUIEvent::GetEnabled wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetEnabled(); rt.addBool(Result); - break; + break; } -case wxUpdateUIEvent_GetShown: { // wxUpdateUIEvent::GetShown +case wxUpdateUIEvent_GetShown: { // wxUpdateUIEvent::GetShown wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetShown(); rt.addBool(Result); - break; + break; } -case wxUpdateUIEvent_GetSetChecked: { // wxUpdateUIEvent::GetSetChecked +case wxUpdateUIEvent_GetSetChecked: { // wxUpdateUIEvent::GetSetChecked wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetSetChecked(); rt.addBool(Result); - break; + break; } -case wxUpdateUIEvent_GetSetEnabled: { // wxUpdateUIEvent::GetSetEnabled +case wxUpdateUIEvent_GetSetEnabled: { // wxUpdateUIEvent::GetSetEnabled wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetSetEnabled(); rt.addBool(Result); - break; + break; } -case wxUpdateUIEvent_GetSetShown: { // wxUpdateUIEvent::GetSetShown +case wxUpdateUIEvent_GetSetShown: { // wxUpdateUIEvent::GetSetShown wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetSetShown(); rt.addBool(Result); - break; + break; } -case wxUpdateUIEvent_GetSetText: { // wxUpdateUIEvent::GetSetText +case wxUpdateUIEvent_GetSetText: { // wxUpdateUIEvent::GetSetText wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetSetText(); rt.addBool(Result); - break; + break; } -case wxUpdateUIEvent_GetText: { // wxUpdateUIEvent::GetText +case wxUpdateUIEvent_GetText: { // wxUpdateUIEvent::GetText wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetText(); rt.add(Result); - break; + break; } -case wxUpdateUIEvent_GetMode: { // wxUpdateUIEvent::GetMode +case wxUpdateUIEvent_GetMode: { // wxUpdateUIEvent::GetMode int Result = wxUpdateUIEvent::GetMode(); rt.addInt(Result); - break; + break; } -case wxUpdateUIEvent_GetUpdateInterval: { // wxUpdateUIEvent::GetUpdateInterval +case wxUpdateUIEvent_GetUpdateInterval: { // wxUpdateUIEvent::GetUpdateInterval long Result = wxUpdateUIEvent::GetUpdateInterval(); rt.addInt(Result); - break; + break; } -case wxUpdateUIEvent_ResetUpdateTime: { // wxUpdateUIEvent::ResetUpdateTime +case wxUpdateUIEvent_ResetUpdateTime: { // wxUpdateUIEvent::ResetUpdateTime wxUpdateUIEvent::ResetUpdateTime(); - break; + break; } -case wxUpdateUIEvent_SetMode: { // wxUpdateUIEvent::SetMode +case wxUpdateUIEvent_SetMode: { // wxUpdateUIEvent::SetMode wxUpdateUIMode mode = *(wxUpdateUIMode *) bp; bp += 4;; wxUpdateUIEvent::SetMode((wxUpdateUIMode) mode); - break; + break; } -case wxUpdateUIEvent_SetText: { // wxUpdateUIEvent::SetText +case wxUpdateUIEvent_SetText: { // wxUpdateUIEvent::SetText wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetText(text); - break; + break; } -case wxUpdateUIEvent_SetUpdateInterval: { // wxUpdateUIEvent::SetUpdateInterval +case wxUpdateUIEvent_SetUpdateInterval: { // wxUpdateUIEvent::SetUpdateInterval int * updateInterval = (int *) bp; bp += 4; wxUpdateUIEvent::SetUpdateInterval((long) *updateInterval); - break; + break; } -case wxMouseCaptureChangedEvent_GetCapturedWindow: { // wxMouseCaptureChangedEvent::GetCapturedWindow +case wxMouseCaptureChangedEvent_GetCapturedWindow: { // wxMouseCaptureChangedEvent::GetCapturedWindow wxMouseCaptureChangedEvent *This = (wxMouseCaptureChangedEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetCapturedWindow(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxPaletteChangedEvent_SetChangedWindow: { // wxPaletteChangedEvent::SetChangedWindow +case wxPaletteChangedEvent_SetChangedWindow: { // wxPaletteChangedEvent::SetChangedWindow wxPaletteChangedEvent *This = (wxPaletteChangedEvent *) getPtr(bp,memenv); bp += 4; wxWindow *win = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetChangedWindow(win); - break; + break; } -case wxPaletteChangedEvent_GetChangedWindow: { // wxPaletteChangedEvent::GetChangedWindow +case wxPaletteChangedEvent_GetChangedWindow: { // wxPaletteChangedEvent::GetChangedWindow wxPaletteChangedEvent *This = (wxPaletteChangedEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetChangedWindow(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxQueryNewPaletteEvent_SetPaletteRealized: { // wxQueryNewPaletteEvent::SetPaletteRealized +case wxQueryNewPaletteEvent_SetPaletteRealized: { // wxQueryNewPaletteEvent::SetPaletteRealized wxQueryNewPaletteEvent *This = (wxQueryNewPaletteEvent *) getPtr(bp,memenv); bp += 4; bool * realized = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetPaletteRealized((bool) *realized); - break; + break; } -case wxQueryNewPaletteEvent_GetPaletteRealized: { // wxQueryNewPaletteEvent::GetPaletteRealized +case wxQueryNewPaletteEvent_GetPaletteRealized: { // wxQueryNewPaletteEvent::GetPaletteRealized wxQueryNewPaletteEvent *This = (wxQueryNewPaletteEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetPaletteRealized(); rt.addBool(Result); - break; + break; } -case wxNavigationKeyEvent_GetDirection: { // wxNavigationKeyEvent::GetDirection +case wxNavigationKeyEvent_GetDirection: { // wxNavigationKeyEvent::GetDirection wxNavigationKeyEvent *This = (wxNavigationKeyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetDirection(); rt.addBool(Result); - break; + break; } -case wxNavigationKeyEvent_SetDirection: { // wxNavigationKeyEvent::SetDirection +case wxNavigationKeyEvent_SetDirection: { // wxNavigationKeyEvent::SetDirection wxNavigationKeyEvent *This = (wxNavigationKeyEvent *) getPtr(bp,memenv); bp += 4; bool * bForward = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetDirection((bool) *bForward); - break; + break; } -case wxNavigationKeyEvent_IsWindowChange: { // wxNavigationKeyEvent::IsWindowChange +case wxNavigationKeyEvent_IsWindowChange: { // wxNavigationKeyEvent::IsWindowChange wxNavigationKeyEvent *This = (wxNavigationKeyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsWindowChange(); rt.addBool(Result); - break; + break; } -case wxNavigationKeyEvent_SetWindowChange: { // wxNavigationKeyEvent::SetWindowChange +case wxNavigationKeyEvent_SetWindowChange: { // wxNavigationKeyEvent::SetWindowChange wxNavigationKeyEvent *This = (wxNavigationKeyEvent *) getPtr(bp,memenv); bp += 4; bool * bIs = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetWindowChange((bool) *bIs); - break; + break; } -case wxNavigationKeyEvent_IsFromTab: { // wxNavigationKeyEvent::IsFromTab +case wxNavigationKeyEvent_IsFromTab: { // wxNavigationKeyEvent::IsFromTab wxNavigationKeyEvent *This = (wxNavigationKeyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsFromTab(); rt.addBool(Result); - break; + break; } -case wxNavigationKeyEvent_SetFromTab: { // wxNavigationKeyEvent::SetFromTab +case wxNavigationKeyEvent_SetFromTab: { // wxNavigationKeyEvent::SetFromTab wxNavigationKeyEvent *This = (wxNavigationKeyEvent *) getPtr(bp,memenv); bp += 4; bool * bIs = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetFromTab((bool) *bIs); - break; + break; } -case wxNavigationKeyEvent_GetCurrentFocus: { // wxNavigationKeyEvent::GetCurrentFocus +case wxNavigationKeyEvent_GetCurrentFocus: { // wxNavigationKeyEvent::GetCurrentFocus wxNavigationKeyEvent *This = (wxNavigationKeyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetCurrentFocus(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxNavigationKeyEvent_SetCurrentFocus: { // wxNavigationKeyEvent::SetCurrentFocus +case wxNavigationKeyEvent_SetCurrentFocus: { // wxNavigationKeyEvent::SetCurrentFocus wxNavigationKeyEvent *This = (wxNavigationKeyEvent *) getPtr(bp,memenv); bp += 4; wxWindow *win = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetCurrentFocus(win); - break; + break; } -case wxHelpEvent_GetOrigin: { // wxHelpEvent::GetOrigin +case wxHelpEvent_GetOrigin: { // wxHelpEvent::GetOrigin wxHelpEvent *This = (wxHelpEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetOrigin(); rt.addInt(Result); - break; + break; } -case wxHelpEvent_GetPosition: { // wxHelpEvent::GetPosition +case wxHelpEvent_GetPosition: { // wxHelpEvent::GetPosition wxHelpEvent *This = (wxHelpEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxPoint * Result = &This->GetPosition(); rt.add((*Result)); - break; + break; } -case wxHelpEvent_SetOrigin: { // wxHelpEvent::SetOrigin +case wxHelpEvent_SetOrigin: { // wxHelpEvent::SetOrigin wxHelpEvent *This = (wxHelpEvent *) getPtr(bp,memenv); bp += 4; wxHelpEvent::Origin origin = *(wxHelpEvent::Origin *) bp; bp += 4;; if(!This) throw wxe_badarg(0); This->SetOrigin((wxHelpEvent::Origin) origin); - break; + break; } -case wxHelpEvent_SetPosition: { // wxHelpEvent::SetPosition +case wxHelpEvent_SetPosition: { // wxHelpEvent::SetPosition wxHelpEvent *This = (wxHelpEvent *) getPtr(bp,memenv); bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; wxPoint pos = wxPoint(*posX,*posY); if(!This) throw wxe_badarg(0); This->SetPosition(pos); - break; + break; } -case wxContextMenuEvent_GetPosition: { // wxContextMenuEvent::GetPosition +case wxContextMenuEvent_GetPosition: { // wxContextMenuEvent::GetPosition wxContextMenuEvent *This = (wxContextMenuEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxPoint * Result = &This->GetPosition(); rt.add((*Result)); - break; + break; } -case wxContextMenuEvent_SetPosition: { // wxContextMenuEvent::SetPosition +case wxContextMenuEvent_SetPosition: { // wxContextMenuEvent::SetPosition wxContextMenuEvent *This = (wxContextMenuEvent *) getPtr(bp,memenv); bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; wxPoint pos = wxPoint(*posX,*posY); if(!This) throw wxe_badarg(0); This->SetPosition(pos); - break; + break; } -case wxIdleEvent_CanSend: { // wxIdleEvent::CanSend +case wxIdleEvent_CanSend: { // wxIdleEvent::CanSend wxWindow *win = (wxWindow *) getPtr(bp,memenv); bp += 4; bool Result = wxIdleEvent::CanSend(win); rt.addBool(Result); - break; + break; } -case wxIdleEvent_GetMode: { // wxIdleEvent::GetMode +case wxIdleEvent_GetMode: { // wxIdleEvent::GetMode int Result = wxIdleEvent::GetMode(); rt.addInt(Result); - break; + break; } -case wxIdleEvent_RequestMore: { // wxIdleEvent::RequestMore +case wxIdleEvent_RequestMore: { // wxIdleEvent::RequestMore bool needMore=true; wxIdleEvent *This = (wxIdleEvent *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; needMore = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->RequestMore(needMore); - break; + break; } -case wxIdleEvent_MoreRequested: { // wxIdleEvent::MoreRequested +case wxIdleEvent_MoreRequested: { // wxIdleEvent::MoreRequested wxIdleEvent *This = (wxIdleEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->MoreRequested(); rt.addBool(Result); - break; + break; } -case wxIdleEvent_SetMode: { // wxIdleEvent::SetMode +case wxIdleEvent_SetMode: { // wxIdleEvent::SetMode wxIdleMode mode = *(wxIdleMode *) bp; bp += 4;; wxIdleEvent::SetMode((wxIdleMode) mode); - break; + break; } -case wxGridEvent_AltDown: { // wxGridEvent::AltDown +case wxGridEvent_AltDown: { // wxGridEvent::AltDown wxGridEvent *This = (wxGridEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->AltDown(); rt.addBool(Result); - break; + break; } -case wxGridEvent_ControlDown: { // wxGridEvent::ControlDown +case wxGridEvent_ControlDown: { // wxGridEvent::ControlDown wxGridEvent *This = (wxGridEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->ControlDown(); rt.addBool(Result); - break; + break; } -case wxGridEvent_GetCol: { // wxGridEvent::GetCol +case wxGridEvent_GetCol: { // wxGridEvent::GetCol wxGridEvent *This = (wxGridEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetCol(); rt.addInt(Result); - break; + break; } -case wxGridEvent_GetPosition: { // wxGridEvent::GetPosition +case wxGridEvent_GetPosition: { // wxGridEvent::GetPosition wxGridEvent *This = (wxGridEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPoint Result = This->GetPosition(); rt.add(Result); - break; + break; } -case wxGridEvent_GetRow: { // wxGridEvent::GetRow +case wxGridEvent_GetRow: { // wxGridEvent::GetRow wxGridEvent *This = (wxGridEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetRow(); rt.addInt(Result); - break; + break; } -case wxGridEvent_MetaDown: { // wxGridEvent::MetaDown +case wxGridEvent_MetaDown: { // wxGridEvent::MetaDown wxGridEvent *This = (wxGridEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->MetaDown(); rt.addBool(Result); - break; + break; } -case wxGridEvent_Selecting: { // wxGridEvent::Selecting +case wxGridEvent_Selecting: { // wxGridEvent::Selecting wxGridEvent *This = (wxGridEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Selecting(); rt.addBool(Result); - break; + break; } -case wxGridEvent_ShiftDown: { // wxGridEvent::ShiftDown +case wxGridEvent_ShiftDown: { // wxGridEvent::ShiftDown wxGridEvent *This = (wxGridEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->ShiftDown(); rt.addBool(Result); - break; + break; } -case wxNotifyEvent_Allow: { // wxNotifyEvent::Allow +case wxNotifyEvent_Allow: { // wxNotifyEvent::Allow wxNotifyEvent *This = (wxNotifyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Allow(); - break; + break; } -case wxNotifyEvent_IsAllowed: { // wxNotifyEvent::IsAllowed +case wxNotifyEvent_IsAllowed: { // wxNotifyEvent::IsAllowed wxNotifyEvent *This = (wxNotifyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsAllowed(); rt.addBool(Result); - break; + break; } -case wxNotifyEvent_Veto: { // wxNotifyEvent::Veto +case wxNotifyEvent_Veto: { // wxNotifyEvent::Veto wxNotifyEvent *This = (wxNotifyEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Veto(); - break; + break; } -case wxSashEvent_GetEdge: { // wxSashEvent::GetEdge +case wxSashEvent_GetEdge: { // wxSashEvent::GetEdge wxSashEvent *This = (wxSashEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetEdge(); rt.addInt(Result); - break; + break; } -case wxSashEvent_GetDragRect: { // wxSashEvent::GetDragRect +case wxSashEvent_GetDragRect: { // wxSashEvent::GetDragRect wxSashEvent *This = (wxSashEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxRect Result = This->GetDragRect(); rt.add(Result); - break; + break; } -case wxSashEvent_GetDragStatus: { // wxSashEvent::GetDragStatus +case wxSashEvent_GetDragStatus: { // wxSashEvent::GetDragStatus wxSashEvent *This = (wxSashEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetDragStatus(); rt.addInt(Result); - break; + break; } -case wxListEvent_GetCacheFrom: { // wxListEvent::GetCacheFrom +case wxListEvent_GetCacheFrom: { // wxListEvent::GetCacheFrom wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetCacheFrom(); rt.addInt(Result); - break; + break; } -case wxListEvent_GetCacheTo: { // wxListEvent::GetCacheTo +case wxListEvent_GetCacheTo: { // wxListEvent::GetCacheTo wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetCacheTo(); rt.addInt(Result); - break; + break; } -case wxListEvent_GetKeyCode: { // wxListEvent::GetKeyCode +case wxListEvent_GetKeyCode: { // wxListEvent::GetKeyCode wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetKeyCode(); rt.addInt(Result); - break; + break; } -case wxListEvent_GetIndex: { // wxListEvent::GetIndex +case wxListEvent_GetIndex: { // wxListEvent::GetIndex wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetIndex(); rt.addInt(Result); - break; + break; } -case wxListEvent_GetColumn: { // wxListEvent::GetColumn +case wxListEvent_GetColumn: { // wxListEvent::GetColumn wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetColumn(); rt.addInt(Result); - break; + break; } -case wxListEvent_GetPoint: { // wxListEvent::GetPoint +case wxListEvent_GetPoint: { // wxListEvent::GetPoint wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPoint Result = This->GetPoint(); rt.add(Result); - break; + break; } -case wxListEvent_GetLabel: { // wxListEvent::GetLabel +case wxListEvent_GetLabel: { // wxListEvent::GetLabel wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxString * Result = &This->GetLabel(); rt.add(Result); - break; + break; } -case wxListEvent_GetText: { // wxListEvent::GetText +case wxListEvent_GetText: { // wxListEvent::GetText wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxString * Result = &This->GetText(); rt.add(Result); - break; + break; } -case wxListEvent_GetImage: { // wxListEvent::GetImage +case wxListEvent_GetImage: { // wxListEvent::GetImage wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetImage(); rt.addInt(Result); - break; + break; } -case wxListEvent_GetData: { // wxListEvent::GetData +case wxListEvent_GetData: { // wxListEvent::GetData wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetData(); rt.addInt(Result); - break; + break; } -case wxListEvent_GetMask: { // wxListEvent::GetMask +case wxListEvent_GetMask: { // wxListEvent::GetMask wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); long Result = This->GetMask(); rt.addInt(Result); - break; + break; } -case wxListEvent_GetItem: { // wxListEvent::GetItem +case wxListEvent_GetItem: { // wxListEvent::GetItem wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxListItem * Result = &This->GetItem(); rt.addRef(getRef((void *)Result,memenv), "wxListItem"); - break; + break; } -case wxListEvent_IsEditCancelled: { // wxListEvent::IsEditCancelled +case wxListEvent_IsEditCancelled: { // wxListEvent::IsEditCancelled wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsEditCancelled(); rt.addBool(Result); - break; + break; } -case wxDateEvent_GetDate: { // wxDateEvent::GetDate +case wxDateEvent_GetDate: { // wxDateEvent::GetDate wxDateEvent *This = (wxDateEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxDateTime * Result = &This->GetDate(); rt.add((*Result)); - break; + break; } -case wxCalendarEvent_GetWeekDay: { // wxCalendarEvent::GetWeekDay +case wxCalendarEvent_GetWeekDay: { // wxCalendarEvent::GetWeekDay wxCalendarEvent *This = (wxCalendarEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetWeekDay(); rt.addInt(Result); - break; + break; } -case wxFileDirPickerEvent_GetPath: { // wxFileDirPickerEvent::GetPath +case wxFileDirPickerEvent_GetPath: { // wxFileDirPickerEvent::GetPath wxFileDirPickerEvent *This = (wxFileDirPickerEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetPath(); rt.add(Result); - break; + break; } -case wxColourPickerEvent_GetColour: { // wxColourPickerEvent::GetColour +case wxColourPickerEvent_GetColour: { // wxColourPickerEvent::GetColour wxColourPickerEvent *This = (wxColourPickerEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetColour(); rt.add(Result); - break; + break; } -case wxFontPickerEvent_GetFont: { // wxFontPickerEvent::GetFont +case wxFontPickerEvent_GetFont: { // wxFontPickerEvent::GetFont wxFontPickerEvent *This = (wxFontPickerEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxFont * Result = new wxFont(This->GetFont()); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxFont"); - break; + break; } -case wxStyledTextEvent_GetPosition: { // wxStyledTextEvent::GetPosition +case wxStyledTextEvent_GetPosition: { // wxStyledTextEvent::GetPosition wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetPosition(); rt.addInt(Result); - break; + break; } -case wxStyledTextEvent_GetKey: { // wxStyledTextEvent::GetKey +case wxStyledTextEvent_GetKey: { // wxStyledTextEvent::GetKey wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetKey(); rt.addInt(Result); - break; + break; } -case wxStyledTextEvent_GetModifiers: { // wxStyledTextEvent::GetModifiers +case wxStyledTextEvent_GetModifiers: { // wxStyledTextEvent::GetModifiers wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetModifiers(); rt.addInt(Result); - break; + break; } -case wxStyledTextEvent_GetModificationType: { // wxStyledTextEvent::GetModificationType +case wxStyledTextEvent_GetModificationType: { // wxStyledTextEvent::GetModificationType wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetModificationType(); rt.addInt(Result); - break; + break; } -case wxStyledTextEvent_GetText: { // wxStyledTextEvent::GetText +case wxStyledTextEvent_GetText: { // wxStyledTextEvent::GetText wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetText(); rt.add(Result); - break; + break; } -case wxStyledTextEvent_GetLength: { // wxStyledTextEvent::GetLength +case wxStyledTextEvent_GetLength: { // wxStyledTextEvent::GetLength wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetLength(); rt.addInt(Result); - break; + break; } -case wxStyledTextEvent_GetLinesAdded: { // wxStyledTextEvent::GetLinesAdded +case wxStyledTextEvent_GetLinesAdded: { // wxStyledTextEvent::GetLinesAdded wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetLinesAdded(); rt.addInt(Result); - break; + break; } -case wxStyledTextEvent_GetLine: { // wxStyledTextEvent::GetLine +case wxStyledTextEvent_GetLine: { // wxStyledTextEvent::GetLine wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetLine(); rt.addInt(Result); - break; + break; } -case wxStyledTextEvent_GetFoldLevelNow: { // wxStyledTextEvent::GetFoldLevelNow +case wxStyledTextEvent_GetFoldLevelNow: { // wxStyledTextEvent::GetFoldLevelNow wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetFoldLevelNow(); rt.addInt(Result); - break; + break; } -case wxStyledTextEvent_GetFoldLevelPrev: { // wxStyledTextEvent::GetFoldLevelPrev +case wxStyledTextEvent_GetFoldLevelPrev: { // wxStyledTextEvent::GetFoldLevelPrev wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetFoldLevelPrev(); rt.addInt(Result); - break; + break; } -case wxStyledTextEvent_GetMargin: { // wxStyledTextEvent::GetMargin +case wxStyledTextEvent_GetMargin: { // wxStyledTextEvent::GetMargin wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMargin(); rt.addInt(Result); - break; + break; } -case wxStyledTextEvent_GetMessage: { // wxStyledTextEvent::GetMessage +case wxStyledTextEvent_GetMessage: { // wxStyledTextEvent::GetMessage wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMessage(); rt.addInt(Result); - break; + break; } -case wxStyledTextEvent_GetWParam: { // wxStyledTextEvent::GetWParam +case wxStyledTextEvent_GetWParam: { // wxStyledTextEvent::GetWParam wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetWParam(); rt.addInt(Result); - break; + break; } -case wxStyledTextEvent_GetLParam: { // wxStyledTextEvent::GetLParam +case wxStyledTextEvent_GetLParam: { // wxStyledTextEvent::GetLParam wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetLParam(); rt.addInt(Result); - break; + break; } -case wxStyledTextEvent_GetListType: { // wxStyledTextEvent::GetListType +case wxStyledTextEvent_GetListType: { // wxStyledTextEvent::GetListType wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetListType(); rt.addInt(Result); - break; + break; } -case wxStyledTextEvent_GetX: { // wxStyledTextEvent::GetX +case wxStyledTextEvent_GetX: { // wxStyledTextEvent::GetX wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetX(); rt.addInt(Result); - break; + break; } -case wxStyledTextEvent_GetY: { // wxStyledTextEvent::GetY +case wxStyledTextEvent_GetY: { // wxStyledTextEvent::GetY wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetY(); rt.addInt(Result); - break; + break; } -case wxStyledTextEvent_GetDragText: { // wxStyledTextEvent::GetDragText +case wxStyledTextEvent_GetDragText: { // wxStyledTextEvent::GetDragText wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetDragText(); rt.add(Result); - break; + break; } -case wxStyledTextEvent_GetDragAllowMove: { // wxStyledTextEvent::GetDragAllowMove +case wxStyledTextEvent_GetDragAllowMove: { // wxStyledTextEvent::GetDragAllowMove wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetDragAllowMove(); rt.addBool(Result); - break; + break; } -case wxStyledTextEvent_GetDragResult: { // wxStyledTextEvent::GetDragResult +case wxStyledTextEvent_GetDragResult: { // wxStyledTextEvent::GetDragResult wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetDragResult(); rt.addInt(Result); - break; + break; } -case wxStyledTextEvent_GetShift: { // wxStyledTextEvent::GetShift +case wxStyledTextEvent_GetShift: { // wxStyledTextEvent::GetShift wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetShift(); rt.addBool(Result); - break; + break; } -case wxStyledTextEvent_GetControl: { // wxStyledTextEvent::GetControl +case wxStyledTextEvent_GetControl: { // wxStyledTextEvent::GetControl wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetControl(); rt.addBool(Result); - break; + break; } -case wxStyledTextEvent_GetAlt: { // wxStyledTextEvent::GetAlt +case wxStyledTextEvent_GetAlt: { // wxStyledTextEvent::GetAlt wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetAlt(); rt.addBool(Result); - break; + break; } -case utils_wxGetKeyState: { // utils::wxGetKeyState +case utils_wxGetKeyState: { // utils::wxGetKeyState wxKeyCode key = *(wxKeyCode *) bp; bp += 4;; bool Result = ::wxGetKeyState((wxKeyCode) key); rt.addBool(Result); - break; + break; } -case utils_wxGetMousePosition: { // utils::wxGetMousePosition +case utils_wxGetMousePosition: { // utils::wxGetMousePosition int x; int y; ::wxGetMousePosition(&x,&y); rt.addInt(x); rt.addInt(y); rt.addTupleCount(2); - break; + break; } -case utils_wxGetMouseState: { // utils::wxGetMouseState +case utils_wxGetMouseState: { // utils::wxGetMouseState wxMouseState Result = ::wxGetMouseState(); rt.add(Result); - break; + break; } -case utils_wxSetDetectableAutoRepeat: { // utils::wxSetDetectableAutoRepeat +case utils_wxSetDetectableAutoRepeat: { // utils::wxSetDetectableAutoRepeat bool * flag = (bool *) bp; bp += 4; bool Result = ::wxSetDetectableAutoRepeat((bool) *flag); rt.addBool(Result); - break; + break; } -case utils_wxBell: { // utils::wxBell +case utils_wxBell: { // utils::wxBell ::wxBell(); - break; + break; } -case utils_wxFindMenuItemId: { // utils::wxFindMenuItemId +case utils_wxFindMenuItemId: { // utils::wxFindMenuItemId wxFrame *frame = (wxFrame *) getPtr(bp,memenv); bp += 4; int * menuStringLen = (int *) bp; bp += 4; wxString menuString = wxString(bp, wxConvUTF8); @@ -26435,120 +26435,120 @@ case utils_wxFindMenuItemId: { // utils::wxFindMenuItemId bp += *itemStringLen+((8-((4+ *itemStringLen) & 7)) & 7); int Result = ::wxFindMenuItemId(frame,menuString,itemString); rt.addInt(Result); - break; + break; } -case utils_wxGenericFindWindowAtPoint: { // utils::wxGenericFindWindowAtPoint +case utils_wxGenericFindWindowAtPoint: { // utils::wxGenericFindWindowAtPoint int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; wxPoint pt = wxPoint(*ptX,*ptY); wxWindow * Result = (wxWindow*)::wxGenericFindWindowAtPoint(pt); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case utils_wxFindWindowAtPoint: { // utils::wxFindWindowAtPoint +case utils_wxFindWindowAtPoint: { // utils::wxFindWindowAtPoint int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; wxPoint pt = wxPoint(*ptX,*ptY); wxWindow * Result = (wxWindow*)::wxFindWindowAtPoint(pt); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case utils_wxBeginBusyCursor: { // utils::wxBeginBusyCursor +case utils_wxBeginBusyCursor: { // utils::wxBeginBusyCursor const wxCursor * cursor=wxHOURGLASS_CURSOR; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; cursor = (wxCursor *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; ::wxBeginBusyCursor(cursor); - break; + break; } -case utils_wxEndBusyCursor: { // utils::wxEndBusyCursor +case utils_wxEndBusyCursor: { // utils::wxEndBusyCursor ::wxEndBusyCursor(); - break; + break; } -case utils_wxIsBusy: { // utils::wxIsBusy +case utils_wxIsBusy: { // utils::wxIsBusy bool Result = ::wxIsBusy(); rt.addBool(Result); - break; + break; } -case utils_wxShutdown: { // utils::wxShutdown +case utils_wxShutdown: { // utils::wxShutdown wxShutdownFlags wFlags = *(wxShutdownFlags *) bp; bp += 4;; bool Result = ::wxShutdown((wxShutdownFlags) wFlags); rt.addBool(Result); - break; + break; } -case utils_wxShell: { // utils::wxShell +case utils_wxShell: { // utils::wxShell wxString command= wxEmptyString; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * commandLen = (int *) bp; bp += 4; command = wxString(bp, wxConvUTF8); bp += *commandLen+((8-((0+ *commandLen) & 7)) & 7); } break; - }}; + }}; bool Result = ::wxShell(command); rt.addBool(Result); - break; + break; } -case utils_wxLaunchDefaultBrowser: { // utils::wxLaunchDefaultBrowser +case utils_wxLaunchDefaultBrowser: { // utils::wxLaunchDefaultBrowser int flags=0; int * urlLen = (int *) bp; bp += 4; wxString url = wxString(bp, wxConvUTF8); bp += *urlLen+((8-((4+ *urlLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; flags = (int)*(int *) bp; bp += 4; } break; - }}; + }}; bool Result = ::wxLaunchDefaultBrowser(url,flags); rt.addBool(Result); - break; + break; } -case utils_wxGetEmailAddress: { // utils::wxGetEmailAddress +case utils_wxGetEmailAddress: { // utils::wxGetEmailAddress wxString Result = ::wxGetEmailAddress(); rt.add(Result); - break; + break; } -case utils_wxGetUserId: { // utils::wxGetUserId +case utils_wxGetUserId: { // utils::wxGetUserId wxString Result = ::wxGetUserId(); rt.add(Result); - break; + break; } -case utils_wxGetHomeDir: { // utils::wxGetHomeDir +case utils_wxGetHomeDir: { // utils::wxGetHomeDir wxString Result = ::wxGetHomeDir(); rt.add(Result); - break; + break; } -case utils_wxNewId: { // utils::wxNewId +case utils_wxNewId: { // utils::wxNewId long Result = ::wxNewId(); rt.addInt(Result); - break; + break; } -case utils_wxRegisterId: { // utils::wxRegisterId +case utils_wxRegisterId: { // utils::wxRegisterId int * id = (int *) bp; bp += 4; ::wxRegisterId((long) *id); - break; + break; } -case utils_wxGetCurrentId: { // utils::wxGetCurrentId +case utils_wxGetCurrentId: { // utils::wxGetCurrentId long Result = ::wxGetCurrentId(); rt.addInt(Result); - break; + break; } -case utils_wxGetOsDescription: { // utils::wxGetOsDescription +case utils_wxGetOsDescription: { // utils::wxGetOsDescription wxString Result = ::wxGetOsDescription(); rt.add(Result); - break; + break; } -case utils_wxIsPlatformLittleEndian: { // utils::wxIsPlatformLittleEndian +case utils_wxIsPlatformLittleEndian: { // utils::wxIsPlatformLittleEndian bool Result = ::wxIsPlatformLittleEndian(); rt.addBool(Result); - break; + break; } -case utils_wxIsPlatform64Bit: { // utils::wxIsPlatform64Bit +case utils_wxIsPlatform64Bit: { // utils::wxIsPlatform64Bit bool Result = ::wxIsPlatform64Bit(); rt.addBool(Result); - break; + break; } case wxPrintout_new: { // wxPrintout::wxPrintout taylormade @@ -26578,14 +26578,14 @@ case wxPrintout_new: { // wxPrintout::wxPrintout taylormade rt.addRef(getRef((void *)Result,memenv), "wxPrintout"); break; } -case wxPrintout_GetDC: { // wxPrintout::GetDC +case wxPrintout_GetDC: { // wxPrintout::GetDC wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxDC * Result = (wxDC*)This->GetDC(); rt.addRef(getRef((void *)Result,memenv), "wxDC"); - break; + break; } -case wxPrintout_GetPageSizeMM: { // wxPrintout::GetPageSizeMM +case wxPrintout_GetPageSizeMM: { // wxPrintout::GetPageSizeMM int w; int h; wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4; @@ -26594,9 +26594,9 @@ case wxPrintout_GetPageSizeMM: { // wxPrintout::GetPageSizeMM rt.addInt(w); rt.addInt(h); rt.addTupleCount(2); - break; + break; } -case wxPrintout_GetPageSizePixels: { // wxPrintout::GetPageSizePixels +case wxPrintout_GetPageSizePixels: { // wxPrintout::GetPageSizePixels int w; int h; wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4; @@ -26605,16 +26605,16 @@ case wxPrintout_GetPageSizePixels: { // wxPrintout::GetPageSizePixels rt.addInt(w); rt.addInt(h); rt.addTupleCount(2); - break; + break; } -case wxPrintout_GetPaperRectPixels: { // wxPrintout::GetPaperRectPixels +case wxPrintout_GetPaperRectPixels: { // wxPrintout::GetPaperRectPixels wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxRect Result = This->GetPaperRectPixels(); rt.add(Result); - break; + break; } -case wxPrintout_GetPPIPrinter: { // wxPrintout::GetPPIPrinter +case wxPrintout_GetPPIPrinter: { // wxPrintout::GetPPIPrinter int x; int y; wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4; @@ -26623,9 +26623,9 @@ case wxPrintout_GetPPIPrinter: { // wxPrintout::GetPPIPrinter rt.addInt(x); rt.addInt(y); rt.addTupleCount(2); - break; + break; } -case wxPrintout_GetPPIScreen: { // wxPrintout::GetPPIScreen +case wxPrintout_GetPPIScreen: { // wxPrintout::GetPPIScreen int x; int y; wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4; @@ -26634,41 +26634,41 @@ case wxPrintout_GetPPIScreen: { // wxPrintout::GetPPIScreen rt.addInt(x); rt.addInt(y); rt.addTupleCount(2); - break; + break; } -case wxPrintout_GetTitle: { // wxPrintout::GetTitle +case wxPrintout_GetTitle: { // wxPrintout::GetTitle wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetTitle(); rt.add(Result); - break; + break; } -case wxPrintout_IsPreview: { // wxPrintout::IsPreview +case wxPrintout_IsPreview: { // wxPrintout::IsPreview wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsPreview(); rt.addBool(Result); - break; + break; } -case wxPrintout_FitThisSizeToPaper: { // wxPrintout::FitThisSizeToPaper +case wxPrintout_FitThisSizeToPaper: { // wxPrintout::FitThisSizeToPaper wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4; int * imageSizeW = (int *) bp; bp += 4; int * imageSizeH = (int *) bp; bp += 4; wxSize imageSize = wxSize(*imageSizeW,*imageSizeH); if(!This) throw wxe_badarg(0); This->FitThisSizeToPaper(imageSize); - break; + break; } -case wxPrintout_FitThisSizeToPage: { // wxPrintout::FitThisSizeToPage +case wxPrintout_FitThisSizeToPage: { // wxPrintout::FitThisSizeToPage wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4; int * imageSizeW = (int *) bp; bp += 4; int * imageSizeH = (int *) bp; bp += 4; wxSize imageSize = wxSize(*imageSizeW,*imageSizeH); if(!This) throw wxe_badarg(0); This->FitThisSizeToPage(imageSize); - break; + break; } -case wxPrintout_FitThisSizeToPageMargins: { // wxPrintout::FitThisSizeToPageMargins +case wxPrintout_FitThisSizeToPageMargins: { // wxPrintout::FitThisSizeToPageMargins wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4; int * imageSizeW = (int *) bp; bp += 4; int * imageSizeH = (int *) bp; bp += 4; @@ -26676,79 +26676,79 @@ case wxPrintout_FitThisSizeToPageMargins: { // wxPrintout::FitThisSizeToPageMarg wxPageSetupDialogData *pageSetupData = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->FitThisSizeToPageMargins(imageSize,*pageSetupData); - break; + break; } -case wxPrintout_MapScreenSizeToPaper: { // wxPrintout::MapScreenSizeToPaper +case wxPrintout_MapScreenSizeToPaper: { // wxPrintout::MapScreenSizeToPaper wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->MapScreenSizeToPaper(); - break; + break; } -case wxPrintout_MapScreenSizeToPage: { // wxPrintout::MapScreenSizeToPage +case wxPrintout_MapScreenSizeToPage: { // wxPrintout::MapScreenSizeToPage wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->MapScreenSizeToPage(); - break; + break; } -case wxPrintout_MapScreenSizeToPageMargins: { // wxPrintout::MapScreenSizeToPageMargins +case wxPrintout_MapScreenSizeToPageMargins: { // wxPrintout::MapScreenSizeToPageMargins wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4; wxPageSetupDialogData *pageSetupData = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->MapScreenSizeToPageMargins(*pageSetupData); - break; + break; } -case wxPrintout_MapScreenSizeToDevice: { // wxPrintout::MapScreenSizeToDevice +case wxPrintout_MapScreenSizeToDevice: { // wxPrintout::MapScreenSizeToDevice wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->MapScreenSizeToDevice(); - break; + break; } -case wxPrintout_GetLogicalPaperRect: { // wxPrintout::GetLogicalPaperRect +case wxPrintout_GetLogicalPaperRect: { // wxPrintout::GetLogicalPaperRect wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxRect Result = This->GetLogicalPaperRect(); rt.add(Result); - break; + break; } -case wxPrintout_GetLogicalPageRect: { // wxPrintout::GetLogicalPageRect +case wxPrintout_GetLogicalPageRect: { // wxPrintout::GetLogicalPageRect wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxRect Result = This->GetLogicalPageRect(); rt.add(Result); - break; + break; } -case wxPrintout_GetLogicalPageMarginsRect: { // wxPrintout::GetLogicalPageMarginsRect +case wxPrintout_GetLogicalPageMarginsRect: { // wxPrintout::GetLogicalPageMarginsRect wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4; wxPageSetupDialogData *pageSetupData = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxRect Result = This->GetLogicalPageMarginsRect(*pageSetupData); rt.add(Result); - break; + break; } -case wxPrintout_SetLogicalOrigin: { // wxPrintout::SetLogicalOrigin +case wxPrintout_SetLogicalOrigin: { // wxPrintout::SetLogicalOrigin wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetLogicalOrigin((wxCoord) *x,(wxCoord) *y); - break; + break; } -case wxPrintout_OffsetLogicalOrigin: { // wxPrintout::OffsetLogicalOrigin +case wxPrintout_OffsetLogicalOrigin: { // wxPrintout::OffsetLogicalOrigin wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4; int * xoff = (int *) bp; bp += 4; int * yoff = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->OffsetLogicalOrigin((wxCoord) *xoff,(wxCoord) *yoff); - break; + break; } -case wxStyledTextCtrl_new_2: { // wxStyledTextCtrl::wxStyledTextCtrl +case wxStyledTextCtrl_new_2: { // wxStyledTextCtrl::wxStyledTextCtrl wxWindowID id=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -26767,26 +26767,26 @@ case wxStyledTextCtrl_new_2: { // wxStyledTextCtrl::wxStyledTextCtrl case 4: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxStyledTextCtrl * Result = new wxStyledTextCtrl(parent,id,pos,size,style); /* Possible memory leak here, class is missing virt dest */ rt.addRef(getRef((void *)Result,memenv), "wxStyledTextCtrl"); - break; + break; } -case wxStyledTextCtrl_new_0: { // wxStyledTextCtrl::wxStyledTextCtrl +case wxStyledTextCtrl_new_0: { // wxStyledTextCtrl::wxStyledTextCtrl wxStyledTextCtrl * Result = new wxStyledTextCtrl(); /* Possible memory leak here, class is missing virt dest */ rt.addRef(getRef((void *)Result,memenv), "wxStyledTextCtrl"); - break; + break; } -case wxStyledTextCtrl_Create: { // wxStyledTextCtrl::Create +case wxStyledTextCtrl_Create: { // wxStyledTextCtrl::Create wxWindowID id=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0; wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -26805,29 +26805,29 @@ case wxStyledTextCtrl_Create: { // wxStyledTextCtrl::Create case 4: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,id,pos,size,style); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_AddText: { // wxStyledTextCtrl::AddText +case wxStyledTextCtrl_AddText: { // wxStyledTextCtrl::AddText wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->AddText(text); - break; + break; } -case wxStyledTextCtrl_AddStyledText: { // wxStyledTextCtrl::AddStyledText +case wxStyledTextCtrl_AddStyledText: { // wxStyledTextCtrl::AddStyledText wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; wxMemoryBuffer *data = (wxMemoryBuffer *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->AddStyledText(*data); - break; + break; } -case wxStyledTextCtrl_InsertText: { // wxStyledTextCtrl::InsertText +case wxStyledTextCtrl_InsertText: { // wxStyledTextCtrl::InsertText wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; int * textLen = (int *) bp; bp += 4; @@ -26835,135 +26835,135 @@ case wxStyledTextCtrl_InsertText: { // wxStyledTextCtrl::InsertText bp += *textLen+((8-((4+ *textLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->InsertText((int) *pos,text); - break; + break; } -case wxStyledTextCtrl_ClearAll: { // wxStyledTextCtrl::ClearAll +case wxStyledTextCtrl_ClearAll: { // wxStyledTextCtrl::ClearAll wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ClearAll(); - break; + break; } -case wxStyledTextCtrl_ClearDocumentStyle: { // wxStyledTextCtrl::ClearDocumentStyle +case wxStyledTextCtrl_ClearDocumentStyle: { // wxStyledTextCtrl::ClearDocumentStyle wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ClearDocumentStyle(); - break; + break; } -case wxStyledTextCtrl_GetLength: { // wxStyledTextCtrl::GetLength +case wxStyledTextCtrl_GetLength: { // wxStyledTextCtrl::GetLength wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetLength(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetCharAt: { // wxStyledTextCtrl::GetCharAt +case wxStyledTextCtrl_GetCharAt: { // wxStyledTextCtrl::GetCharAt wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetCharAt((int) *pos); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetCurrentPos: { // wxStyledTextCtrl::GetCurrentPos +case wxStyledTextCtrl_GetCurrentPos: { // wxStyledTextCtrl::GetCurrentPos wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetCurrentPos(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetAnchor: { // wxStyledTextCtrl::GetAnchor +case wxStyledTextCtrl_GetAnchor: { // wxStyledTextCtrl::GetAnchor wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetAnchor(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetStyleAt: { // wxStyledTextCtrl::GetStyleAt +case wxStyledTextCtrl_GetStyleAt: { // wxStyledTextCtrl::GetStyleAt wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetStyleAt((int) *pos); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_Redo: { // wxStyledTextCtrl::Redo +case wxStyledTextCtrl_Redo: { // wxStyledTextCtrl::Redo wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Redo(); - break; + break; } -case wxStyledTextCtrl_SetUndoCollection: { // wxStyledTextCtrl::SetUndoCollection +case wxStyledTextCtrl_SetUndoCollection: { // wxStyledTextCtrl::SetUndoCollection wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * collectUndo = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetUndoCollection((bool) *collectUndo); - break; + break; } -case wxStyledTextCtrl_SelectAll: { // wxStyledTextCtrl::SelectAll +case wxStyledTextCtrl_SelectAll: { // wxStyledTextCtrl::SelectAll wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SelectAll(); - break; + break; } -case wxStyledTextCtrl_SetSavePoint: { // wxStyledTextCtrl::SetSavePoint +case wxStyledTextCtrl_SetSavePoint: { // wxStyledTextCtrl::SetSavePoint wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetSavePoint(); - break; + break; } -case wxStyledTextCtrl_GetStyledText: { // wxStyledTextCtrl::GetStyledText +case wxStyledTextCtrl_GetStyledText: { // wxStyledTextCtrl::GetStyledText wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * startPos = (int *) bp; bp += 4; int * endPos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxMemoryBuffer * Result = new wxMemoryBuffer(This->GetStyledText((int) *startPos,(int) *endPos)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxMemoryBuffer"); - break; + break; } -case wxStyledTextCtrl_CanRedo: { // wxStyledTextCtrl::CanRedo +case wxStyledTextCtrl_CanRedo: { // wxStyledTextCtrl::CanRedo wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CanRedo(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_MarkerLineFromHandle: { // wxStyledTextCtrl::MarkerLineFromHandle +case wxStyledTextCtrl_MarkerLineFromHandle: { // wxStyledTextCtrl::MarkerLineFromHandle wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * handle = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->MarkerLineFromHandle((int) *handle); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_MarkerDeleteHandle: { // wxStyledTextCtrl::MarkerDeleteHandle +case wxStyledTextCtrl_MarkerDeleteHandle: { // wxStyledTextCtrl::MarkerDeleteHandle wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * handle = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->MarkerDeleteHandle((int) *handle); - break; + break; } -case wxStyledTextCtrl_GetUndoCollection: { // wxStyledTextCtrl::GetUndoCollection +case wxStyledTextCtrl_GetUndoCollection: { // wxStyledTextCtrl::GetUndoCollection wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetUndoCollection(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_GetViewWhiteSpace: { // wxStyledTextCtrl::GetViewWhiteSpace +case wxStyledTextCtrl_GetViewWhiteSpace: { // wxStyledTextCtrl::GetViewWhiteSpace wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetViewWhiteSpace(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetViewWhiteSpace: { // wxStyledTextCtrl::SetViewWhiteSpace +case wxStyledTextCtrl_SetViewWhiteSpace: { // wxStyledTextCtrl::SetViewWhiteSpace wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * viewWS = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetViewWhiteSpace((int) *viewWS); - break; + break; } -case wxStyledTextCtrl_PositionFromPoint: { // wxStyledTextCtrl::PositionFromPoint +case wxStyledTextCtrl_PositionFromPoint: { // wxStyledTextCtrl::PositionFromPoint wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * ptX = (int *) bp; bp += 4; int * ptY = (int *) bp; bp += 4; @@ -26971,39 +26971,39 @@ case wxStyledTextCtrl_PositionFromPoint: { // wxStyledTextCtrl::PositionFromPoin if(!This) throw wxe_badarg(0); int Result = This->PositionFromPoint(pt); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_PositionFromPointClose: { // wxStyledTextCtrl::PositionFromPointClose +case wxStyledTextCtrl_PositionFromPointClose: { // wxStyledTextCtrl::PositionFromPointClose wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->PositionFromPointClose((int) *x,(int) *y); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GotoLine: { // wxStyledTextCtrl::GotoLine +case wxStyledTextCtrl_GotoLine: { // wxStyledTextCtrl::GotoLine wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->GotoLine((int) *line); - break; + break; } -case wxStyledTextCtrl_GotoPos: { // wxStyledTextCtrl::GotoPos +case wxStyledTextCtrl_GotoPos: { // wxStyledTextCtrl::GotoPos wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->GotoPos((int) *pos); - break; + break; } -case wxStyledTextCtrl_SetAnchor: { // wxStyledTextCtrl::SetAnchor +case wxStyledTextCtrl_SetAnchor: { // wxStyledTextCtrl::SetAnchor wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * posAnchor = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetAnchor((int) *posAnchor); - break; + break; } -case wxStyledTextCtrl_GetCurLine: { // wxStyledTextCtrl::GetCurLine +case wxStyledTextCtrl_GetCurLine: { // wxStyledTextCtrl::GetCurLine int linePos; wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); @@ -27011,95 +27011,95 @@ case wxStyledTextCtrl_GetCurLine: { // wxStyledTextCtrl::GetCurLine rt.add(Result); rt.addInt(linePos); rt.addTupleCount(2); - break; + break; } -case wxStyledTextCtrl_GetEndStyled: { // wxStyledTextCtrl::GetEndStyled +case wxStyledTextCtrl_GetEndStyled: { // wxStyledTextCtrl::GetEndStyled wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetEndStyled(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_ConvertEOLs: { // wxStyledTextCtrl::ConvertEOLs +case wxStyledTextCtrl_ConvertEOLs: { // wxStyledTextCtrl::ConvertEOLs wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * eolMode = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->ConvertEOLs((int) *eolMode); - break; + break; } -case wxStyledTextCtrl_GetEOLMode: { // wxStyledTextCtrl::GetEOLMode +case wxStyledTextCtrl_GetEOLMode: { // wxStyledTextCtrl::GetEOLMode wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetEOLMode(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetEOLMode: { // wxStyledTextCtrl::SetEOLMode +case wxStyledTextCtrl_SetEOLMode: { // wxStyledTextCtrl::SetEOLMode wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * eolMode = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetEOLMode((int) *eolMode); - break; + break; } -case wxStyledTextCtrl_StartStyling: { // wxStyledTextCtrl::StartStyling +case wxStyledTextCtrl_StartStyling: { // wxStyledTextCtrl::StartStyling wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; int * mask = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->StartStyling((int) *pos,(int) *mask); - break; + break; } -case wxStyledTextCtrl_SetStyling: { // wxStyledTextCtrl::SetStyling +case wxStyledTextCtrl_SetStyling: { // wxStyledTextCtrl::SetStyling wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * length = (int *) bp; bp += 4; int * style = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetStyling((int) *length,(int) *style); - break; + break; } -case wxStyledTextCtrl_GetBufferedDraw: { // wxStyledTextCtrl::GetBufferedDraw +case wxStyledTextCtrl_GetBufferedDraw: { // wxStyledTextCtrl::GetBufferedDraw wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetBufferedDraw(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_SetBufferedDraw: { // wxStyledTextCtrl::SetBufferedDraw +case wxStyledTextCtrl_SetBufferedDraw: { // wxStyledTextCtrl::SetBufferedDraw wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * buffered = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetBufferedDraw((bool) *buffered); - break; + break; } -case wxStyledTextCtrl_SetTabWidth: { // wxStyledTextCtrl::SetTabWidth +case wxStyledTextCtrl_SetTabWidth: { // wxStyledTextCtrl::SetTabWidth wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * tabWidth = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetTabWidth((int) *tabWidth); - break; + break; } -case wxStyledTextCtrl_GetTabWidth: { // wxStyledTextCtrl::GetTabWidth +case wxStyledTextCtrl_GetTabWidth: { // wxStyledTextCtrl::GetTabWidth wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetTabWidth(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetCodePage: { // wxStyledTextCtrl::SetCodePage +case wxStyledTextCtrl_SetCodePage: { // wxStyledTextCtrl::SetCodePage wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * codePage = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetCodePage((int) *codePage); - break; + break; } -case wxStyledTextCtrl_MarkerDefine: { // wxStyledTextCtrl::MarkerDefine +case wxStyledTextCtrl_MarkerDefine: { // wxStyledTextCtrl::MarkerDefine wxColour foreground= wxNullColour; wxColour background= wxNullColour; wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * markerNumber = (int *) bp; bp += 4; int * markerSymbol = (int *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * foregroundR = (int *) bp; bp += 4; int * foregroundG = (int *) bp; bp += 4; @@ -27116,12 +27116,12 @@ case wxStyledTextCtrl_MarkerDefine: { // wxStyledTextCtrl::MarkerDefine background = wxColour(*backgroundR,*backgroundG,*backgroundB,*backgroundA); bp += 4; /* Align */ } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->MarkerDefine((int) *markerNumber,(int) *markerSymbol,foreground,background); - break; + break; } -case wxStyledTextCtrl_MarkerSetForeground: { // wxStyledTextCtrl::MarkerSetForeground +case wxStyledTextCtrl_MarkerSetForeground: { // wxStyledTextCtrl::MarkerSetForeground wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * markerNumber = (int *) bp; bp += 4; int * foreR = (int *) bp; bp += 4; @@ -27131,9 +27131,9 @@ case wxStyledTextCtrl_MarkerSetForeground: { // wxStyledTextCtrl::MarkerSetForeg wxColour fore = wxColour(*foreR,*foreG,*foreB,*foreA); if(!This) throw wxe_badarg(0); This->MarkerSetForeground((int) *markerNumber,fore); - break; + break; } -case wxStyledTextCtrl_MarkerSetBackground: { // wxStyledTextCtrl::MarkerSetBackground +case wxStyledTextCtrl_MarkerSetBackground: { // wxStyledTextCtrl::MarkerSetBackground wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * markerNumber = (int *) bp; bp += 4; int * backR = (int *) bp; bp += 4; @@ -27143,153 +27143,153 @@ case wxStyledTextCtrl_MarkerSetBackground: { // wxStyledTextCtrl::MarkerSetBackg wxColour back = wxColour(*backR,*backG,*backB,*backA); if(!This) throw wxe_badarg(0); This->MarkerSetBackground((int) *markerNumber,back); - break; + break; } -case wxStyledTextCtrl_MarkerAdd: { // wxStyledTextCtrl::MarkerAdd +case wxStyledTextCtrl_MarkerAdd: { // wxStyledTextCtrl::MarkerAdd wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; int * markerNumber = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->MarkerAdd((int) *line,(int) *markerNumber); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_MarkerDelete: { // wxStyledTextCtrl::MarkerDelete +case wxStyledTextCtrl_MarkerDelete: { // wxStyledTextCtrl::MarkerDelete wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; int * markerNumber = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->MarkerDelete((int) *line,(int) *markerNumber); - break; + break; } -case wxStyledTextCtrl_MarkerDeleteAll: { // wxStyledTextCtrl::MarkerDeleteAll +case wxStyledTextCtrl_MarkerDeleteAll: { // wxStyledTextCtrl::MarkerDeleteAll wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * markerNumber = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->MarkerDeleteAll((int) *markerNumber); - break; + break; } -case wxStyledTextCtrl_MarkerGet: { // wxStyledTextCtrl::MarkerGet +case wxStyledTextCtrl_MarkerGet: { // wxStyledTextCtrl::MarkerGet wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->MarkerGet((int) *line); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_MarkerNext: { // wxStyledTextCtrl::MarkerNext +case wxStyledTextCtrl_MarkerNext: { // wxStyledTextCtrl::MarkerNext wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * lineStart = (int *) bp; bp += 4; int * markerMask = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->MarkerNext((int) *lineStart,(int) *markerMask); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_MarkerPrevious: { // wxStyledTextCtrl::MarkerPrevious +case wxStyledTextCtrl_MarkerPrevious: { // wxStyledTextCtrl::MarkerPrevious wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * lineStart = (int *) bp; bp += 4; int * markerMask = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->MarkerPrevious((int) *lineStart,(int) *markerMask); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_MarkerDefineBitmap: { // wxStyledTextCtrl::MarkerDefineBitmap +case wxStyledTextCtrl_MarkerDefineBitmap: { // wxStyledTextCtrl::MarkerDefineBitmap wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * markerNumber = (int *) bp; bp += 4; wxBitmap *bmp = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->MarkerDefineBitmap((int) *markerNumber,*bmp); - break; + break; } -case wxStyledTextCtrl_MarkerAddSet: { // wxStyledTextCtrl::MarkerAddSet +case wxStyledTextCtrl_MarkerAddSet: { // wxStyledTextCtrl::MarkerAddSet wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; int * set = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->MarkerAddSet((int) *line,(int) *set); - break; + break; } -case wxStyledTextCtrl_MarkerSetAlpha: { // wxStyledTextCtrl::MarkerSetAlpha +case wxStyledTextCtrl_MarkerSetAlpha: { // wxStyledTextCtrl::MarkerSetAlpha wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * markerNumber = (int *) bp; bp += 4; int * alpha = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->MarkerSetAlpha((int) *markerNumber,(int) *alpha); - break; + break; } -case wxStyledTextCtrl_SetMarginType: { // wxStyledTextCtrl::SetMarginType +case wxStyledTextCtrl_SetMarginType: { // wxStyledTextCtrl::SetMarginType wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * margin = (int *) bp; bp += 4; int * marginType = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMarginType((int) *margin,(int) *marginType); - break; + break; } -case wxStyledTextCtrl_GetMarginType: { // wxStyledTextCtrl::GetMarginType +case wxStyledTextCtrl_GetMarginType: { // wxStyledTextCtrl::GetMarginType wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * margin = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMarginType((int) *margin); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetMarginWidth: { // wxStyledTextCtrl::SetMarginWidth +case wxStyledTextCtrl_SetMarginWidth: { // wxStyledTextCtrl::SetMarginWidth wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * margin = (int *) bp; bp += 4; int * pixelWidth = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMarginWidth((int) *margin,(int) *pixelWidth); - break; + break; } -case wxStyledTextCtrl_GetMarginWidth: { // wxStyledTextCtrl::GetMarginWidth +case wxStyledTextCtrl_GetMarginWidth: { // wxStyledTextCtrl::GetMarginWidth wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * margin = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMarginWidth((int) *margin); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetMarginMask: { // wxStyledTextCtrl::SetMarginMask +case wxStyledTextCtrl_SetMarginMask: { // wxStyledTextCtrl::SetMarginMask wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * margin = (int *) bp; bp += 4; int * mask = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMarginMask((int) *margin,(int) *mask); - break; + break; } -case wxStyledTextCtrl_GetMarginMask: { // wxStyledTextCtrl::GetMarginMask +case wxStyledTextCtrl_GetMarginMask: { // wxStyledTextCtrl::GetMarginMask wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * margin = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMarginMask((int) *margin); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetMarginSensitive: { // wxStyledTextCtrl::SetMarginSensitive +case wxStyledTextCtrl_SetMarginSensitive: { // wxStyledTextCtrl::SetMarginSensitive wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * margin = (int *) bp; bp += 4; bool * sensitive = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMarginSensitive((int) *margin,(bool) *sensitive); - break; + break; } -case wxStyledTextCtrl_GetMarginSensitive: { // wxStyledTextCtrl::GetMarginSensitive +case wxStyledTextCtrl_GetMarginSensitive: { // wxStyledTextCtrl::GetMarginSensitive wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * margin = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetMarginSensitive((int) *margin); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_StyleClearAll: { // wxStyledTextCtrl::StyleClearAll +case wxStyledTextCtrl_StyleClearAll: { // wxStyledTextCtrl::StyleClearAll wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->StyleClearAll(); - break; + break; } -case wxStyledTextCtrl_StyleSetForeground: { // wxStyledTextCtrl::StyleSetForeground +case wxStyledTextCtrl_StyleSetForeground: { // wxStyledTextCtrl::StyleSetForeground wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * style = (int *) bp; bp += 4; int * foreR = (int *) bp; bp += 4; @@ -27299,9 +27299,9 @@ case wxStyledTextCtrl_StyleSetForeground: { // wxStyledTextCtrl::StyleSetForegro wxColour fore = wxColour(*foreR,*foreG,*foreB,*foreA); if(!This) throw wxe_badarg(0); This->StyleSetForeground((int) *style,fore); - break; + break; } -case wxStyledTextCtrl_StyleSetBackground: { // wxStyledTextCtrl::StyleSetBackground +case wxStyledTextCtrl_StyleSetBackground: { // wxStyledTextCtrl::StyleSetBackground wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * style = (int *) bp; bp += 4; int * backR = (int *) bp; bp += 4; @@ -27311,33 +27311,33 @@ case wxStyledTextCtrl_StyleSetBackground: { // wxStyledTextCtrl::StyleSetBackgro wxColour back = wxColour(*backR,*backG,*backB,*backA); if(!This) throw wxe_badarg(0); This->StyleSetBackground((int) *style,back); - break; + break; } -case wxStyledTextCtrl_StyleSetBold: { // wxStyledTextCtrl::StyleSetBold +case wxStyledTextCtrl_StyleSetBold: { // wxStyledTextCtrl::StyleSetBold wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * style = (int *) bp; bp += 4; bool * bold = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->StyleSetBold((int) *style,(bool) *bold); - break; + break; } -case wxStyledTextCtrl_StyleSetItalic: { // wxStyledTextCtrl::StyleSetItalic +case wxStyledTextCtrl_StyleSetItalic: { // wxStyledTextCtrl::StyleSetItalic wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * style = (int *) bp; bp += 4; bool * italic = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->StyleSetItalic((int) *style,(bool) *italic); - break; + break; } -case wxStyledTextCtrl_StyleSetSize: { // wxStyledTextCtrl::StyleSetSize +case wxStyledTextCtrl_StyleSetSize: { // wxStyledTextCtrl::StyleSetSize wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * style = (int *) bp; bp += 4; int * sizePoints = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->StyleSetSize((int) *style,(int) *sizePoints); - break; + break; } -case wxStyledTextCtrl_StyleSetFaceName: { // wxStyledTextCtrl::StyleSetFaceName +case wxStyledTextCtrl_StyleSetFaceName: { // wxStyledTextCtrl::StyleSetFaceName wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * style = (int *) bp; bp += 4; int * fontNameLen = (int *) bp; bp += 4; @@ -27345,47 +27345,47 @@ case wxStyledTextCtrl_StyleSetFaceName: { // wxStyledTextCtrl::StyleSetFaceName bp += *fontNameLen+((8-((4+ *fontNameLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->StyleSetFaceName((int) *style,fontName); - break; + break; } -case wxStyledTextCtrl_StyleSetEOLFilled: { // wxStyledTextCtrl::StyleSetEOLFilled +case wxStyledTextCtrl_StyleSetEOLFilled: { // wxStyledTextCtrl::StyleSetEOLFilled wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * style = (int *) bp; bp += 4; bool * filled = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->StyleSetEOLFilled((int) *style,(bool) *filled); - break; + break; } -case wxStyledTextCtrl_StyleResetDefault: { // wxStyledTextCtrl::StyleResetDefault +case wxStyledTextCtrl_StyleResetDefault: { // wxStyledTextCtrl::StyleResetDefault wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->StyleResetDefault(); - break; + break; } -case wxStyledTextCtrl_StyleSetUnderline: { // wxStyledTextCtrl::StyleSetUnderline +case wxStyledTextCtrl_StyleSetUnderline: { // wxStyledTextCtrl::StyleSetUnderline wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * style = (int *) bp; bp += 4; bool * underline = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->StyleSetUnderline((int) *style,(bool) *underline); - break; + break; } -case wxStyledTextCtrl_StyleSetCase: { // wxStyledTextCtrl::StyleSetCase +case wxStyledTextCtrl_StyleSetCase: { // wxStyledTextCtrl::StyleSetCase wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * style = (int *) bp; bp += 4; int * caseForce = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->StyleSetCase((int) *style,(int) *caseForce); - break; + break; } -case wxStyledTextCtrl_StyleSetHotSpot: { // wxStyledTextCtrl::StyleSetHotSpot +case wxStyledTextCtrl_StyleSetHotSpot: { // wxStyledTextCtrl::StyleSetHotSpot wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * style = (int *) bp; bp += 4; bool * hotspot = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->StyleSetHotSpot((int) *style,(bool) *hotspot); - break; + break; } -case wxStyledTextCtrl_SetSelForeground: { // wxStyledTextCtrl::SetSelForeground +case wxStyledTextCtrl_SetSelForeground: { // wxStyledTextCtrl::SetSelForeground wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * useSetting = (bool *) bp; bp += 4; int * foreR = (int *) bp; bp += 4; @@ -27395,9 +27395,9 @@ case wxStyledTextCtrl_SetSelForeground: { // wxStyledTextCtrl::SetSelForeground wxColour fore = wxColour(*foreR,*foreG,*foreB,*foreA); if(!This) throw wxe_badarg(0); This->SetSelForeground((bool) *useSetting,fore); - break; + break; } -case wxStyledTextCtrl_SetSelBackground: { // wxStyledTextCtrl::SetSelBackground +case wxStyledTextCtrl_SetSelBackground: { // wxStyledTextCtrl::SetSelBackground wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * useSetting = (bool *) bp; bp += 4; int * backR = (int *) bp; bp += 4; @@ -27407,23 +27407,23 @@ case wxStyledTextCtrl_SetSelBackground: { // wxStyledTextCtrl::SetSelBackground wxColour back = wxColour(*backR,*backG,*backB,*backA); if(!This) throw wxe_badarg(0); This->SetSelBackground((bool) *useSetting,back); - break; + break; } -case wxStyledTextCtrl_GetSelAlpha: { // wxStyledTextCtrl::GetSelAlpha +case wxStyledTextCtrl_GetSelAlpha: { // wxStyledTextCtrl::GetSelAlpha wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetSelAlpha(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetSelAlpha: { // wxStyledTextCtrl::SetSelAlpha +case wxStyledTextCtrl_SetSelAlpha: { // wxStyledTextCtrl::SetSelAlpha wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * alpha = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSelAlpha((int) *alpha); - break; + break; } -case wxStyledTextCtrl_SetCaretForeground: { // wxStyledTextCtrl::SetCaretForeground +case wxStyledTextCtrl_SetCaretForeground: { // wxStyledTextCtrl::SetCaretForeground wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * foreR = (int *) bp; bp += 4; int * foreG = (int *) bp; bp += 4; @@ -27432,100 +27432,100 @@ case wxStyledTextCtrl_SetCaretForeground: { // wxStyledTextCtrl::SetCaretForegro wxColour fore = wxColour(*foreR,*foreG,*foreB,*foreA); if(!This) throw wxe_badarg(0); This->SetCaretForeground(fore); - break; + break; } -case wxStyledTextCtrl_CmdKeyAssign: { // wxStyledTextCtrl::CmdKeyAssign +case wxStyledTextCtrl_CmdKeyAssign: { // wxStyledTextCtrl::CmdKeyAssign wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * key = (int *) bp; bp += 4; int * modifiers = (int *) bp; bp += 4; int * cmd = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->CmdKeyAssign((int) *key,(int) *modifiers,(int) *cmd); - break; + break; } -case wxStyledTextCtrl_CmdKeyClear: { // wxStyledTextCtrl::CmdKeyClear +case wxStyledTextCtrl_CmdKeyClear: { // wxStyledTextCtrl::CmdKeyClear wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * key = (int *) bp; bp += 4; int * modifiers = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->CmdKeyClear((int) *key,(int) *modifiers); - break; + break; } -case wxStyledTextCtrl_CmdKeyClearAll: { // wxStyledTextCtrl::CmdKeyClearAll +case wxStyledTextCtrl_CmdKeyClearAll: { // wxStyledTextCtrl::CmdKeyClearAll wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->CmdKeyClearAll(); - break; + break; } -case wxStyledTextCtrl_SetStyleBytes: { // wxStyledTextCtrl::SetStyleBytes +case wxStyledTextCtrl_SetStyleBytes: { // wxStyledTextCtrl::SetStyleBytes char styleBytes; wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * length = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetStyleBytes((int) *length,&styleBytes); rt.addInt(styleBytes); - break; + break; } -case wxStyledTextCtrl_StyleSetVisible: { // wxStyledTextCtrl::StyleSetVisible +case wxStyledTextCtrl_StyleSetVisible: { // wxStyledTextCtrl::StyleSetVisible wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * style = (int *) bp; bp += 4; bool * visible = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->StyleSetVisible((int) *style,(bool) *visible); - break; + break; } -case wxStyledTextCtrl_GetCaretPeriod: { // wxStyledTextCtrl::GetCaretPeriod +case wxStyledTextCtrl_GetCaretPeriod: { // wxStyledTextCtrl::GetCaretPeriod wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetCaretPeriod(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetCaretPeriod: { // wxStyledTextCtrl::SetCaretPeriod +case wxStyledTextCtrl_SetCaretPeriod: { // wxStyledTextCtrl::SetCaretPeriod wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * periodMilliseconds = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetCaretPeriod((int) *periodMilliseconds); - break; + break; } -case wxStyledTextCtrl_SetWordChars: { // wxStyledTextCtrl::SetWordChars +case wxStyledTextCtrl_SetWordChars: { // wxStyledTextCtrl::SetWordChars wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * charactersLen = (int *) bp; bp += 4; wxString characters = wxString(bp, wxConvUTF8); bp += *charactersLen+((8-((0+ *charactersLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetWordChars(characters); - break; + break; } -case wxStyledTextCtrl_BeginUndoAction: { // wxStyledTextCtrl::BeginUndoAction +case wxStyledTextCtrl_BeginUndoAction: { // wxStyledTextCtrl::BeginUndoAction wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->BeginUndoAction(); - break; + break; } -case wxStyledTextCtrl_EndUndoAction: { // wxStyledTextCtrl::EndUndoAction +case wxStyledTextCtrl_EndUndoAction: { // wxStyledTextCtrl::EndUndoAction wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->EndUndoAction(); - break; + break; } -case wxStyledTextCtrl_IndicatorSetStyle: { // wxStyledTextCtrl::IndicatorSetStyle +case wxStyledTextCtrl_IndicatorSetStyle: { // wxStyledTextCtrl::IndicatorSetStyle wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * indic = (int *) bp; bp += 4; int * style = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->IndicatorSetStyle((int) *indic,(int) *style); - break; + break; } -case wxStyledTextCtrl_IndicatorGetStyle: { // wxStyledTextCtrl::IndicatorGetStyle +case wxStyledTextCtrl_IndicatorGetStyle: { // wxStyledTextCtrl::IndicatorGetStyle wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * indic = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->IndicatorGetStyle((int) *indic); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_IndicatorSetForeground: { // wxStyledTextCtrl::IndicatorSetForeground +case wxStyledTextCtrl_IndicatorSetForeground: { // wxStyledTextCtrl::IndicatorSetForeground wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * indic = (int *) bp; bp += 4; int * foreR = (int *) bp; bp += 4; @@ -27535,17 +27535,17 @@ case wxStyledTextCtrl_IndicatorSetForeground: { // wxStyledTextCtrl::IndicatorSe wxColour fore = wxColour(*foreR,*foreG,*foreB,*foreA); if(!This) throw wxe_badarg(0); This->IndicatorSetForeground((int) *indic,fore); - break; + break; } -case wxStyledTextCtrl_IndicatorGetForeground: { // wxStyledTextCtrl::IndicatorGetForeground +case wxStyledTextCtrl_IndicatorGetForeground: { // wxStyledTextCtrl::IndicatorGetForeground wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * indic = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->IndicatorGetForeground((int) *indic); rt.add(Result); - break; + break; } -case wxStyledTextCtrl_SetWhitespaceForeground: { // wxStyledTextCtrl::SetWhitespaceForeground +case wxStyledTextCtrl_SetWhitespaceForeground: { // wxStyledTextCtrl::SetWhitespaceForeground wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * useSetting = (bool *) bp; bp += 4; int * foreR = (int *) bp; bp += 4; @@ -27555,9 +27555,9 @@ case wxStyledTextCtrl_SetWhitespaceForeground: { // wxStyledTextCtrl::SetWhitesp wxColour fore = wxColour(*foreR,*foreG,*foreB,*foreA); if(!This) throw wxe_badarg(0); This->SetWhitespaceForeground((bool) *useSetting,fore); - break; + break; } -case wxStyledTextCtrl_SetWhitespaceBackground: { // wxStyledTextCtrl::SetWhitespaceBackground +case wxStyledTextCtrl_SetWhitespaceBackground: { // wxStyledTextCtrl::SetWhitespaceBackground wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * useSetting = (bool *) bp; bp += 4; int * backR = (int *) bp; bp += 4; @@ -27567,60 +27567,60 @@ case wxStyledTextCtrl_SetWhitespaceBackground: { // wxStyledTextCtrl::SetWhitesp wxColour back = wxColour(*backR,*backG,*backB,*backA); if(!This) throw wxe_badarg(0); This->SetWhitespaceBackground((bool) *useSetting,back); - break; + break; } -case wxStyledTextCtrl_GetStyleBits: { // wxStyledTextCtrl::GetStyleBits +case wxStyledTextCtrl_GetStyleBits: { // wxStyledTextCtrl::GetStyleBits wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetStyleBits(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetLineState: { // wxStyledTextCtrl::SetLineState +case wxStyledTextCtrl_SetLineState: { // wxStyledTextCtrl::SetLineState wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; int * state = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetLineState((int) *line,(int) *state); - break; + break; } -case wxStyledTextCtrl_GetLineState: { // wxStyledTextCtrl::GetLineState +case wxStyledTextCtrl_GetLineState: { // wxStyledTextCtrl::GetLineState wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetLineState((int) *line); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetMaxLineState: { // wxStyledTextCtrl::GetMaxLineState +case wxStyledTextCtrl_GetMaxLineState: { // wxStyledTextCtrl::GetMaxLineState wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMaxLineState(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetCaretLineVisible: { // wxStyledTextCtrl::GetCaretLineVisible +case wxStyledTextCtrl_GetCaretLineVisible: { // wxStyledTextCtrl::GetCaretLineVisible wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetCaretLineVisible(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_SetCaretLineVisible: { // wxStyledTextCtrl::SetCaretLineVisible +case wxStyledTextCtrl_SetCaretLineVisible: { // wxStyledTextCtrl::SetCaretLineVisible wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * show = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetCaretLineVisible((bool) *show); - break; + break; } -case wxStyledTextCtrl_GetCaretLineBackground: { // wxStyledTextCtrl::GetCaretLineBackground +case wxStyledTextCtrl_GetCaretLineBackground: { // wxStyledTextCtrl::GetCaretLineBackground wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetCaretLineBackground(); rt.add(Result); - break; + break; } -case wxStyledTextCtrl_SetCaretLineBackground: { // wxStyledTextCtrl::SetCaretLineBackground +case wxStyledTextCtrl_SetCaretLineBackground: { // wxStyledTextCtrl::SetCaretLineBackground wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * backR = (int *) bp; bp += 4; int * backG = (int *) bp; bp += 4; @@ -27629,9 +27629,9 @@ case wxStyledTextCtrl_SetCaretLineBackground: { // wxStyledTextCtrl::SetCaretLin wxColour back = wxColour(*backR,*backG,*backB,*backA); if(!This) throw wxe_badarg(0); This->SetCaretLineBackground(back); - break; + break; } -case wxStyledTextCtrl_AutoCompShow: { // wxStyledTextCtrl::AutoCompShow +case wxStyledTextCtrl_AutoCompShow: { // wxStyledTextCtrl::AutoCompShow wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * lenEntered = (int *) bp; bp += 4; int * itemListLen = (int *) bp; bp += 4; @@ -27639,118 +27639,118 @@ case wxStyledTextCtrl_AutoCompShow: { // wxStyledTextCtrl::AutoCompShow bp += *itemListLen+((8-((4+ *itemListLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->AutoCompShow((int) *lenEntered,itemList); - break; + break; } -case wxStyledTextCtrl_AutoCompCancel: { // wxStyledTextCtrl::AutoCompCancel +case wxStyledTextCtrl_AutoCompCancel: { // wxStyledTextCtrl::AutoCompCancel wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->AutoCompCancel(); - break; + break; } -case wxStyledTextCtrl_AutoCompActive: { // wxStyledTextCtrl::AutoCompActive +case wxStyledTextCtrl_AutoCompActive: { // wxStyledTextCtrl::AutoCompActive wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->AutoCompActive(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_AutoCompPosStart: { // wxStyledTextCtrl::AutoCompPosStart +case wxStyledTextCtrl_AutoCompPosStart: { // wxStyledTextCtrl::AutoCompPosStart wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->AutoCompPosStart(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_AutoCompComplete: { // wxStyledTextCtrl::AutoCompComplete +case wxStyledTextCtrl_AutoCompComplete: { // wxStyledTextCtrl::AutoCompComplete wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->AutoCompComplete(); - break; + break; } -case wxStyledTextCtrl_AutoCompStops: { // wxStyledTextCtrl::AutoCompStops +case wxStyledTextCtrl_AutoCompStops: { // wxStyledTextCtrl::AutoCompStops wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * characterSetLen = (int *) bp; bp += 4; wxString characterSet = wxString(bp, wxConvUTF8); bp += *characterSetLen+((8-((0+ *characterSetLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->AutoCompStops(characterSet); - break; + break; } -case wxStyledTextCtrl_AutoCompSetSeparator: { // wxStyledTextCtrl::AutoCompSetSeparator +case wxStyledTextCtrl_AutoCompSetSeparator: { // wxStyledTextCtrl::AutoCompSetSeparator wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * separatorCharacter = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->AutoCompSetSeparator((int) *separatorCharacter); - break; + break; } -case wxStyledTextCtrl_AutoCompGetSeparator: { // wxStyledTextCtrl::AutoCompGetSeparator +case wxStyledTextCtrl_AutoCompGetSeparator: { // wxStyledTextCtrl::AutoCompGetSeparator wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->AutoCompGetSeparator(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_AutoCompSelect: { // wxStyledTextCtrl::AutoCompSelect +case wxStyledTextCtrl_AutoCompSelect: { // wxStyledTextCtrl::AutoCompSelect wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->AutoCompSelect(text); - break; + break; } -case wxStyledTextCtrl_AutoCompSetCancelAtStart: { // wxStyledTextCtrl::AutoCompSetCancelAtStart +case wxStyledTextCtrl_AutoCompSetCancelAtStart: { // wxStyledTextCtrl::AutoCompSetCancelAtStart wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * cancel = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->AutoCompSetCancelAtStart((bool) *cancel); - break; + break; } -case wxStyledTextCtrl_AutoCompGetCancelAtStart: { // wxStyledTextCtrl::AutoCompGetCancelAtStart +case wxStyledTextCtrl_AutoCompGetCancelAtStart: { // wxStyledTextCtrl::AutoCompGetCancelAtStart wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->AutoCompGetCancelAtStart(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_AutoCompSetFillUps: { // wxStyledTextCtrl::AutoCompSetFillUps +case wxStyledTextCtrl_AutoCompSetFillUps: { // wxStyledTextCtrl::AutoCompSetFillUps wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * characterSetLen = (int *) bp; bp += 4; wxString characterSet = wxString(bp, wxConvUTF8); bp += *characterSetLen+((8-((0+ *characterSetLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->AutoCompSetFillUps(characterSet); - break; + break; } -case wxStyledTextCtrl_AutoCompSetChooseSingle: { // wxStyledTextCtrl::AutoCompSetChooseSingle +case wxStyledTextCtrl_AutoCompSetChooseSingle: { // wxStyledTextCtrl::AutoCompSetChooseSingle wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * chooseSingle = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->AutoCompSetChooseSingle((bool) *chooseSingle); - break; + break; } -case wxStyledTextCtrl_AutoCompGetChooseSingle: { // wxStyledTextCtrl::AutoCompGetChooseSingle +case wxStyledTextCtrl_AutoCompGetChooseSingle: { // wxStyledTextCtrl::AutoCompGetChooseSingle wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->AutoCompGetChooseSingle(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_AutoCompSetIgnoreCase: { // wxStyledTextCtrl::AutoCompSetIgnoreCase +case wxStyledTextCtrl_AutoCompSetIgnoreCase: { // wxStyledTextCtrl::AutoCompSetIgnoreCase wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * ignoreCase = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->AutoCompSetIgnoreCase((bool) *ignoreCase); - break; + break; } -case wxStyledTextCtrl_AutoCompGetIgnoreCase: { // wxStyledTextCtrl::AutoCompGetIgnoreCase +case wxStyledTextCtrl_AutoCompGetIgnoreCase: { // wxStyledTextCtrl::AutoCompGetIgnoreCase wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->AutoCompGetIgnoreCase(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_UserListShow: { // wxStyledTextCtrl::UserListShow +case wxStyledTextCtrl_UserListShow: { // wxStyledTextCtrl::UserListShow wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * listType = (int *) bp; bp += 4; int * itemListLen = (int *) bp; bp += 4; @@ -27758,287 +27758,287 @@ case wxStyledTextCtrl_UserListShow: { // wxStyledTextCtrl::UserListShow bp += *itemListLen+((8-((4+ *itemListLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->UserListShow((int) *listType,itemList); - break; + break; } -case wxStyledTextCtrl_AutoCompSetAutoHide: { // wxStyledTextCtrl::AutoCompSetAutoHide +case wxStyledTextCtrl_AutoCompSetAutoHide: { // wxStyledTextCtrl::AutoCompSetAutoHide wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * autoHide = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->AutoCompSetAutoHide((bool) *autoHide); - break; + break; } -case wxStyledTextCtrl_AutoCompGetAutoHide: { // wxStyledTextCtrl::AutoCompGetAutoHide +case wxStyledTextCtrl_AutoCompGetAutoHide: { // wxStyledTextCtrl::AutoCompGetAutoHide wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->AutoCompGetAutoHide(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_AutoCompSetDropRestOfWord: { // wxStyledTextCtrl::AutoCompSetDropRestOfWord +case wxStyledTextCtrl_AutoCompSetDropRestOfWord: { // wxStyledTextCtrl::AutoCompSetDropRestOfWord wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * dropRestOfWord = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->AutoCompSetDropRestOfWord((bool) *dropRestOfWord); - break; + break; } -case wxStyledTextCtrl_AutoCompGetDropRestOfWord: { // wxStyledTextCtrl::AutoCompGetDropRestOfWord +case wxStyledTextCtrl_AutoCompGetDropRestOfWord: { // wxStyledTextCtrl::AutoCompGetDropRestOfWord wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->AutoCompGetDropRestOfWord(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_RegisterImage: { // wxStyledTextCtrl::RegisterImage +case wxStyledTextCtrl_RegisterImage: { // wxStyledTextCtrl::RegisterImage wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * type = (int *) bp; bp += 4; wxBitmap *bmp = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->RegisterImage((int) *type,*bmp); - break; + break; } -case wxStyledTextCtrl_ClearRegisteredImages: { // wxStyledTextCtrl::ClearRegisteredImages +case wxStyledTextCtrl_ClearRegisteredImages: { // wxStyledTextCtrl::ClearRegisteredImages wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ClearRegisteredImages(); - break; + break; } -case wxStyledTextCtrl_AutoCompGetTypeSeparator: { // wxStyledTextCtrl::AutoCompGetTypeSeparator +case wxStyledTextCtrl_AutoCompGetTypeSeparator: { // wxStyledTextCtrl::AutoCompGetTypeSeparator wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->AutoCompGetTypeSeparator(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_AutoCompSetTypeSeparator: { // wxStyledTextCtrl::AutoCompSetTypeSeparator +case wxStyledTextCtrl_AutoCompSetTypeSeparator: { // wxStyledTextCtrl::AutoCompSetTypeSeparator wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * separatorCharacter = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->AutoCompSetTypeSeparator((int) *separatorCharacter); - break; + break; } -case wxStyledTextCtrl_AutoCompSetMaxWidth: { // wxStyledTextCtrl::AutoCompSetMaxWidth +case wxStyledTextCtrl_AutoCompSetMaxWidth: { // wxStyledTextCtrl::AutoCompSetMaxWidth wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * characterCount = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->AutoCompSetMaxWidth((int) *characterCount); - break; + break; } -case wxStyledTextCtrl_AutoCompGetMaxWidth: { // wxStyledTextCtrl::AutoCompGetMaxWidth +case wxStyledTextCtrl_AutoCompGetMaxWidth: { // wxStyledTextCtrl::AutoCompGetMaxWidth wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->AutoCompGetMaxWidth(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_AutoCompSetMaxHeight: { // wxStyledTextCtrl::AutoCompSetMaxHeight +case wxStyledTextCtrl_AutoCompSetMaxHeight: { // wxStyledTextCtrl::AutoCompSetMaxHeight wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * rowCount = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->AutoCompSetMaxHeight((int) *rowCount); - break; + break; } -case wxStyledTextCtrl_AutoCompGetMaxHeight: { // wxStyledTextCtrl::AutoCompGetMaxHeight +case wxStyledTextCtrl_AutoCompGetMaxHeight: { // wxStyledTextCtrl::AutoCompGetMaxHeight wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->AutoCompGetMaxHeight(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetIndent: { // wxStyledTextCtrl::SetIndent +case wxStyledTextCtrl_SetIndent: { // wxStyledTextCtrl::SetIndent wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * indentSize = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetIndent((int) *indentSize); - break; + break; } -case wxStyledTextCtrl_GetIndent: { // wxStyledTextCtrl::GetIndent +case wxStyledTextCtrl_GetIndent: { // wxStyledTextCtrl::GetIndent wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetIndent(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetUseTabs: { // wxStyledTextCtrl::SetUseTabs +case wxStyledTextCtrl_SetUseTabs: { // wxStyledTextCtrl::SetUseTabs wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * useTabs = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetUseTabs((bool) *useTabs); - break; + break; } -case wxStyledTextCtrl_GetUseTabs: { // wxStyledTextCtrl::GetUseTabs +case wxStyledTextCtrl_GetUseTabs: { // wxStyledTextCtrl::GetUseTabs wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetUseTabs(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_SetLineIndentation: { // wxStyledTextCtrl::SetLineIndentation +case wxStyledTextCtrl_SetLineIndentation: { // wxStyledTextCtrl::SetLineIndentation wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; int * indentSize = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetLineIndentation((int) *line,(int) *indentSize); - break; + break; } -case wxStyledTextCtrl_GetLineIndentation: { // wxStyledTextCtrl::GetLineIndentation +case wxStyledTextCtrl_GetLineIndentation: { // wxStyledTextCtrl::GetLineIndentation wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetLineIndentation((int) *line); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetLineIndentPosition: { // wxStyledTextCtrl::GetLineIndentPosition +case wxStyledTextCtrl_GetLineIndentPosition: { // wxStyledTextCtrl::GetLineIndentPosition wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetLineIndentPosition((int) *line); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetColumn: { // wxStyledTextCtrl::GetColumn +case wxStyledTextCtrl_GetColumn: { // wxStyledTextCtrl::GetColumn wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetColumn((int) *pos); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetUseHorizontalScrollBar: { // wxStyledTextCtrl::SetUseHorizontalScrollBar +case wxStyledTextCtrl_SetUseHorizontalScrollBar: { // wxStyledTextCtrl::SetUseHorizontalScrollBar wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * show = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetUseHorizontalScrollBar((bool) *show); - break; + break; } -case wxStyledTextCtrl_GetUseHorizontalScrollBar: { // wxStyledTextCtrl::GetUseHorizontalScrollBar +case wxStyledTextCtrl_GetUseHorizontalScrollBar: { // wxStyledTextCtrl::GetUseHorizontalScrollBar wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetUseHorizontalScrollBar(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_SetIndentationGuides: { // wxStyledTextCtrl::SetIndentationGuides +case wxStyledTextCtrl_SetIndentationGuides: { // wxStyledTextCtrl::SetIndentationGuides wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * show = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetIndentationGuides((bool) *show); - break; + break; } -case wxStyledTextCtrl_GetIndentationGuides: { // wxStyledTextCtrl::GetIndentationGuides +case wxStyledTextCtrl_GetIndentationGuides: { // wxStyledTextCtrl::GetIndentationGuides wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetIndentationGuides(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_SetHighlightGuide: { // wxStyledTextCtrl::SetHighlightGuide +case wxStyledTextCtrl_SetHighlightGuide: { // wxStyledTextCtrl::SetHighlightGuide wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * column = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetHighlightGuide((int) *column); - break; + break; } -case wxStyledTextCtrl_GetHighlightGuide: { // wxStyledTextCtrl::GetHighlightGuide +case wxStyledTextCtrl_GetHighlightGuide: { // wxStyledTextCtrl::GetHighlightGuide wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetHighlightGuide(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetLineEndPosition: { // wxStyledTextCtrl::GetLineEndPosition +case wxStyledTextCtrl_GetLineEndPosition: { // wxStyledTextCtrl::GetLineEndPosition wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetLineEndPosition((int) *line); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetCodePage: { // wxStyledTextCtrl::GetCodePage +case wxStyledTextCtrl_GetCodePage: { // wxStyledTextCtrl::GetCodePage wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetCodePage(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetCaretForeground: { // wxStyledTextCtrl::GetCaretForeground +case wxStyledTextCtrl_GetCaretForeground: { // wxStyledTextCtrl::GetCaretForeground wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetCaretForeground(); rt.add(Result); - break; + break; } -case wxStyledTextCtrl_GetReadOnly: { // wxStyledTextCtrl::GetReadOnly +case wxStyledTextCtrl_GetReadOnly: { // wxStyledTextCtrl::GetReadOnly wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetReadOnly(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_SetCurrentPos: { // wxStyledTextCtrl::SetCurrentPos +case wxStyledTextCtrl_SetCurrentPos: { // wxStyledTextCtrl::SetCurrentPos wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetCurrentPos((int) *pos); - break; + break; } -case wxStyledTextCtrl_SetSelectionStart: { // wxStyledTextCtrl::SetSelectionStart +case wxStyledTextCtrl_SetSelectionStart: { // wxStyledTextCtrl::SetSelectionStart wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSelectionStart((int) *pos); - break; + break; } -case wxStyledTextCtrl_GetSelectionStart: { // wxStyledTextCtrl::GetSelectionStart +case wxStyledTextCtrl_GetSelectionStart: { // wxStyledTextCtrl::GetSelectionStart wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetSelectionStart(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetSelectionEnd: { // wxStyledTextCtrl::SetSelectionEnd +case wxStyledTextCtrl_SetSelectionEnd: { // wxStyledTextCtrl::SetSelectionEnd wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSelectionEnd((int) *pos); - break; + break; } -case wxStyledTextCtrl_GetSelectionEnd: { // wxStyledTextCtrl::GetSelectionEnd +case wxStyledTextCtrl_GetSelectionEnd: { // wxStyledTextCtrl::GetSelectionEnd wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetSelectionEnd(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetPrintMagnification: { // wxStyledTextCtrl::SetPrintMagnification +case wxStyledTextCtrl_SetPrintMagnification: { // wxStyledTextCtrl::SetPrintMagnification wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * magnification = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetPrintMagnification((int) *magnification); - break; + break; } -case wxStyledTextCtrl_GetPrintMagnification: { // wxStyledTextCtrl::GetPrintMagnification +case wxStyledTextCtrl_GetPrintMagnification: { // wxStyledTextCtrl::GetPrintMagnification wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetPrintMagnification(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetPrintColourMode: { // wxStyledTextCtrl::SetPrintColourMode +case wxStyledTextCtrl_SetPrintColourMode: { // wxStyledTextCtrl::SetPrintColourMode wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * mode = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetPrintColourMode((int) *mode); - break; + break; } -case wxStyledTextCtrl_GetPrintColourMode: { // wxStyledTextCtrl::GetPrintColourMode +case wxStyledTextCtrl_GetPrintColourMode: { // wxStyledTextCtrl::GetPrintColourMode wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetPrintColourMode(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_FindText: { // wxStyledTextCtrl::FindText +case wxStyledTextCtrl_FindText: { // wxStyledTextCtrl::FindText int flags=0; wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * minPos = (int *) bp; bp += 4; @@ -28046,17 +28046,17 @@ case wxStyledTextCtrl_FindText: { // wxStyledTextCtrl::FindText int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; flags = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); int Result = This->FindText((int) *minPos,(int) *maxPos,text,flags); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_FormatRange: { // wxStyledTextCtrl::FormatRange +case wxStyledTextCtrl_FormatRange: { // wxStyledTextCtrl::FormatRange wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * doDraw = (bool *) bp; bp += 4; int * startPos = (int *) bp; bp += 4; @@ -28076,265 +28076,265 @@ case wxStyledTextCtrl_FormatRange: { // wxStyledTextCtrl::FormatRange if(!This) throw wxe_badarg(0); int Result = This->FormatRange((bool) *doDraw,(int) *startPos,(int) *endPos,draw,target,renderRect,pageRect); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetFirstVisibleLine: { // wxStyledTextCtrl::GetFirstVisibleLine +case wxStyledTextCtrl_GetFirstVisibleLine: { // wxStyledTextCtrl::GetFirstVisibleLine wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetFirstVisibleLine(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetLine: { // wxStyledTextCtrl::GetLine +case wxStyledTextCtrl_GetLine: { // wxStyledTextCtrl::GetLine wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetLine((int) *line); rt.add(Result); - break; + break; } -case wxStyledTextCtrl_GetLineCount: { // wxStyledTextCtrl::GetLineCount +case wxStyledTextCtrl_GetLineCount: { // wxStyledTextCtrl::GetLineCount wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetLineCount(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetMarginLeft: { // wxStyledTextCtrl::SetMarginLeft +case wxStyledTextCtrl_SetMarginLeft: { // wxStyledTextCtrl::SetMarginLeft wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pixelWidth = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMarginLeft((int) *pixelWidth); - break; + break; } -case wxStyledTextCtrl_GetMarginLeft: { // wxStyledTextCtrl::GetMarginLeft +case wxStyledTextCtrl_GetMarginLeft: { // wxStyledTextCtrl::GetMarginLeft wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMarginLeft(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetMarginRight: { // wxStyledTextCtrl::SetMarginRight +case wxStyledTextCtrl_SetMarginRight: { // wxStyledTextCtrl::SetMarginRight wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pixelWidth = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMarginRight((int) *pixelWidth); - break; + break; } -case wxStyledTextCtrl_GetMarginRight: { // wxStyledTextCtrl::GetMarginRight +case wxStyledTextCtrl_GetMarginRight: { // wxStyledTextCtrl::GetMarginRight wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMarginRight(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetModify: { // wxStyledTextCtrl::GetModify +case wxStyledTextCtrl_GetModify: { // wxStyledTextCtrl::GetModify wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetModify(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_SetSelection: { // wxStyledTextCtrl::SetSelection +case wxStyledTextCtrl_SetSelection: { // wxStyledTextCtrl::SetSelection wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * start = (int *) bp; bp += 4; int * end = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSelection((int) *start,(int) *end); - break; + break; } -case wxStyledTextCtrl_GetSelectedText: { // wxStyledTextCtrl::GetSelectedText +case wxStyledTextCtrl_GetSelectedText: { // wxStyledTextCtrl::GetSelectedText wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetSelectedText(); rt.add(Result); - break; + break; } -case wxStyledTextCtrl_GetTextRange: { // wxStyledTextCtrl::GetTextRange +case wxStyledTextCtrl_GetTextRange: { // wxStyledTextCtrl::GetTextRange wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * startPos = (int *) bp; bp += 4; int * endPos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetTextRange((int) *startPos,(int) *endPos); rt.add(Result); - break; + break; } -case wxStyledTextCtrl_HideSelection: { // wxStyledTextCtrl::HideSelection +case wxStyledTextCtrl_HideSelection: { // wxStyledTextCtrl::HideSelection wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * normal = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->HideSelection((bool) *normal); - break; + break; } -case wxStyledTextCtrl_LineFromPosition: { // wxStyledTextCtrl::LineFromPosition +case wxStyledTextCtrl_LineFromPosition: { // wxStyledTextCtrl::LineFromPosition wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->LineFromPosition((int) *pos); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_PositionFromLine: { // wxStyledTextCtrl::PositionFromLine +case wxStyledTextCtrl_PositionFromLine: { // wxStyledTextCtrl::PositionFromLine wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->PositionFromLine((int) *line); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_LineScroll: { // wxStyledTextCtrl::LineScroll +case wxStyledTextCtrl_LineScroll: { // wxStyledTextCtrl::LineScroll wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * columns = (int *) bp; bp += 4; int * lines = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->LineScroll((int) *columns,(int) *lines); - break; + break; } -case wxStyledTextCtrl_EnsureCaretVisible: { // wxStyledTextCtrl::EnsureCaretVisible +case wxStyledTextCtrl_EnsureCaretVisible: { // wxStyledTextCtrl::EnsureCaretVisible wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->EnsureCaretVisible(); - break; + break; } -case wxStyledTextCtrl_ReplaceSelection: { // wxStyledTextCtrl::ReplaceSelection +case wxStyledTextCtrl_ReplaceSelection: { // wxStyledTextCtrl::ReplaceSelection wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->ReplaceSelection(text); - break; + break; } -case wxStyledTextCtrl_SetReadOnly: { // wxStyledTextCtrl::SetReadOnly +case wxStyledTextCtrl_SetReadOnly: { // wxStyledTextCtrl::SetReadOnly wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * readOnly = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetReadOnly((bool) *readOnly); - break; + break; } -case wxStyledTextCtrl_CanPaste: { // wxStyledTextCtrl::CanPaste +case wxStyledTextCtrl_CanPaste: { // wxStyledTextCtrl::CanPaste wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CanPaste(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_CanUndo: { // wxStyledTextCtrl::CanUndo +case wxStyledTextCtrl_CanUndo: { // wxStyledTextCtrl::CanUndo wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CanUndo(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_EmptyUndoBuffer: { // wxStyledTextCtrl::EmptyUndoBuffer +case wxStyledTextCtrl_EmptyUndoBuffer: { // wxStyledTextCtrl::EmptyUndoBuffer wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->EmptyUndoBuffer(); - break; + break; } -case wxStyledTextCtrl_Undo: { // wxStyledTextCtrl::Undo +case wxStyledTextCtrl_Undo: { // wxStyledTextCtrl::Undo wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Undo(); - break; + break; } -case wxStyledTextCtrl_Cut: { // wxStyledTextCtrl::Cut +case wxStyledTextCtrl_Cut: { // wxStyledTextCtrl::Cut wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Cut(); - break; + break; } -case wxStyledTextCtrl_Copy: { // wxStyledTextCtrl::Copy +case wxStyledTextCtrl_Copy: { // wxStyledTextCtrl::Copy wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Copy(); - break; + break; } -case wxStyledTextCtrl_Paste: { // wxStyledTextCtrl::Paste +case wxStyledTextCtrl_Paste: { // wxStyledTextCtrl::Paste wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Paste(); - break; + break; } -case wxStyledTextCtrl_Clear: { // wxStyledTextCtrl::Clear +case wxStyledTextCtrl_Clear: { // wxStyledTextCtrl::Clear wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Clear(); - break; + break; } -case wxStyledTextCtrl_SetText: { // wxStyledTextCtrl::SetText +case wxStyledTextCtrl_SetText: { // wxStyledTextCtrl::SetText wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetText(text); - break; + break; } -case wxStyledTextCtrl_GetText: { // wxStyledTextCtrl::GetText +case wxStyledTextCtrl_GetText: { // wxStyledTextCtrl::GetText wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetText(); rt.add(Result); - break; + break; } -case wxStyledTextCtrl_GetTextLength: { // wxStyledTextCtrl::GetTextLength +case wxStyledTextCtrl_GetTextLength: { // wxStyledTextCtrl::GetTextLength wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetTextLength(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetOvertype: { // wxStyledTextCtrl::GetOvertype +case wxStyledTextCtrl_GetOvertype: { // wxStyledTextCtrl::GetOvertype wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetOvertype(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_SetCaretWidth: { // wxStyledTextCtrl::SetCaretWidth +case wxStyledTextCtrl_SetCaretWidth: { // wxStyledTextCtrl::SetCaretWidth wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pixelWidth = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetCaretWidth((int) *pixelWidth); - break; + break; } -case wxStyledTextCtrl_GetCaretWidth: { // wxStyledTextCtrl::GetCaretWidth +case wxStyledTextCtrl_GetCaretWidth: { // wxStyledTextCtrl::GetCaretWidth wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetCaretWidth(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetTargetStart: { // wxStyledTextCtrl::SetTargetStart +case wxStyledTextCtrl_SetTargetStart: { // wxStyledTextCtrl::SetTargetStart wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetTargetStart((int) *pos); - break; + break; } -case wxStyledTextCtrl_GetTargetStart: { // wxStyledTextCtrl::GetTargetStart +case wxStyledTextCtrl_GetTargetStart: { // wxStyledTextCtrl::GetTargetStart wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetTargetStart(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetTargetEnd: { // wxStyledTextCtrl::SetTargetEnd +case wxStyledTextCtrl_SetTargetEnd: { // wxStyledTextCtrl::SetTargetEnd wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetTargetEnd((int) *pos); - break; + break; } -case wxStyledTextCtrl_GetTargetEnd: { // wxStyledTextCtrl::GetTargetEnd +case wxStyledTextCtrl_GetTargetEnd: { // wxStyledTextCtrl::GetTargetEnd wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetTargetEnd(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_ReplaceTarget: { // wxStyledTextCtrl::ReplaceTarget +case wxStyledTextCtrl_ReplaceTarget: { // wxStyledTextCtrl::ReplaceTarget wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); @@ -28342,9 +28342,9 @@ case wxStyledTextCtrl_ReplaceTarget: { // wxStyledTextCtrl::ReplaceTarget if(!This) throw wxe_badarg(0); int Result = This->ReplaceTarget(text); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SearchInTarget: { // wxStyledTextCtrl::SearchInTarget +case wxStyledTextCtrl_SearchInTarget: { // wxStyledTextCtrl::SearchInTarget wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); @@ -28352,23 +28352,23 @@ case wxStyledTextCtrl_SearchInTarget: { // wxStyledTextCtrl::SearchInTarget if(!This) throw wxe_badarg(0); int Result = This->SearchInTarget(text); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetSearchFlags: { // wxStyledTextCtrl::SetSearchFlags +case wxStyledTextCtrl_SetSearchFlags: { // wxStyledTextCtrl::SetSearchFlags wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * flags = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSearchFlags((int) *flags); - break; + break; } -case wxStyledTextCtrl_GetSearchFlags: { // wxStyledTextCtrl::GetSearchFlags +case wxStyledTextCtrl_GetSearchFlags: { // wxStyledTextCtrl::GetSearchFlags wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetSearchFlags(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_CallTipShow: { // wxStyledTextCtrl::CallTipShow +case wxStyledTextCtrl_CallTipShow: { // wxStyledTextCtrl::CallTipShow wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; int * definitionLen = (int *) bp; bp += 4; @@ -28376,37 +28376,37 @@ case wxStyledTextCtrl_CallTipShow: { // wxStyledTextCtrl::CallTipShow bp += *definitionLen+((8-((4+ *definitionLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->CallTipShow((int) *pos,definition); - break; + break; } -case wxStyledTextCtrl_CallTipCancel: { // wxStyledTextCtrl::CallTipCancel +case wxStyledTextCtrl_CallTipCancel: { // wxStyledTextCtrl::CallTipCancel wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->CallTipCancel(); - break; + break; } -case wxStyledTextCtrl_CallTipActive: { // wxStyledTextCtrl::CallTipActive +case wxStyledTextCtrl_CallTipActive: { // wxStyledTextCtrl::CallTipActive wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CallTipActive(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_CallTipPosAtStart: { // wxStyledTextCtrl::CallTipPosAtStart +case wxStyledTextCtrl_CallTipPosAtStart: { // wxStyledTextCtrl::CallTipPosAtStart wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->CallTipPosAtStart(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_CallTipSetHighlight: { // wxStyledTextCtrl::CallTipSetHighlight +case wxStyledTextCtrl_CallTipSetHighlight: { // wxStyledTextCtrl::CallTipSetHighlight wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * start = (int *) bp; bp += 4; int * end = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->CallTipSetHighlight((int) *start,(int) *end); - break; + break; } -case wxStyledTextCtrl_CallTipSetBackground: { // wxStyledTextCtrl::CallTipSetBackground +case wxStyledTextCtrl_CallTipSetBackground: { // wxStyledTextCtrl::CallTipSetBackground wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * backR = (int *) bp; bp += 4; int * backG = (int *) bp; bp += 4; @@ -28415,9 +28415,9 @@ case wxStyledTextCtrl_CallTipSetBackground: { // wxStyledTextCtrl::CallTipSetBac wxColour back = wxColour(*backR,*backG,*backB,*backA); if(!This) throw wxe_badarg(0); This->CallTipSetBackground(back); - break; + break; } -case wxStyledTextCtrl_CallTipSetForeground: { // wxStyledTextCtrl::CallTipSetForeground +case wxStyledTextCtrl_CallTipSetForeground: { // wxStyledTextCtrl::CallTipSetForeground wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * foreR = (int *) bp; bp += 4; int * foreG = (int *) bp; bp += 4; @@ -28426,9 +28426,9 @@ case wxStyledTextCtrl_CallTipSetForeground: { // wxStyledTextCtrl::CallTipSetFor wxColour fore = wxColour(*foreR,*foreG,*foreB,*foreA); if(!This) throw wxe_badarg(0); This->CallTipSetForeground(fore); - break; + break; } -case wxStyledTextCtrl_CallTipSetForegroundHighlight: { // wxStyledTextCtrl::CallTipSetForegroundHighlight +case wxStyledTextCtrl_CallTipSetForegroundHighlight: { // wxStyledTextCtrl::CallTipSetForegroundHighlight wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * foreR = (int *) bp; bp += 4; int * foreG = (int *) bp; bp += 4; @@ -28437,285 +28437,285 @@ case wxStyledTextCtrl_CallTipSetForegroundHighlight: { // wxStyledTextCtrl::Call wxColour fore = wxColour(*foreR,*foreG,*foreB,*foreA); if(!This) throw wxe_badarg(0); This->CallTipSetForegroundHighlight(fore); - break; + break; } -case wxStyledTextCtrl_CallTipUseStyle: { // wxStyledTextCtrl::CallTipUseStyle +case wxStyledTextCtrl_CallTipUseStyle: { // wxStyledTextCtrl::CallTipUseStyle wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * tabSize = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->CallTipUseStyle((int) *tabSize); - break; + break; } -case wxStyledTextCtrl_VisibleFromDocLine: { // wxStyledTextCtrl::VisibleFromDocLine +case wxStyledTextCtrl_VisibleFromDocLine: { // wxStyledTextCtrl::VisibleFromDocLine wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->VisibleFromDocLine((int) *line); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_DocLineFromVisible: { // wxStyledTextCtrl::DocLineFromVisible +case wxStyledTextCtrl_DocLineFromVisible: { // wxStyledTextCtrl::DocLineFromVisible wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * lineDisplay = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->DocLineFromVisible((int) *lineDisplay); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_WrapCount: { // wxStyledTextCtrl::WrapCount +case wxStyledTextCtrl_WrapCount: { // wxStyledTextCtrl::WrapCount wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->WrapCount((int) *line); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetFoldLevel: { // wxStyledTextCtrl::SetFoldLevel +case wxStyledTextCtrl_SetFoldLevel: { // wxStyledTextCtrl::SetFoldLevel wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; int * level = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetFoldLevel((int) *line,(int) *level); - break; + break; } -case wxStyledTextCtrl_GetFoldLevel: { // wxStyledTextCtrl::GetFoldLevel +case wxStyledTextCtrl_GetFoldLevel: { // wxStyledTextCtrl::GetFoldLevel wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetFoldLevel((int) *line); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetLastChild: { // wxStyledTextCtrl::GetLastChild +case wxStyledTextCtrl_GetLastChild: { // wxStyledTextCtrl::GetLastChild wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; int * level = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetLastChild((int) *line,(int) *level); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetFoldParent: { // wxStyledTextCtrl::GetFoldParent +case wxStyledTextCtrl_GetFoldParent: { // wxStyledTextCtrl::GetFoldParent wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetFoldParent((int) *line); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_ShowLines: { // wxStyledTextCtrl::ShowLines +case wxStyledTextCtrl_ShowLines: { // wxStyledTextCtrl::ShowLines wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * lineStart = (int *) bp; bp += 4; int * lineEnd = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->ShowLines((int) *lineStart,(int) *lineEnd); - break; + break; } -case wxStyledTextCtrl_HideLines: { // wxStyledTextCtrl::HideLines +case wxStyledTextCtrl_HideLines: { // wxStyledTextCtrl::HideLines wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * lineStart = (int *) bp; bp += 4; int * lineEnd = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->HideLines((int) *lineStart,(int) *lineEnd); - break; + break; } -case wxStyledTextCtrl_GetLineVisible: { // wxStyledTextCtrl::GetLineVisible +case wxStyledTextCtrl_GetLineVisible: { // wxStyledTextCtrl::GetLineVisible wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetLineVisible((int) *line); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_SetFoldExpanded: { // wxStyledTextCtrl::SetFoldExpanded +case wxStyledTextCtrl_SetFoldExpanded: { // wxStyledTextCtrl::SetFoldExpanded wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; bool * expanded = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetFoldExpanded((int) *line,(bool) *expanded); - break; + break; } -case wxStyledTextCtrl_GetFoldExpanded: { // wxStyledTextCtrl::GetFoldExpanded +case wxStyledTextCtrl_GetFoldExpanded: { // wxStyledTextCtrl::GetFoldExpanded wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetFoldExpanded((int) *line); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_ToggleFold: { // wxStyledTextCtrl::ToggleFold +case wxStyledTextCtrl_ToggleFold: { // wxStyledTextCtrl::ToggleFold wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->ToggleFold((int) *line); - break; + break; } -case wxStyledTextCtrl_EnsureVisible: { // wxStyledTextCtrl::EnsureVisible +case wxStyledTextCtrl_EnsureVisible: { // wxStyledTextCtrl::EnsureVisible wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->EnsureVisible((int) *line); - break; + break; } -case wxStyledTextCtrl_SetFoldFlags: { // wxStyledTextCtrl::SetFoldFlags +case wxStyledTextCtrl_SetFoldFlags: { // wxStyledTextCtrl::SetFoldFlags wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * flags = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetFoldFlags((int) *flags); - break; + break; } -case wxStyledTextCtrl_EnsureVisibleEnforcePolicy: { // wxStyledTextCtrl::EnsureVisibleEnforcePolicy +case wxStyledTextCtrl_EnsureVisibleEnforcePolicy: { // wxStyledTextCtrl::EnsureVisibleEnforcePolicy wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->EnsureVisibleEnforcePolicy((int) *line); - break; + break; } -case wxStyledTextCtrl_SetTabIndents: { // wxStyledTextCtrl::SetTabIndents +case wxStyledTextCtrl_SetTabIndents: { // wxStyledTextCtrl::SetTabIndents wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * tabIndents = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetTabIndents((bool) *tabIndents); - break; + break; } -case wxStyledTextCtrl_GetTabIndents: { // wxStyledTextCtrl::GetTabIndents +case wxStyledTextCtrl_GetTabIndents: { // wxStyledTextCtrl::GetTabIndents wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetTabIndents(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_SetBackSpaceUnIndents: { // wxStyledTextCtrl::SetBackSpaceUnIndents +case wxStyledTextCtrl_SetBackSpaceUnIndents: { // wxStyledTextCtrl::SetBackSpaceUnIndents wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * bsUnIndents = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetBackSpaceUnIndents((bool) *bsUnIndents); - break; + break; } -case wxStyledTextCtrl_GetBackSpaceUnIndents: { // wxStyledTextCtrl::GetBackSpaceUnIndents +case wxStyledTextCtrl_GetBackSpaceUnIndents: { // wxStyledTextCtrl::GetBackSpaceUnIndents wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetBackSpaceUnIndents(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_SetMouseDwellTime: { // wxStyledTextCtrl::SetMouseDwellTime +case wxStyledTextCtrl_SetMouseDwellTime: { // wxStyledTextCtrl::SetMouseDwellTime wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * periodMilliseconds = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMouseDwellTime((int) *periodMilliseconds); - break; + break; } -case wxStyledTextCtrl_GetMouseDwellTime: { // wxStyledTextCtrl::GetMouseDwellTime +case wxStyledTextCtrl_GetMouseDwellTime: { // wxStyledTextCtrl::GetMouseDwellTime wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMouseDwellTime(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_WordStartPosition: { // wxStyledTextCtrl::WordStartPosition +case wxStyledTextCtrl_WordStartPosition: { // wxStyledTextCtrl::WordStartPosition wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; bool * onlyWordCharacters = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->WordStartPosition((int) *pos,(bool) *onlyWordCharacters); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_WordEndPosition: { // wxStyledTextCtrl::WordEndPosition +case wxStyledTextCtrl_WordEndPosition: { // wxStyledTextCtrl::WordEndPosition wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; bool * onlyWordCharacters = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->WordEndPosition((int) *pos,(bool) *onlyWordCharacters); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetWrapMode: { // wxStyledTextCtrl::SetWrapMode +case wxStyledTextCtrl_SetWrapMode: { // wxStyledTextCtrl::SetWrapMode wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * mode = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetWrapMode((int) *mode); - break; + break; } -case wxStyledTextCtrl_GetWrapMode: { // wxStyledTextCtrl::GetWrapMode +case wxStyledTextCtrl_GetWrapMode: { // wxStyledTextCtrl::GetWrapMode wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetWrapMode(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetWrapVisualFlags: { // wxStyledTextCtrl::SetWrapVisualFlags +case wxStyledTextCtrl_SetWrapVisualFlags: { // wxStyledTextCtrl::SetWrapVisualFlags wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * wrapVisualFlags = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetWrapVisualFlags((int) *wrapVisualFlags); - break; + break; } -case wxStyledTextCtrl_GetWrapVisualFlags: { // wxStyledTextCtrl::GetWrapVisualFlags +case wxStyledTextCtrl_GetWrapVisualFlags: { // wxStyledTextCtrl::GetWrapVisualFlags wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetWrapVisualFlags(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetWrapVisualFlagsLocation: { // wxStyledTextCtrl::SetWrapVisualFlagsLocation +case wxStyledTextCtrl_SetWrapVisualFlagsLocation: { // wxStyledTextCtrl::SetWrapVisualFlagsLocation wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * wrapVisualFlagsLocation = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetWrapVisualFlagsLocation((int) *wrapVisualFlagsLocation); - break; + break; } -case wxStyledTextCtrl_GetWrapVisualFlagsLocation: { // wxStyledTextCtrl::GetWrapVisualFlagsLocation +case wxStyledTextCtrl_GetWrapVisualFlagsLocation: { // wxStyledTextCtrl::GetWrapVisualFlagsLocation wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetWrapVisualFlagsLocation(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetWrapStartIndent: { // wxStyledTextCtrl::SetWrapStartIndent +case wxStyledTextCtrl_SetWrapStartIndent: { // wxStyledTextCtrl::SetWrapStartIndent wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * indent = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetWrapStartIndent((int) *indent); - break; + break; } -case wxStyledTextCtrl_GetWrapStartIndent: { // wxStyledTextCtrl::GetWrapStartIndent +case wxStyledTextCtrl_GetWrapStartIndent: { // wxStyledTextCtrl::GetWrapStartIndent wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetWrapStartIndent(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetLayoutCache: { // wxStyledTextCtrl::SetLayoutCache +case wxStyledTextCtrl_SetLayoutCache: { // wxStyledTextCtrl::SetLayoutCache wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * mode = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetLayoutCache((int) *mode); - break; + break; } -case wxStyledTextCtrl_GetLayoutCache: { // wxStyledTextCtrl::GetLayoutCache +case wxStyledTextCtrl_GetLayoutCache: { // wxStyledTextCtrl::GetLayoutCache wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetLayoutCache(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetScrollWidth: { // wxStyledTextCtrl::SetScrollWidth +case wxStyledTextCtrl_SetScrollWidth: { // wxStyledTextCtrl::SetScrollWidth wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pixelWidth = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetScrollWidth((int) *pixelWidth); - break; + break; } -case wxStyledTextCtrl_GetScrollWidth: { // wxStyledTextCtrl::GetScrollWidth +case wxStyledTextCtrl_GetScrollWidth: { // wxStyledTextCtrl::GetScrollWidth wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetScrollWidth(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_TextWidth: { // wxStyledTextCtrl::TextWidth +case wxStyledTextCtrl_TextWidth: { // wxStyledTextCtrl::TextWidth wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * style = (int *) bp; bp += 4; int * textLen = (int *) bp; bp += 4; @@ -28724,80 +28724,80 @@ case wxStyledTextCtrl_TextWidth: { // wxStyledTextCtrl::TextWidth if(!This) throw wxe_badarg(0); int Result = This->TextWidth((int) *style,text); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetEndAtLastLine: { // wxStyledTextCtrl::GetEndAtLastLine +case wxStyledTextCtrl_GetEndAtLastLine: { // wxStyledTextCtrl::GetEndAtLastLine wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetEndAtLastLine(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_TextHeight: { // wxStyledTextCtrl::TextHeight +case wxStyledTextCtrl_TextHeight: { // wxStyledTextCtrl::TextHeight wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->TextHeight((int) *line); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetUseVerticalScrollBar: { // wxStyledTextCtrl::SetUseVerticalScrollBar +case wxStyledTextCtrl_SetUseVerticalScrollBar: { // wxStyledTextCtrl::SetUseVerticalScrollBar wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * show = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetUseVerticalScrollBar((bool) *show); - break; + break; } -case wxStyledTextCtrl_GetUseVerticalScrollBar: { // wxStyledTextCtrl::GetUseVerticalScrollBar +case wxStyledTextCtrl_GetUseVerticalScrollBar: { // wxStyledTextCtrl::GetUseVerticalScrollBar wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetUseVerticalScrollBar(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_AppendText: { // wxStyledTextCtrl::AppendText +case wxStyledTextCtrl_AppendText: { // wxStyledTextCtrl::AppendText wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->AppendText(text); - break; + break; } -case wxStyledTextCtrl_GetTwoPhaseDraw: { // wxStyledTextCtrl::GetTwoPhaseDraw +case wxStyledTextCtrl_GetTwoPhaseDraw: { // wxStyledTextCtrl::GetTwoPhaseDraw wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetTwoPhaseDraw(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_SetTwoPhaseDraw: { // wxStyledTextCtrl::SetTwoPhaseDraw +case wxStyledTextCtrl_SetTwoPhaseDraw: { // wxStyledTextCtrl::SetTwoPhaseDraw wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * twoPhase = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetTwoPhaseDraw((bool) *twoPhase); - break; + break; } -case wxStyledTextCtrl_TargetFromSelection: { // wxStyledTextCtrl::TargetFromSelection +case wxStyledTextCtrl_TargetFromSelection: { // wxStyledTextCtrl::TargetFromSelection wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->TargetFromSelection(); - break; + break; } -case wxStyledTextCtrl_LinesJoin: { // wxStyledTextCtrl::LinesJoin +case wxStyledTextCtrl_LinesJoin: { // wxStyledTextCtrl::LinesJoin wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LinesJoin(); - break; + break; } -case wxStyledTextCtrl_LinesSplit: { // wxStyledTextCtrl::LinesSplit +case wxStyledTextCtrl_LinesSplit: { // wxStyledTextCtrl::LinesSplit wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pixelWidth = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->LinesSplit((int) *pixelWidth); - break; + break; } -case wxStyledTextCtrl_SetFoldMarginColour: { // wxStyledTextCtrl::SetFoldMarginColour +case wxStyledTextCtrl_SetFoldMarginColour: { // wxStyledTextCtrl::SetFoldMarginColour wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * useSetting = (bool *) bp; bp += 4; int * backR = (int *) bp; bp += 4; @@ -28807,9 +28807,9 @@ case wxStyledTextCtrl_SetFoldMarginColour: { // wxStyledTextCtrl::SetFoldMarginC wxColour back = wxColour(*backR,*backG,*backB,*backA); if(!This) throw wxe_badarg(0); This->SetFoldMarginColour((bool) *useSetting,back); - break; + break; } -case wxStyledTextCtrl_SetFoldMarginHiColour: { // wxStyledTextCtrl::SetFoldMarginHiColour +case wxStyledTextCtrl_SetFoldMarginHiColour: { // wxStyledTextCtrl::SetFoldMarginHiColour wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * useSetting = (bool *) bp; bp += 4; int * foreR = (int *) bp; bp += 4; @@ -28819,431 +28819,431 @@ case wxStyledTextCtrl_SetFoldMarginHiColour: { // wxStyledTextCtrl::SetFoldMargi wxColour fore = wxColour(*foreR,*foreG,*foreB,*foreA); if(!This) throw wxe_badarg(0); This->SetFoldMarginHiColour((bool) *useSetting,fore); - break; + break; } -case wxStyledTextCtrl_LineDown: { // wxStyledTextCtrl::LineDown +case wxStyledTextCtrl_LineDown: { // wxStyledTextCtrl::LineDown wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LineDown(); - break; + break; } -case wxStyledTextCtrl_LineDownExtend: { // wxStyledTextCtrl::LineDownExtend +case wxStyledTextCtrl_LineDownExtend: { // wxStyledTextCtrl::LineDownExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LineDownExtend(); - break; + break; } -case wxStyledTextCtrl_LineUp: { // wxStyledTextCtrl::LineUp +case wxStyledTextCtrl_LineUp: { // wxStyledTextCtrl::LineUp wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LineUp(); - break; + break; } -case wxStyledTextCtrl_LineUpExtend: { // wxStyledTextCtrl::LineUpExtend +case wxStyledTextCtrl_LineUpExtend: { // wxStyledTextCtrl::LineUpExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LineUpExtend(); - break; + break; } -case wxStyledTextCtrl_CharLeft: { // wxStyledTextCtrl::CharLeft +case wxStyledTextCtrl_CharLeft: { // wxStyledTextCtrl::CharLeft wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->CharLeft(); - break; + break; } -case wxStyledTextCtrl_CharLeftExtend: { // wxStyledTextCtrl::CharLeftExtend +case wxStyledTextCtrl_CharLeftExtend: { // wxStyledTextCtrl::CharLeftExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->CharLeftExtend(); - break; + break; } -case wxStyledTextCtrl_CharRight: { // wxStyledTextCtrl::CharRight +case wxStyledTextCtrl_CharRight: { // wxStyledTextCtrl::CharRight wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->CharRight(); - break; + break; } -case wxStyledTextCtrl_CharRightExtend: { // wxStyledTextCtrl::CharRightExtend +case wxStyledTextCtrl_CharRightExtend: { // wxStyledTextCtrl::CharRightExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->CharRightExtend(); - break; + break; } -case wxStyledTextCtrl_WordLeft: { // wxStyledTextCtrl::WordLeft +case wxStyledTextCtrl_WordLeft: { // wxStyledTextCtrl::WordLeft wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->WordLeft(); - break; + break; } -case wxStyledTextCtrl_WordLeftExtend: { // wxStyledTextCtrl::WordLeftExtend +case wxStyledTextCtrl_WordLeftExtend: { // wxStyledTextCtrl::WordLeftExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->WordLeftExtend(); - break; + break; } -case wxStyledTextCtrl_WordRight: { // wxStyledTextCtrl::WordRight +case wxStyledTextCtrl_WordRight: { // wxStyledTextCtrl::WordRight wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->WordRight(); - break; + break; } -case wxStyledTextCtrl_WordRightExtend: { // wxStyledTextCtrl::WordRightExtend +case wxStyledTextCtrl_WordRightExtend: { // wxStyledTextCtrl::WordRightExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->WordRightExtend(); - break; + break; } -case wxStyledTextCtrl_Home: { // wxStyledTextCtrl::Home +case wxStyledTextCtrl_Home: { // wxStyledTextCtrl::Home wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Home(); - break; + break; } -case wxStyledTextCtrl_HomeExtend: { // wxStyledTextCtrl::HomeExtend +case wxStyledTextCtrl_HomeExtend: { // wxStyledTextCtrl::HomeExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->HomeExtend(); - break; + break; } -case wxStyledTextCtrl_LineEnd: { // wxStyledTextCtrl::LineEnd +case wxStyledTextCtrl_LineEnd: { // wxStyledTextCtrl::LineEnd wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LineEnd(); - break; + break; } -case wxStyledTextCtrl_LineEndExtend: { // wxStyledTextCtrl::LineEndExtend +case wxStyledTextCtrl_LineEndExtend: { // wxStyledTextCtrl::LineEndExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LineEndExtend(); - break; + break; } -case wxStyledTextCtrl_DocumentStart: { // wxStyledTextCtrl::DocumentStart +case wxStyledTextCtrl_DocumentStart: { // wxStyledTextCtrl::DocumentStart wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->DocumentStart(); - break; + break; } -case wxStyledTextCtrl_DocumentStartExtend: { // wxStyledTextCtrl::DocumentStartExtend +case wxStyledTextCtrl_DocumentStartExtend: { // wxStyledTextCtrl::DocumentStartExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->DocumentStartExtend(); - break; + break; } -case wxStyledTextCtrl_DocumentEnd: { // wxStyledTextCtrl::DocumentEnd +case wxStyledTextCtrl_DocumentEnd: { // wxStyledTextCtrl::DocumentEnd wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->DocumentEnd(); - break; + break; } -case wxStyledTextCtrl_DocumentEndExtend: { // wxStyledTextCtrl::DocumentEndExtend +case wxStyledTextCtrl_DocumentEndExtend: { // wxStyledTextCtrl::DocumentEndExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->DocumentEndExtend(); - break; + break; } -case wxStyledTextCtrl_PageUp: { // wxStyledTextCtrl::PageUp +case wxStyledTextCtrl_PageUp: { // wxStyledTextCtrl::PageUp wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->PageUp(); - break; + break; } -case wxStyledTextCtrl_PageUpExtend: { // wxStyledTextCtrl::PageUpExtend +case wxStyledTextCtrl_PageUpExtend: { // wxStyledTextCtrl::PageUpExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->PageUpExtend(); - break; + break; } -case wxStyledTextCtrl_PageDown: { // wxStyledTextCtrl::PageDown +case wxStyledTextCtrl_PageDown: { // wxStyledTextCtrl::PageDown wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->PageDown(); - break; + break; } -case wxStyledTextCtrl_PageDownExtend: { // wxStyledTextCtrl::PageDownExtend +case wxStyledTextCtrl_PageDownExtend: { // wxStyledTextCtrl::PageDownExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->PageDownExtend(); - break; + break; } -case wxStyledTextCtrl_EditToggleOvertype: { // wxStyledTextCtrl::EditToggleOvertype +case wxStyledTextCtrl_EditToggleOvertype: { // wxStyledTextCtrl::EditToggleOvertype wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->EditToggleOvertype(); - break; + break; } -case wxStyledTextCtrl_Cancel: { // wxStyledTextCtrl::Cancel +case wxStyledTextCtrl_Cancel: { // wxStyledTextCtrl::Cancel wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Cancel(); - break; + break; } -case wxStyledTextCtrl_DeleteBack: { // wxStyledTextCtrl::DeleteBack +case wxStyledTextCtrl_DeleteBack: { // wxStyledTextCtrl::DeleteBack wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->DeleteBack(); - break; + break; } -case wxStyledTextCtrl_Tab: { // wxStyledTextCtrl::Tab +case wxStyledTextCtrl_Tab: { // wxStyledTextCtrl::Tab wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Tab(); - break; + break; } -case wxStyledTextCtrl_BackTab: { // wxStyledTextCtrl::BackTab +case wxStyledTextCtrl_BackTab: { // wxStyledTextCtrl::BackTab wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->BackTab(); - break; + break; } -case wxStyledTextCtrl_NewLine: { // wxStyledTextCtrl::NewLine +case wxStyledTextCtrl_NewLine: { // wxStyledTextCtrl::NewLine wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->NewLine(); - break; + break; } -case wxStyledTextCtrl_FormFeed: { // wxStyledTextCtrl::FormFeed +case wxStyledTextCtrl_FormFeed: { // wxStyledTextCtrl::FormFeed wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->FormFeed(); - break; + break; } -case wxStyledTextCtrl_VCHome: { // wxStyledTextCtrl::VCHome +case wxStyledTextCtrl_VCHome: { // wxStyledTextCtrl::VCHome wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->VCHome(); - break; + break; } -case wxStyledTextCtrl_VCHomeExtend: { // wxStyledTextCtrl::VCHomeExtend +case wxStyledTextCtrl_VCHomeExtend: { // wxStyledTextCtrl::VCHomeExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->VCHomeExtend(); - break; + break; } -case wxStyledTextCtrl_ZoomIn: { // wxStyledTextCtrl::ZoomIn +case wxStyledTextCtrl_ZoomIn: { // wxStyledTextCtrl::ZoomIn wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ZoomIn(); - break; + break; } -case wxStyledTextCtrl_ZoomOut: { // wxStyledTextCtrl::ZoomOut +case wxStyledTextCtrl_ZoomOut: { // wxStyledTextCtrl::ZoomOut wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ZoomOut(); - break; + break; } -case wxStyledTextCtrl_DelWordLeft: { // wxStyledTextCtrl::DelWordLeft +case wxStyledTextCtrl_DelWordLeft: { // wxStyledTextCtrl::DelWordLeft wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->DelWordLeft(); - break; + break; } -case wxStyledTextCtrl_DelWordRight: { // wxStyledTextCtrl::DelWordRight +case wxStyledTextCtrl_DelWordRight: { // wxStyledTextCtrl::DelWordRight wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->DelWordRight(); - break; + break; } -case wxStyledTextCtrl_LineCut: { // wxStyledTextCtrl::LineCut +case wxStyledTextCtrl_LineCut: { // wxStyledTextCtrl::LineCut wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LineCut(); - break; + break; } -case wxStyledTextCtrl_LineDelete: { // wxStyledTextCtrl::LineDelete +case wxStyledTextCtrl_LineDelete: { // wxStyledTextCtrl::LineDelete wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LineDelete(); - break; + break; } -case wxStyledTextCtrl_LineTranspose: { // wxStyledTextCtrl::LineTranspose +case wxStyledTextCtrl_LineTranspose: { // wxStyledTextCtrl::LineTranspose wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LineTranspose(); - break; + break; } -case wxStyledTextCtrl_LineDuplicate: { // wxStyledTextCtrl::LineDuplicate +case wxStyledTextCtrl_LineDuplicate: { // wxStyledTextCtrl::LineDuplicate wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LineDuplicate(); - break; + break; } -case wxStyledTextCtrl_LowerCase: { // wxStyledTextCtrl::LowerCase +case wxStyledTextCtrl_LowerCase: { // wxStyledTextCtrl::LowerCase wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LowerCase(); - break; + break; } -case wxStyledTextCtrl_UpperCase: { // wxStyledTextCtrl::UpperCase +case wxStyledTextCtrl_UpperCase: { // wxStyledTextCtrl::UpperCase wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->UpperCase(); - break; + break; } -case wxStyledTextCtrl_LineScrollDown: { // wxStyledTextCtrl::LineScrollDown +case wxStyledTextCtrl_LineScrollDown: { // wxStyledTextCtrl::LineScrollDown wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LineScrollDown(); - break; + break; } -case wxStyledTextCtrl_LineScrollUp: { // wxStyledTextCtrl::LineScrollUp +case wxStyledTextCtrl_LineScrollUp: { // wxStyledTextCtrl::LineScrollUp wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LineScrollUp(); - break; + break; } -case wxStyledTextCtrl_DeleteBackNotLine: { // wxStyledTextCtrl::DeleteBackNotLine +case wxStyledTextCtrl_DeleteBackNotLine: { // wxStyledTextCtrl::DeleteBackNotLine wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->DeleteBackNotLine(); - break; + break; } -case wxStyledTextCtrl_HomeDisplay: { // wxStyledTextCtrl::HomeDisplay +case wxStyledTextCtrl_HomeDisplay: { // wxStyledTextCtrl::HomeDisplay wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->HomeDisplay(); - break; + break; } -case wxStyledTextCtrl_HomeDisplayExtend: { // wxStyledTextCtrl::HomeDisplayExtend +case wxStyledTextCtrl_HomeDisplayExtend: { // wxStyledTextCtrl::HomeDisplayExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->HomeDisplayExtend(); - break; + break; } -case wxStyledTextCtrl_LineEndDisplay: { // wxStyledTextCtrl::LineEndDisplay +case wxStyledTextCtrl_LineEndDisplay: { // wxStyledTextCtrl::LineEndDisplay wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LineEndDisplay(); - break; + break; } -case wxStyledTextCtrl_LineEndDisplayExtend: { // wxStyledTextCtrl::LineEndDisplayExtend +case wxStyledTextCtrl_LineEndDisplayExtend: { // wxStyledTextCtrl::LineEndDisplayExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LineEndDisplayExtend(); - break; + break; } -case wxStyledTextCtrl_HomeWrapExtend: { // wxStyledTextCtrl::HomeWrapExtend +case wxStyledTextCtrl_HomeWrapExtend: { // wxStyledTextCtrl::HomeWrapExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->HomeWrapExtend(); - break; + break; } -case wxStyledTextCtrl_LineEndWrap: { // wxStyledTextCtrl::LineEndWrap +case wxStyledTextCtrl_LineEndWrap: { // wxStyledTextCtrl::LineEndWrap wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LineEndWrap(); - break; + break; } -case wxStyledTextCtrl_LineEndWrapExtend: { // wxStyledTextCtrl::LineEndWrapExtend +case wxStyledTextCtrl_LineEndWrapExtend: { // wxStyledTextCtrl::LineEndWrapExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LineEndWrapExtend(); - break; + break; } -case wxStyledTextCtrl_VCHomeWrap: { // wxStyledTextCtrl::VCHomeWrap +case wxStyledTextCtrl_VCHomeWrap: { // wxStyledTextCtrl::VCHomeWrap wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->VCHomeWrap(); - break; + break; } -case wxStyledTextCtrl_VCHomeWrapExtend: { // wxStyledTextCtrl::VCHomeWrapExtend +case wxStyledTextCtrl_VCHomeWrapExtend: { // wxStyledTextCtrl::VCHomeWrapExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->VCHomeWrapExtend(); - break; + break; } -case wxStyledTextCtrl_LineCopy: { // wxStyledTextCtrl::LineCopy +case wxStyledTextCtrl_LineCopy: { // wxStyledTextCtrl::LineCopy wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LineCopy(); - break; + break; } -case wxStyledTextCtrl_MoveCaretInsideView: { // wxStyledTextCtrl::MoveCaretInsideView +case wxStyledTextCtrl_MoveCaretInsideView: { // wxStyledTextCtrl::MoveCaretInsideView wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->MoveCaretInsideView(); - break; + break; } -case wxStyledTextCtrl_LineLength: { // wxStyledTextCtrl::LineLength +case wxStyledTextCtrl_LineLength: { // wxStyledTextCtrl::LineLength wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->LineLength((int) *line); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_BraceHighlight: { // wxStyledTextCtrl::BraceHighlight +case wxStyledTextCtrl_BraceHighlight: { // wxStyledTextCtrl::BraceHighlight wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos1 = (int *) bp; bp += 4; int * pos2 = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->BraceHighlight((int) *pos1,(int) *pos2); - break; + break; } -case wxStyledTextCtrl_BraceBadLight: { // wxStyledTextCtrl::BraceBadLight +case wxStyledTextCtrl_BraceBadLight: { // wxStyledTextCtrl::BraceBadLight wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->BraceBadLight((int) *pos); - break; + break; } -case wxStyledTextCtrl_BraceMatch: { // wxStyledTextCtrl::BraceMatch +case wxStyledTextCtrl_BraceMatch: { // wxStyledTextCtrl::BraceMatch wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->BraceMatch((int) *pos); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetViewEOL: { // wxStyledTextCtrl::GetViewEOL +case wxStyledTextCtrl_GetViewEOL: { // wxStyledTextCtrl::GetViewEOL wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetViewEOL(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_SetViewEOL: { // wxStyledTextCtrl::SetViewEOL +case wxStyledTextCtrl_SetViewEOL: { // wxStyledTextCtrl::SetViewEOL wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * visible = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetViewEOL((bool) *visible); - break; + break; } -case wxStyledTextCtrl_SetModEventMask: { // wxStyledTextCtrl::SetModEventMask +case wxStyledTextCtrl_SetModEventMask: { // wxStyledTextCtrl::SetModEventMask wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * mask = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetModEventMask((int) *mask); - break; + break; } -case wxStyledTextCtrl_GetEdgeColumn: { // wxStyledTextCtrl::GetEdgeColumn +case wxStyledTextCtrl_GetEdgeColumn: { // wxStyledTextCtrl::GetEdgeColumn wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetEdgeColumn(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetEdgeColumn: { // wxStyledTextCtrl::SetEdgeColumn +case wxStyledTextCtrl_SetEdgeColumn: { // wxStyledTextCtrl::SetEdgeColumn wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * column = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetEdgeColumn((int) *column); - break; + break; } -case wxStyledTextCtrl_GetEdgeMode: { // wxStyledTextCtrl::GetEdgeMode +case wxStyledTextCtrl_GetEdgeMode: { // wxStyledTextCtrl::GetEdgeMode wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetEdgeMode(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetEdgeColour: { // wxStyledTextCtrl::GetEdgeColour +case wxStyledTextCtrl_GetEdgeColour: { // wxStyledTextCtrl::GetEdgeColour wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxColour Result = This->GetEdgeColour(); rt.add(Result); - break; + break; } -case wxStyledTextCtrl_SetEdgeColour: { // wxStyledTextCtrl::SetEdgeColour +case wxStyledTextCtrl_SetEdgeColour: { // wxStyledTextCtrl::SetEdgeColour wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * edgeColourR = (int *) bp; bp += 4; int * edgeColourG = (int *) bp; bp += 4; @@ -29252,15 +29252,15 @@ case wxStyledTextCtrl_SetEdgeColour: { // wxStyledTextCtrl::SetEdgeColour wxColour edgeColour = wxColour(*edgeColourR,*edgeColourG,*edgeColourB,*edgeColourA); if(!This) throw wxe_badarg(0); This->SetEdgeColour(edgeColour); - break; + break; } -case wxStyledTextCtrl_SearchAnchor: { // wxStyledTextCtrl::SearchAnchor +case wxStyledTextCtrl_SearchAnchor: { // wxStyledTextCtrl::SearchAnchor wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SearchAnchor(); - break; + break; } -case wxStyledTextCtrl_SearchNext: { // wxStyledTextCtrl::SearchNext +case wxStyledTextCtrl_SearchNext: { // wxStyledTextCtrl::SearchNext wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * flags = (int *) bp; bp += 4; int * textLen = (int *) bp; bp += 4; @@ -29269,9 +29269,9 @@ case wxStyledTextCtrl_SearchNext: { // wxStyledTextCtrl::SearchNext if(!This) throw wxe_badarg(0); int Result = This->SearchNext((int) *flags,text); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SearchPrev: { // wxStyledTextCtrl::SearchPrev +case wxStyledTextCtrl_SearchPrev: { // wxStyledTextCtrl::SearchPrev wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * flags = (int *) bp; bp += 4; int * textLen = (int *) bp; bp += 4; @@ -29280,201 +29280,201 @@ case wxStyledTextCtrl_SearchPrev: { // wxStyledTextCtrl::SearchPrev if(!This) throw wxe_badarg(0); int Result = This->SearchPrev((int) *flags,text); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_LinesOnScreen: { // wxStyledTextCtrl::LinesOnScreen +case wxStyledTextCtrl_LinesOnScreen: { // wxStyledTextCtrl::LinesOnScreen wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->LinesOnScreen(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_UsePopUp: { // wxStyledTextCtrl::UsePopUp +case wxStyledTextCtrl_UsePopUp: { // wxStyledTextCtrl::UsePopUp wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * allowPopUp = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->UsePopUp((bool) *allowPopUp); - break; + break; } -case wxStyledTextCtrl_SelectionIsRectangle: { // wxStyledTextCtrl::SelectionIsRectangle +case wxStyledTextCtrl_SelectionIsRectangle: { // wxStyledTextCtrl::SelectionIsRectangle wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->SelectionIsRectangle(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_SetZoom: { // wxStyledTextCtrl::SetZoom +case wxStyledTextCtrl_SetZoom: { // wxStyledTextCtrl::SetZoom wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * zoom = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetZoom((int) *zoom); - break; + break; } -case wxStyledTextCtrl_GetZoom: { // wxStyledTextCtrl::GetZoom +case wxStyledTextCtrl_GetZoom: { // wxStyledTextCtrl::GetZoom wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetZoom(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetModEventMask: { // wxStyledTextCtrl::GetModEventMask +case wxStyledTextCtrl_GetModEventMask: { // wxStyledTextCtrl::GetModEventMask wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetModEventMask(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetSTCFocus: { // wxStyledTextCtrl::SetSTCFocus +case wxStyledTextCtrl_SetSTCFocus: { // wxStyledTextCtrl::SetSTCFocus wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * focus = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSTCFocus((bool) *focus); - break; + break; } -case wxStyledTextCtrl_GetSTCFocus: { // wxStyledTextCtrl::GetSTCFocus +case wxStyledTextCtrl_GetSTCFocus: { // wxStyledTextCtrl::GetSTCFocus wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetSTCFocus(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_SetStatus: { // wxStyledTextCtrl::SetStatus +case wxStyledTextCtrl_SetStatus: { // wxStyledTextCtrl::SetStatus wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * statusCode = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetStatus((int) *statusCode); - break; + break; } -case wxStyledTextCtrl_GetStatus: { // wxStyledTextCtrl::GetStatus +case wxStyledTextCtrl_GetStatus: { // wxStyledTextCtrl::GetStatus wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetStatus(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetMouseDownCaptures: { // wxStyledTextCtrl::SetMouseDownCaptures +case wxStyledTextCtrl_SetMouseDownCaptures: { // wxStyledTextCtrl::SetMouseDownCaptures wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * captures = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMouseDownCaptures((bool) *captures); - break; + break; } -case wxStyledTextCtrl_GetMouseDownCaptures: { // wxStyledTextCtrl::GetMouseDownCaptures +case wxStyledTextCtrl_GetMouseDownCaptures: { // wxStyledTextCtrl::GetMouseDownCaptures wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetMouseDownCaptures(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_SetSTCCursor: { // wxStyledTextCtrl::SetSTCCursor +case wxStyledTextCtrl_SetSTCCursor: { // wxStyledTextCtrl::SetSTCCursor wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * cursorType = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSTCCursor((int) *cursorType); - break; + break; } -case wxStyledTextCtrl_GetSTCCursor: { // wxStyledTextCtrl::GetSTCCursor +case wxStyledTextCtrl_GetSTCCursor: { // wxStyledTextCtrl::GetSTCCursor wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetSTCCursor(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetControlCharSymbol: { // wxStyledTextCtrl::SetControlCharSymbol +case wxStyledTextCtrl_SetControlCharSymbol: { // wxStyledTextCtrl::SetControlCharSymbol wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * symbol = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetControlCharSymbol((int) *symbol); - break; + break; } -case wxStyledTextCtrl_GetControlCharSymbol: { // wxStyledTextCtrl::GetControlCharSymbol +case wxStyledTextCtrl_GetControlCharSymbol: { // wxStyledTextCtrl::GetControlCharSymbol wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetControlCharSymbol(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_WordPartLeft: { // wxStyledTextCtrl::WordPartLeft +case wxStyledTextCtrl_WordPartLeft: { // wxStyledTextCtrl::WordPartLeft wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->WordPartLeft(); - break; + break; } -case wxStyledTextCtrl_WordPartLeftExtend: { // wxStyledTextCtrl::WordPartLeftExtend +case wxStyledTextCtrl_WordPartLeftExtend: { // wxStyledTextCtrl::WordPartLeftExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->WordPartLeftExtend(); - break; + break; } -case wxStyledTextCtrl_WordPartRight: { // wxStyledTextCtrl::WordPartRight +case wxStyledTextCtrl_WordPartRight: { // wxStyledTextCtrl::WordPartRight wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->WordPartRight(); - break; + break; } -case wxStyledTextCtrl_WordPartRightExtend: { // wxStyledTextCtrl::WordPartRightExtend +case wxStyledTextCtrl_WordPartRightExtend: { // wxStyledTextCtrl::WordPartRightExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->WordPartRightExtend(); - break; + break; } -case wxStyledTextCtrl_SetVisiblePolicy: { // wxStyledTextCtrl::SetVisiblePolicy +case wxStyledTextCtrl_SetVisiblePolicy: { // wxStyledTextCtrl::SetVisiblePolicy wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * visiblePolicy = (int *) bp; bp += 4; int * visibleSlop = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetVisiblePolicy((int) *visiblePolicy,(int) *visibleSlop); - break; + break; } -case wxStyledTextCtrl_DelLineLeft: { // wxStyledTextCtrl::DelLineLeft +case wxStyledTextCtrl_DelLineLeft: { // wxStyledTextCtrl::DelLineLeft wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->DelLineLeft(); - break; + break; } -case wxStyledTextCtrl_DelLineRight: { // wxStyledTextCtrl::DelLineRight +case wxStyledTextCtrl_DelLineRight: { // wxStyledTextCtrl::DelLineRight wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->DelLineRight(); - break; + break; } -case wxStyledTextCtrl_GetXOffset: { // wxStyledTextCtrl::GetXOffset +case wxStyledTextCtrl_GetXOffset: { // wxStyledTextCtrl::GetXOffset wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetXOffset(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_ChooseCaretX: { // wxStyledTextCtrl::ChooseCaretX +case wxStyledTextCtrl_ChooseCaretX: { // wxStyledTextCtrl::ChooseCaretX wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ChooseCaretX(); - break; + break; } -case wxStyledTextCtrl_SetXCaretPolicy: { // wxStyledTextCtrl::SetXCaretPolicy +case wxStyledTextCtrl_SetXCaretPolicy: { // wxStyledTextCtrl::SetXCaretPolicy wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * caretPolicy = (int *) bp; bp += 4; int * caretSlop = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetXCaretPolicy((int) *caretPolicy,(int) *caretSlop); - break; + break; } -case wxStyledTextCtrl_SetYCaretPolicy: { // wxStyledTextCtrl::SetYCaretPolicy +case wxStyledTextCtrl_SetYCaretPolicy: { // wxStyledTextCtrl::SetYCaretPolicy wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * caretPolicy = (int *) bp; bp += 4; int * caretSlop = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetYCaretPolicy((int) *caretPolicy,(int) *caretSlop); - break; + break; } -case wxStyledTextCtrl_GetPrintWrapMode: { // wxStyledTextCtrl::GetPrintWrapMode +case wxStyledTextCtrl_GetPrintWrapMode: { // wxStyledTextCtrl::GetPrintWrapMode wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetPrintWrapMode(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetHotspotActiveForeground: { // wxStyledTextCtrl::SetHotspotActiveForeground +case wxStyledTextCtrl_SetHotspotActiveForeground: { // wxStyledTextCtrl::SetHotspotActiveForeground wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * useSetting = (bool *) bp; bp += 4; int * foreR = (int *) bp; bp += 4; @@ -29484,9 +29484,9 @@ case wxStyledTextCtrl_SetHotspotActiveForeground: { // wxStyledTextCtrl::SetHots wxColour fore = wxColour(*foreR,*foreG,*foreB,*foreA); if(!This) throw wxe_badarg(0); This->SetHotspotActiveForeground((bool) *useSetting,fore); - break; + break; } -case wxStyledTextCtrl_SetHotspotActiveBackground: { // wxStyledTextCtrl::SetHotspotActiveBackground +case wxStyledTextCtrl_SetHotspotActiveBackground: { // wxStyledTextCtrl::SetHotspotActiveBackground wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * useSetting = (bool *) bp; bp += 4; int * backR = (int *) bp; bp += 4; @@ -29496,65 +29496,65 @@ case wxStyledTextCtrl_SetHotspotActiveBackground: { // wxStyledTextCtrl::SetHots wxColour back = wxColour(*backR,*backG,*backB,*backA); if(!This) throw wxe_badarg(0); This->SetHotspotActiveBackground((bool) *useSetting,back); - break; + break; } -case wxStyledTextCtrl_SetHotspotActiveUnderline: { // wxStyledTextCtrl::SetHotspotActiveUnderline +case wxStyledTextCtrl_SetHotspotActiveUnderline: { // wxStyledTextCtrl::SetHotspotActiveUnderline wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * underline = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetHotspotActiveUnderline((bool) *underline); - break; + break; } -case wxStyledTextCtrl_SetHotspotSingleLine: { // wxStyledTextCtrl::SetHotspotSingleLine +case wxStyledTextCtrl_SetHotspotSingleLine: { // wxStyledTextCtrl::SetHotspotSingleLine wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * singleLine = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetHotspotSingleLine((bool) *singleLine); - break; + break; } -case wxStyledTextCtrl_ParaDownExtend: { // wxStyledTextCtrl::ParaDownExtend +case wxStyledTextCtrl_ParaDownExtend: { // wxStyledTextCtrl::ParaDownExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ParaDownExtend(); - break; + break; } -case wxStyledTextCtrl_ParaUp: { // wxStyledTextCtrl::ParaUp +case wxStyledTextCtrl_ParaUp: { // wxStyledTextCtrl::ParaUp wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ParaUp(); - break; + break; } -case wxStyledTextCtrl_ParaUpExtend: { // wxStyledTextCtrl::ParaUpExtend +case wxStyledTextCtrl_ParaUpExtend: { // wxStyledTextCtrl::ParaUpExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ParaUpExtend(); - break; + break; } -case wxStyledTextCtrl_PositionBefore: { // wxStyledTextCtrl::PositionBefore +case wxStyledTextCtrl_PositionBefore: { // wxStyledTextCtrl::PositionBefore wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->PositionBefore((int) *pos); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_PositionAfter: { // wxStyledTextCtrl::PositionAfter +case wxStyledTextCtrl_PositionAfter: { // wxStyledTextCtrl::PositionAfter wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->PositionAfter((int) *pos); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_CopyRange: { // wxStyledTextCtrl::CopyRange +case wxStyledTextCtrl_CopyRange: { // wxStyledTextCtrl::CopyRange wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * start = (int *) bp; bp += 4; int * end = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->CopyRange((int) *start,(int) *end); - break; + break; } -case wxStyledTextCtrl_CopyText: { // wxStyledTextCtrl::CopyText +case wxStyledTextCtrl_CopyText: { // wxStyledTextCtrl::CopyText wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * length = (int *) bp; bp += 4; int * textLen = (int *) bp; bp += 4; @@ -29562,251 +29562,251 @@ case wxStyledTextCtrl_CopyText: { // wxStyledTextCtrl::CopyText bp += *textLen+((8-((4+ *textLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->CopyText((int) *length,text); - break; + break; } -case wxStyledTextCtrl_SetSelectionMode: { // wxStyledTextCtrl::SetSelectionMode +case wxStyledTextCtrl_SetSelectionMode: { // wxStyledTextCtrl::SetSelectionMode wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * mode = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSelectionMode((int) *mode); - break; + break; } -case wxStyledTextCtrl_GetSelectionMode: { // wxStyledTextCtrl::GetSelectionMode +case wxStyledTextCtrl_GetSelectionMode: { // wxStyledTextCtrl::GetSelectionMode wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetSelectionMode(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_LineDownRectExtend: { // wxStyledTextCtrl::LineDownRectExtend +case wxStyledTextCtrl_LineDownRectExtend: { // wxStyledTextCtrl::LineDownRectExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LineDownRectExtend(); - break; + break; } -case wxStyledTextCtrl_LineUpRectExtend: { // wxStyledTextCtrl::LineUpRectExtend +case wxStyledTextCtrl_LineUpRectExtend: { // wxStyledTextCtrl::LineUpRectExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LineUpRectExtend(); - break; + break; } -case wxStyledTextCtrl_CharLeftRectExtend: { // wxStyledTextCtrl::CharLeftRectExtend +case wxStyledTextCtrl_CharLeftRectExtend: { // wxStyledTextCtrl::CharLeftRectExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->CharLeftRectExtend(); - break; + break; } -case wxStyledTextCtrl_CharRightRectExtend: { // wxStyledTextCtrl::CharRightRectExtend +case wxStyledTextCtrl_CharRightRectExtend: { // wxStyledTextCtrl::CharRightRectExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->CharRightRectExtend(); - break; + break; } -case wxStyledTextCtrl_HomeRectExtend: { // wxStyledTextCtrl::HomeRectExtend +case wxStyledTextCtrl_HomeRectExtend: { // wxStyledTextCtrl::HomeRectExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->HomeRectExtend(); - break; + break; } -case wxStyledTextCtrl_VCHomeRectExtend: { // wxStyledTextCtrl::VCHomeRectExtend +case wxStyledTextCtrl_VCHomeRectExtend: { // wxStyledTextCtrl::VCHomeRectExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->VCHomeRectExtend(); - break; + break; } -case wxStyledTextCtrl_LineEndRectExtend: { // wxStyledTextCtrl::LineEndRectExtend +case wxStyledTextCtrl_LineEndRectExtend: { // wxStyledTextCtrl::LineEndRectExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->LineEndRectExtend(); - break; + break; } -case wxStyledTextCtrl_PageUpRectExtend: { // wxStyledTextCtrl::PageUpRectExtend +case wxStyledTextCtrl_PageUpRectExtend: { // wxStyledTextCtrl::PageUpRectExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->PageUpRectExtend(); - break; + break; } -case wxStyledTextCtrl_PageDownRectExtend: { // wxStyledTextCtrl::PageDownRectExtend +case wxStyledTextCtrl_PageDownRectExtend: { // wxStyledTextCtrl::PageDownRectExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->PageDownRectExtend(); - break; + break; } -case wxStyledTextCtrl_StutteredPageUp: { // wxStyledTextCtrl::StutteredPageUp +case wxStyledTextCtrl_StutteredPageUp: { // wxStyledTextCtrl::StutteredPageUp wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->StutteredPageUp(); - break; + break; } -case wxStyledTextCtrl_StutteredPageUpExtend: { // wxStyledTextCtrl::StutteredPageUpExtend +case wxStyledTextCtrl_StutteredPageUpExtend: { // wxStyledTextCtrl::StutteredPageUpExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->StutteredPageUpExtend(); - break; + break; } -case wxStyledTextCtrl_StutteredPageDown: { // wxStyledTextCtrl::StutteredPageDown +case wxStyledTextCtrl_StutteredPageDown: { // wxStyledTextCtrl::StutteredPageDown wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->StutteredPageDown(); - break; + break; } -case wxStyledTextCtrl_StutteredPageDownExtend: { // wxStyledTextCtrl::StutteredPageDownExtend +case wxStyledTextCtrl_StutteredPageDownExtend: { // wxStyledTextCtrl::StutteredPageDownExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->StutteredPageDownExtend(); - break; + break; } -case wxStyledTextCtrl_WordLeftEnd: { // wxStyledTextCtrl::WordLeftEnd +case wxStyledTextCtrl_WordLeftEnd: { // wxStyledTextCtrl::WordLeftEnd wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->WordLeftEnd(); - break; + break; } -case wxStyledTextCtrl_WordLeftEndExtend: { // wxStyledTextCtrl::WordLeftEndExtend +case wxStyledTextCtrl_WordLeftEndExtend: { // wxStyledTextCtrl::WordLeftEndExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->WordLeftEndExtend(); - break; + break; } -case wxStyledTextCtrl_WordRightEnd: { // wxStyledTextCtrl::WordRightEnd +case wxStyledTextCtrl_WordRightEnd: { // wxStyledTextCtrl::WordRightEnd wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->WordRightEnd(); - break; + break; } -case wxStyledTextCtrl_WordRightEndExtend: { // wxStyledTextCtrl::WordRightEndExtend +case wxStyledTextCtrl_WordRightEndExtend: { // wxStyledTextCtrl::WordRightEndExtend wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->WordRightEndExtend(); - break; + break; } -case wxStyledTextCtrl_SetWhitespaceChars: { // wxStyledTextCtrl::SetWhitespaceChars +case wxStyledTextCtrl_SetWhitespaceChars: { // wxStyledTextCtrl::SetWhitespaceChars wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * charactersLen = (int *) bp; bp += 4; wxString characters = wxString(bp, wxConvUTF8); bp += *charactersLen+((8-((0+ *charactersLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetWhitespaceChars(characters); - break; + break; } -case wxStyledTextCtrl_SetCharsDefault: { // wxStyledTextCtrl::SetCharsDefault +case wxStyledTextCtrl_SetCharsDefault: { // wxStyledTextCtrl::SetCharsDefault wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetCharsDefault(); - break; + break; } -case wxStyledTextCtrl_AutoCompGetCurrent: { // wxStyledTextCtrl::AutoCompGetCurrent +case wxStyledTextCtrl_AutoCompGetCurrent: { // wxStyledTextCtrl::AutoCompGetCurrent wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->AutoCompGetCurrent(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_Allocate: { // wxStyledTextCtrl::Allocate +case wxStyledTextCtrl_Allocate: { // wxStyledTextCtrl::Allocate wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * bytes = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Allocate((int) *bytes); - break; + break; } -case wxStyledTextCtrl_FindColumn: { // wxStyledTextCtrl::FindColumn +case wxStyledTextCtrl_FindColumn: { // wxStyledTextCtrl::FindColumn wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; int * column = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); int Result = This->FindColumn((int) *line,(int) *column); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetCaretSticky: { // wxStyledTextCtrl::GetCaretSticky +case wxStyledTextCtrl_GetCaretSticky: { // wxStyledTextCtrl::GetCaretSticky wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetCaretSticky(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_SetCaretSticky: { // wxStyledTextCtrl::SetCaretSticky +case wxStyledTextCtrl_SetCaretSticky: { // wxStyledTextCtrl::SetCaretSticky wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * useCaretStickyBehaviour = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetCaretSticky((bool) *useCaretStickyBehaviour); - break; + break; } -case wxStyledTextCtrl_ToggleCaretSticky: { // wxStyledTextCtrl::ToggleCaretSticky +case wxStyledTextCtrl_ToggleCaretSticky: { // wxStyledTextCtrl::ToggleCaretSticky wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->ToggleCaretSticky(); - break; + break; } -case wxStyledTextCtrl_SetPasteConvertEndings: { // wxStyledTextCtrl::SetPasteConvertEndings +case wxStyledTextCtrl_SetPasteConvertEndings: { // wxStyledTextCtrl::SetPasteConvertEndings wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * convert = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetPasteConvertEndings((bool) *convert); - break; + break; } -case wxStyledTextCtrl_GetPasteConvertEndings: { // wxStyledTextCtrl::GetPasteConvertEndings +case wxStyledTextCtrl_GetPasteConvertEndings: { // wxStyledTextCtrl::GetPasteConvertEndings wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetPasteConvertEndings(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_SelectionDuplicate: { // wxStyledTextCtrl::SelectionDuplicate +case wxStyledTextCtrl_SelectionDuplicate: { // wxStyledTextCtrl::SelectionDuplicate wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SelectionDuplicate(); - break; + break; } -case wxStyledTextCtrl_SetCaretLineBackAlpha: { // wxStyledTextCtrl::SetCaretLineBackAlpha +case wxStyledTextCtrl_SetCaretLineBackAlpha: { // wxStyledTextCtrl::SetCaretLineBackAlpha wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * alpha = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetCaretLineBackAlpha((int) *alpha); - break; + break; } -case wxStyledTextCtrl_GetCaretLineBackAlpha: { // wxStyledTextCtrl::GetCaretLineBackAlpha +case wxStyledTextCtrl_GetCaretLineBackAlpha: { // wxStyledTextCtrl::GetCaretLineBackAlpha wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetCaretLineBackAlpha(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_StartRecord: { // wxStyledTextCtrl::StartRecord +case wxStyledTextCtrl_StartRecord: { // wxStyledTextCtrl::StartRecord wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->StartRecord(); - break; + break; } -case wxStyledTextCtrl_StopRecord: { // wxStyledTextCtrl::StopRecord +case wxStyledTextCtrl_StopRecord: { // wxStyledTextCtrl::StopRecord wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->StopRecord(); - break; + break; } -case wxStyledTextCtrl_SetLexer: { // wxStyledTextCtrl::SetLexer +case wxStyledTextCtrl_SetLexer: { // wxStyledTextCtrl::SetLexer wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * lexer = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetLexer((int) *lexer); - break; + break; } -case wxStyledTextCtrl_GetLexer: { // wxStyledTextCtrl::GetLexer +case wxStyledTextCtrl_GetLexer: { // wxStyledTextCtrl::GetLexer wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetLexer(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_Colourise: { // wxStyledTextCtrl::Colourise +case wxStyledTextCtrl_Colourise: { // wxStyledTextCtrl::Colourise wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * start = (int *) bp; bp += 4; int * end = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->Colourise((int) *start,(int) *end); - break; + break; } -case wxStyledTextCtrl_SetProperty: { // wxStyledTextCtrl::SetProperty +case wxStyledTextCtrl_SetProperty: { // wxStyledTextCtrl::SetProperty wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * keyLen = (int *) bp; bp += 4; wxString key = wxString(bp, wxConvUTF8); @@ -29816,9 +29816,9 @@ case wxStyledTextCtrl_SetProperty: { // wxStyledTextCtrl::SetProperty bp += *valueLen+((8-((4+ *valueLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetProperty(key,value); - break; + break; } -case wxStyledTextCtrl_SetKeyWords: { // wxStyledTextCtrl::SetKeyWords +case wxStyledTextCtrl_SetKeyWords: { // wxStyledTextCtrl::SetKeyWords wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * keywordSet = (int *) bp; bp += 4; int * keyWordsLen = (int *) bp; bp += 4; @@ -29826,18 +29826,18 @@ case wxStyledTextCtrl_SetKeyWords: { // wxStyledTextCtrl::SetKeyWords bp += *keyWordsLen+((8-((4+ *keyWordsLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetKeyWords((int) *keywordSet,keyWords); - break; + break; } -case wxStyledTextCtrl_SetLexerLanguage: { // wxStyledTextCtrl::SetLexerLanguage +case wxStyledTextCtrl_SetLexerLanguage: { // wxStyledTextCtrl::SetLexerLanguage wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * languageLen = (int *) bp; bp += 4; wxString language = wxString(bp, wxConvUTF8); bp += *languageLen+((8-((0+ *languageLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetLexerLanguage(language); - break; + break; } -case wxStyledTextCtrl_GetProperty: { // wxStyledTextCtrl::GetProperty +case wxStyledTextCtrl_GetProperty: { // wxStyledTextCtrl::GetProperty wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * keyLen = (int *) bp; bp += 4; wxString key = wxString(bp, wxConvUTF8); @@ -29845,23 +29845,23 @@ case wxStyledTextCtrl_GetProperty: { // wxStyledTextCtrl::GetProperty if(!This) throw wxe_badarg(0); wxString Result = This->GetProperty(key); rt.add(Result); - break; + break; } -case wxStyledTextCtrl_GetStyleBitsNeeded: { // wxStyledTextCtrl::GetStyleBitsNeeded +case wxStyledTextCtrl_GetStyleBitsNeeded: { // wxStyledTextCtrl::GetStyleBitsNeeded wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetStyleBitsNeeded(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_GetCurrentLine: { // wxStyledTextCtrl::GetCurrentLine +case wxStyledTextCtrl_GetCurrentLine: { // wxStyledTextCtrl::GetCurrentLine wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetCurrentLine(); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_StyleSetSpec: { // wxStyledTextCtrl::StyleSetSpec +case wxStyledTextCtrl_StyleSetSpec: { // wxStyledTextCtrl::StyleSetSpec wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * styleNum = (int *) bp; bp += 4; int * specLen = (int *) bp; bp += 4; @@ -29869,17 +29869,17 @@ case wxStyledTextCtrl_StyleSetSpec: { // wxStyledTextCtrl::StyleSetSpec bp += *specLen+((8-((4+ *specLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->StyleSetSpec((int) *styleNum,spec); - break; + break; } -case wxStyledTextCtrl_StyleSetFont: { // wxStyledTextCtrl::StyleSetFont +case wxStyledTextCtrl_StyleSetFont: { // wxStyledTextCtrl::StyleSetFont wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * styleNum = (int *) bp; bp += 4; wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->StyleSetFont((int) *styleNum,*font); - break; + break; } -case wxStyledTextCtrl_StyleSetFontAttr: { // wxStyledTextCtrl::StyleSetFontAttr +case wxStyledTextCtrl_StyleSetFontAttr: { // wxStyledTextCtrl::StyleSetFontAttr wxFontEncoding encoding=wxFONTENCODING_DEFAULT; wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * styleNum = (int *) bp; bp += 4; @@ -29891,47 +29891,47 @@ case wxStyledTextCtrl_StyleSetFontAttr: { // wxStyledTextCtrl::StyleSetFontAttr bool * italic = (bool *) bp; bp += 4; bool * underline = (bool *) bp; bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; encoding = *(wxFontEncoding *) bp; bp += 4;; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->StyleSetFontAttr((int) *styleNum,(int) *size,faceName,(bool) *bold,(bool) *italic,(bool) *underline,(wxFontEncoding) encoding); - break; + break; } -case wxStyledTextCtrl_StyleSetCharacterSet: { // wxStyledTextCtrl::StyleSetCharacterSet +case wxStyledTextCtrl_StyleSetCharacterSet: { // wxStyledTextCtrl::StyleSetCharacterSet wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * style = (int *) bp; bp += 4; int * characterSet = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->StyleSetCharacterSet((int) *style,(int) *characterSet); - break; + break; } -case wxStyledTextCtrl_StyleSetFontEncoding: { // wxStyledTextCtrl::StyleSetFontEncoding +case wxStyledTextCtrl_StyleSetFontEncoding: { // wxStyledTextCtrl::StyleSetFontEncoding wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * style = (int *) bp; bp += 4; wxFontEncoding encoding = *(wxFontEncoding *) bp; bp += 4;; if(!This) throw wxe_badarg(0); This->StyleSetFontEncoding((int) *style,(wxFontEncoding) encoding); - break; + break; } -case wxStyledTextCtrl_CmdKeyExecute: { // wxStyledTextCtrl::CmdKeyExecute +case wxStyledTextCtrl_CmdKeyExecute: { // wxStyledTextCtrl::CmdKeyExecute wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * cmd = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->CmdKeyExecute((int) *cmd); - break; + break; } -case wxStyledTextCtrl_SetMargins: { // wxStyledTextCtrl::SetMargins +case wxStyledTextCtrl_SetMargins: { // wxStyledTextCtrl::SetMargins wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * left = (int *) bp; bp += 4; int * right = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMargins((int) *left,(int) *right); - break; + break; } -case wxStyledTextCtrl_GetSelection: { // wxStyledTextCtrl::GetSelection +case wxStyledTextCtrl_GetSelection: { // wxStyledTextCtrl::GetSelection int startPos; int endPos; wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; @@ -29940,77 +29940,77 @@ case wxStyledTextCtrl_GetSelection: { // wxStyledTextCtrl::GetSelection rt.addInt(startPos); rt.addInt(endPos); rt.addTupleCount(2); - break; + break; } -case wxStyledTextCtrl_PointFromPosition: { // wxStyledTextCtrl::PointFromPosition +case wxStyledTextCtrl_PointFromPosition: { // wxStyledTextCtrl::PointFromPosition wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); wxPoint Result = This->PointFromPosition((int) *pos); rt.add(Result); - break; + break; } -case wxStyledTextCtrl_ScrollToLine: { // wxStyledTextCtrl::ScrollToLine +case wxStyledTextCtrl_ScrollToLine: { // wxStyledTextCtrl::ScrollToLine wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->ScrollToLine((int) *line); - break; + break; } -case wxStyledTextCtrl_ScrollToColumn: { // wxStyledTextCtrl::ScrollToColumn +case wxStyledTextCtrl_ScrollToColumn: { // wxStyledTextCtrl::ScrollToColumn wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * column = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->ScrollToColumn((int) *column); - break; + break; } -case wxStyledTextCtrl_SendMsg: { // wxStyledTextCtrl::SendMsg +case wxStyledTextCtrl_SendMsg: { // wxStyledTextCtrl::SendMsg long wp=0; long lp=0; wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * msg = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; wp = (long)*(int *) bp; bp += 4; } break; case 2: {bp += 4; lp = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); long Result = This->SendMsg((int) *msg,wp,lp); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_SetVScrollBar: { // wxStyledTextCtrl::SetVScrollBar +case wxStyledTextCtrl_SetVScrollBar: { // wxStyledTextCtrl::SetVScrollBar wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; wxScrollBar *bar = (wxScrollBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetVScrollBar(bar); - break; + break; } -case wxStyledTextCtrl_SetHScrollBar: { // wxStyledTextCtrl::SetHScrollBar +case wxStyledTextCtrl_SetHScrollBar: { // wxStyledTextCtrl::SetHScrollBar wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; wxScrollBar *bar = (wxScrollBar *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetHScrollBar(bar); - break; + break; } -case wxStyledTextCtrl_GetLastKeydownProcessed: { // wxStyledTextCtrl::GetLastKeydownProcessed +case wxStyledTextCtrl_GetLastKeydownProcessed: { // wxStyledTextCtrl::GetLastKeydownProcessed wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetLastKeydownProcessed(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_SetLastKeydownProcessed: { // wxStyledTextCtrl::SetLastKeydownProcessed +case wxStyledTextCtrl_SetLastKeydownProcessed: { // wxStyledTextCtrl::SetLastKeydownProcessed wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; bool * val = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetLastKeydownProcessed((bool) *val); - break; + break; } -case wxStyledTextCtrl_SaveFile: { // wxStyledTextCtrl::SaveFile +case wxStyledTextCtrl_SaveFile: { // wxStyledTextCtrl::SaveFile wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * filenameLen = (int *) bp; bp += 4; wxString filename = wxString(bp, wxConvUTF8); @@ -30018,9 +30018,9 @@ case wxStyledTextCtrl_SaveFile: { // wxStyledTextCtrl::SaveFile if(!This) throw wxe_badarg(0); bool Result = This->SaveFile(filename); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_LoadFile: { // wxStyledTextCtrl::LoadFile +case wxStyledTextCtrl_LoadFile: { // wxStyledTextCtrl::LoadFile wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * filenameLen = (int *) bp; bp += 4; wxString filename = wxString(bp, wxConvUTF8); @@ -30028,9 +30028,9 @@ case wxStyledTextCtrl_LoadFile: { // wxStyledTextCtrl::LoadFile if(!This) throw wxe_badarg(0); bool Result = This->LoadFile(filename); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_DoDragOver: { // wxStyledTextCtrl::DoDragOver +case wxStyledTextCtrl_DoDragOver: { // wxStyledTextCtrl::DoDragOver wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; @@ -30038,9 +30038,9 @@ case wxStyledTextCtrl_DoDragOver: { // wxStyledTextCtrl::DoDragOver if(!This) throw wxe_badarg(0); int Result = This->DoDragOver((wxCoord) *x,(wxCoord) *y,(wxDragResult) def); rt.addInt(Result); - break; + break; } -case wxStyledTextCtrl_DoDropText: { // wxStyledTextCtrl::DoDropText +case wxStyledTextCtrl_DoDropText: { // wxStyledTextCtrl::DoDropText wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * x = (int *) bp; bp += 4; int * y = (int *) bp; bp += 4; @@ -30050,31 +30050,31 @@ case wxStyledTextCtrl_DoDropText: { // wxStyledTextCtrl::DoDropText if(!This) throw wxe_badarg(0); bool Result = This->DoDropText((long) *x,(long) *y,data); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_GetUseAntiAliasing: { // wxStyledTextCtrl::GetUseAntiAliasing +case wxStyledTextCtrl_GetUseAntiAliasing: { // wxStyledTextCtrl::GetUseAntiAliasing wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetUseAntiAliasing(); rt.addBool(Result); - break; + break; } -case wxStyledTextCtrl_AddTextRaw: { // wxStyledTextCtrl::AddTextRaw +case wxStyledTextCtrl_AddTextRaw: { // wxStyledTextCtrl::AddTextRaw wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; - const char * text = (const char*) Ecmd.bin[0]->base; + const char * text = (const char*) Ecmd.bin[0]->base; if(!This) throw wxe_badarg(0); This->AddTextRaw(text); - break; + break; } -case wxStyledTextCtrl_InsertTextRaw: { // wxStyledTextCtrl::InsertTextRaw +case wxStyledTextCtrl_InsertTextRaw: { // wxStyledTextCtrl::InsertTextRaw wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; - const char * text = (const char*) Ecmd.bin[0]->base; + const char * text = (const char*) Ecmd.bin[0]->base; if(!This) throw wxe_badarg(0); This->InsertTextRaw((int) *pos,text); - break; + break; } -case wxStyledTextCtrl_GetCurLineRaw: { // wxStyledTextCtrl::GetCurLineRaw +case wxStyledTextCtrl_GetCurLineRaw: { // wxStyledTextCtrl::GetCurLineRaw int linePos; wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); @@ -30084,9 +30084,9 @@ case wxStyledTextCtrl_GetCurLineRaw: { // wxStyledTextCtrl::GetCurLineRaw } else {rt.addAtom("null");}; rt.addInt(linePos); rt.addTupleCount(2); - break; + break; } -case wxStyledTextCtrl_GetLineRaw: { // wxStyledTextCtrl::GetLineRaw +case wxStyledTextCtrl_GetLineRaw: { // wxStyledTextCtrl::GetLineRaw wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * line = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); @@ -30094,18 +30094,18 @@ case wxStyledTextCtrl_GetLineRaw: { // wxStyledTextCtrl::GetLineRaw if(Result) { rt.addBinary(Result, strlen(Result)); } else {rt.addAtom("null");}; - break; + break; } -case wxStyledTextCtrl_GetSelectedTextRaw: { // wxStyledTextCtrl::GetSelectedTextRaw +case wxStyledTextCtrl_GetSelectedTextRaw: { // wxStyledTextCtrl::GetSelectedTextRaw wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); char * Result = This->GetSelectedTextRaw().data(); if(Result) { rt.addBinary(Result, strlen(Result)); } else {rt.addAtom("null");}; - break; + break; } -case wxStyledTextCtrl_GetTextRangeRaw: { // wxStyledTextCtrl::GetTextRangeRaw +case wxStyledTextCtrl_GetTextRangeRaw: { // wxStyledTextCtrl::GetTextRangeRaw wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; int * startPos = (int *) bp; bp += 4; int * endPos = (int *) bp; bp += 4; @@ -30114,38 +30114,38 @@ case wxStyledTextCtrl_GetTextRangeRaw: { // wxStyledTextCtrl::GetTextRangeRaw if(Result) { rt.addBinary(Result, strlen(Result)); } else {rt.addAtom("null");}; - break; + break; } -case wxStyledTextCtrl_SetTextRaw: { // wxStyledTextCtrl::SetTextRaw +case wxStyledTextCtrl_SetTextRaw: { // wxStyledTextCtrl::SetTextRaw wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; - const char * text = (const char*) Ecmd.bin[0]->base; + const char * text = (const char*) Ecmd.bin[0]->base; if(!This) throw wxe_badarg(0); This->SetTextRaw(text); - break; + break; } -case wxStyledTextCtrl_GetTextRaw: { // wxStyledTextCtrl::GetTextRaw +case wxStyledTextCtrl_GetTextRaw: { // wxStyledTextCtrl::GetTextRaw wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); char * Result = This->GetTextRaw().data(); if(Result) { rt.addBinary(Result, strlen(Result)); } else {rt.addAtom("null");}; - break; + break; } -case wxStyledTextCtrl_AppendTextRaw: { // wxStyledTextCtrl::AppendTextRaw +case wxStyledTextCtrl_AppendTextRaw: { // wxStyledTextCtrl::AppendTextRaw wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4; - const char * text = (const char*) Ecmd.bin[0]->base; + const char * text = (const char*) Ecmd.bin[0]->base; if(!This) throw wxe_badarg(0); This->AppendTextRaw(text); - break; + break; } -case wxArtProvider_GetBitmap: { // wxArtProvider::GetBitmap +case wxArtProvider_GetBitmap: { // wxArtProvider::GetBitmap wxArtClient client= wxART_OTHER; wxSize size= wxDefaultSize; int * idLen = (int *) bp; bp += 4; wxString id = wxString(bp, wxConvUTF8); bp += *idLen+((8-((4+ *idLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * clientLen = (int *) bp; bp += 4; client = wxString(bp, wxConvUTF8); @@ -30157,18 +30157,18 @@ case wxArtProvider_GetBitmap: { // wxArtProvider::GetBitmap size = wxSize(*sizeW,*sizeH); bp += 4; /* Align */ } break; - }}; + }}; wxBitmap * Result = new wxBitmap(wxArtProvider::GetBitmap(id,client,size)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxBitmap"); - break; + break; } -case wxArtProvider_GetIcon: { // wxArtProvider::GetIcon +case wxArtProvider_GetIcon: { // wxArtProvider::GetIcon wxArtClient client= wxART_OTHER; wxSize size= wxDefaultSize; int * idLen = (int *) bp; bp += 4; wxString id = wxString(bp, wxConvUTF8); bp += *idLen+((8-((4+ *idLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * clientLen = (int *) bp; bp += 4; client = wxString(bp, wxConvUTF8); @@ -30180,324 +30180,324 @@ case wxArtProvider_GetIcon: { // wxArtProvider::GetIcon size = wxSize(*sizeW,*sizeH); bp += 4; /* Align */ } break; - }}; + }}; wxIcon * Result = new wxIcon(wxArtProvider::GetIcon(id,client,size)); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxIcon"); - break; + break; } -case wxTreeEvent_GetKeyCode: { // wxTreeEvent::GetKeyCode +case wxTreeEvent_GetKeyCode: { // wxTreeEvent::GetKeyCode wxTreeEvent *This = (wxTreeEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetKeyCode(); rt.addInt(Result); - break; + break; } -case wxTreeEvent_GetItem: { // wxTreeEvent::GetItem +case wxTreeEvent_GetItem: { // wxTreeEvent::GetItem wxTreeEvent *This = (wxTreeEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxTreeItemId Result = This->GetItem(); rt.add((wxUIntPtr *) Result.m_pItem); - break; + break; } -case wxTreeEvent_GetKeyEvent: { // wxTreeEvent::GetKeyEvent +case wxTreeEvent_GetKeyEvent: { // wxTreeEvent::GetKeyEvent wxTreeEvent *This = (wxTreeEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxKeyEvent * Result = &This->GetKeyEvent(); rt.addRef(getRef((void *)Result,memenv), "wxKeyEvent"); - break; + break; } -case wxTreeEvent_GetLabel: { // wxTreeEvent::GetLabel +case wxTreeEvent_GetLabel: { // wxTreeEvent::GetLabel wxTreeEvent *This = (wxTreeEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxString * Result = &This->GetLabel(); rt.add(Result); - break; + break; } -case wxTreeEvent_GetOldItem: { // wxTreeEvent::GetOldItem +case wxTreeEvent_GetOldItem: { // wxTreeEvent::GetOldItem wxTreeEvent *This = (wxTreeEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxTreeItemId Result = This->GetOldItem(); rt.add((wxUIntPtr *) Result.m_pItem); - break; + break; } -case wxTreeEvent_GetPoint: { // wxTreeEvent::GetPoint +case wxTreeEvent_GetPoint: { // wxTreeEvent::GetPoint wxTreeEvent *This = (wxTreeEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxPoint Result = This->GetPoint(); rt.add(Result); - break; + break; } -case wxTreeEvent_IsEditCancelled: { // wxTreeEvent::IsEditCancelled +case wxTreeEvent_IsEditCancelled: { // wxTreeEvent::IsEditCancelled wxTreeEvent *This = (wxTreeEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsEditCancelled(); rt.addBool(Result); - break; + break; } -case wxTreeEvent_SetToolTip: { // wxTreeEvent::SetToolTip +case wxTreeEvent_SetToolTip: { // wxTreeEvent::SetToolTip wxTreeEvent *This = (wxTreeEvent *) getPtr(bp,memenv); bp += 4; int * toolTipLen = (int *) bp; bp += 4; wxString toolTip = wxString(bp, wxConvUTF8); bp += *toolTipLen+((8-((0+ *toolTipLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetToolTip(toolTip); - break; + break; } -case wxNotebookEvent_GetOldSelection: { // wxNotebookEvent::GetOldSelection +case wxNotebookEvent_GetOldSelection: { // wxNotebookEvent::GetOldSelection wxNotebookEvent *This = (wxNotebookEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetOldSelection(); rt.addInt(Result); - break; + break; } -case wxNotebookEvent_GetSelection: { // wxNotebookEvent::GetSelection +case wxNotebookEvent_GetSelection: { // wxNotebookEvent::GetSelection wxNotebookEvent *This = (wxNotebookEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetSelection(); rt.addInt(Result); - break; + break; } -case wxNotebookEvent_SetOldSelection: { // wxNotebookEvent::SetOldSelection +case wxNotebookEvent_SetOldSelection: { // wxNotebookEvent::SetOldSelection wxNotebookEvent *This = (wxNotebookEvent *) getPtr(bp,memenv); bp += 4; int * nOldSel = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetOldSelection((int) *nOldSel); - break; + break; } -case wxNotebookEvent_SetSelection: { // wxNotebookEvent::SetSelection +case wxNotebookEvent_SetSelection: { // wxNotebookEvent::SetSelection wxNotebookEvent *This = (wxNotebookEvent *) getPtr(bp,memenv); bp += 4; int * nSel = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSelection((int) *nSel); - break; + break; } -case wxFileDataObject_new: { // wxFileDataObject::wxFileDataObject +case wxFileDataObject_new: { // wxFileDataObject::wxFileDataObject wxFileDataObject * Result = new wxFileDataObject(); newPtr((void *) Result, 211, memenv); rt.addRef(getRef((void *)Result,memenv), "wxFileDataObject"); - break; + break; } -case wxFileDataObject_AddFile: { // wxFileDataObject::AddFile +case wxFileDataObject_AddFile: { // wxFileDataObject::AddFile wxFileDataObject *This = (wxFileDataObject *) getPtr(bp,memenv); bp += 4; int * filenameLen = (int *) bp; bp += 4; wxString filename = wxString(bp, wxConvUTF8); bp += *filenameLen+((8-((0+ *filenameLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->AddFile(filename); - break; + break; } -case wxFileDataObject_GetFilenames: { // wxFileDataObject::GetFilenames +case wxFileDataObject_GetFilenames: { // wxFileDataObject::GetFilenames wxFileDataObject *This = (wxFileDataObject *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxArrayString Result = This->GetFilenames(); rt.add(Result); - break; + break; } -case wxFileDataObject_destroy: { // wxFileDataObject::destroy +case wxFileDataObject_destroy: { // wxFileDataObject::destroy wxFileDataObject *This = (wxFileDataObject *) getPtr(bp,memenv); bp += 4; if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This); delete This;} - break; + break; } -case wxTextDataObject_new: { // wxTextDataObject::wxTextDataObject +case wxTextDataObject_new: { // wxTextDataObject::wxTextDataObject wxString text= wxEmptyString; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; int * textLen = (int *) bp; bp += 4; text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); } break; - }}; + }}; wxTextDataObject * Result = new wxTextDataObject(text); newPtr((void *) Result, 212, memenv); rt.addRef(getRef((void *)Result,memenv), "wxTextDataObject"); - break; + break; } -case wxTextDataObject_GetTextLength: { // wxTextDataObject::GetTextLength +case wxTextDataObject_GetTextLength: { // wxTextDataObject::GetTextLength wxTextDataObject *This = (wxTextDataObject *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); size_t Result = This->GetTextLength(); rt.addInt(Result); - break; + break; } -case wxTextDataObject_GetText: { // wxTextDataObject::GetText +case wxTextDataObject_GetText: { // wxTextDataObject::GetText wxTextDataObject *This = (wxTextDataObject *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetText(); rt.add(Result); - break; + break; } -case wxTextDataObject_SetText: { // wxTextDataObject::SetText +case wxTextDataObject_SetText: { // wxTextDataObject::SetText wxTextDataObject *This = (wxTextDataObject *) getPtr(bp,memenv); bp += 4; int * textLen = (int *) bp; bp += 4; wxString text = wxString(bp, wxConvUTF8); bp += *textLen+((8-((0+ *textLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetText(text); - break; + break; } -case wxTextDataObject_destroy: { // wxTextDataObject::destroy +case wxTextDataObject_destroy: { // wxTextDataObject::destroy wxTextDataObject *This = (wxTextDataObject *) getPtr(bp,memenv); bp += 4; if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This); delete This;} - break; + break; } -case wxBitmapDataObject_new_1_1: { // wxBitmapDataObject::wxBitmapDataObject +case wxBitmapDataObject_new_1_1: { // wxBitmapDataObject::wxBitmapDataObject wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; wxBitmapDataObject * Result = new wxBitmapDataObject(*bitmap); newPtr((void *) Result, 213, memenv); rt.addRef(getRef((void *)Result,memenv), "wxBitmapDataObject"); - break; + break; } -case wxBitmapDataObject_new_1_0: { // wxBitmapDataObject::wxBitmapDataObject +case wxBitmapDataObject_new_1_0: { // wxBitmapDataObject::wxBitmapDataObject const wxBitmap * bitmap= &wxNullBitmap; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; wxBitmapDataObject * Result = new wxBitmapDataObject(*bitmap); newPtr((void *) Result, 213, memenv); rt.addRef(getRef((void *)Result,memenv), "wxBitmapDataObject"); - break; + break; } -case wxBitmapDataObject_GetBitmap: { // wxBitmapDataObject::GetBitmap +case wxBitmapDataObject_GetBitmap: { // wxBitmapDataObject::GetBitmap wxBitmapDataObject *This = (wxBitmapDataObject *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxBitmap * Result = new wxBitmap(This->GetBitmap()); newPtr((void *) Result,3, memenv);; rt.addRef(getRef((void *)Result,memenv), "wxBitmap"); - break; + break; } -case wxBitmapDataObject_SetBitmap: { // wxBitmapDataObject::SetBitmap +case wxBitmapDataObject_SetBitmap: { // wxBitmapDataObject::SetBitmap wxBitmapDataObject *This = (wxBitmapDataObject *) getPtr(bp,memenv); bp += 4; wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetBitmap(*bitmap); - break; + break; } -case wxBitmapDataObject_destroy: { // wxBitmapDataObject::destroy +case wxBitmapDataObject_destroy: { // wxBitmapDataObject::destroy wxBitmapDataObject *This = (wxBitmapDataObject *) getPtr(bp,memenv); bp += 4; if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This); delete This;} - break; + break; } -case wxClipboard_new: { // wxClipboard::wxClipboard +case wxClipboard_new: { // wxClipboard::wxClipboard wxClipboard * Result = new EwxClipboard(); newPtr((void *) Result, 1, memenv); rt.addRef(getRef((void *)Result,memenv), "wxClipboard"); - break; + break; } -case wxClipboard_AddData: { // wxClipboard::AddData +case wxClipboard_AddData: { // wxClipboard::AddData wxClipboard *This = (wxClipboard *) getPtr(bp,memenv); bp += 4; wxDataObject *data = (wxDataObject *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->AddData(data); rt.addBool(Result); - break; + break; } -case wxClipboard_Clear: { // wxClipboard::Clear +case wxClipboard_Clear: { // wxClipboard::Clear wxClipboard *This = (wxClipboard *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Clear(); - break; + break; } -case wxClipboard_Close: { // wxClipboard::Close +case wxClipboard_Close: { // wxClipboard::Close wxClipboard *This = (wxClipboard *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Close(); - break; + break; } -case wxClipboard_Flush: { // wxClipboard::Flush +case wxClipboard_Flush: { // wxClipboard::Flush wxClipboard *This = (wxClipboard *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Flush(); rt.addBool(Result); - break; + break; } -case wxClipboard_GetData: { // wxClipboard::GetData +case wxClipboard_GetData: { // wxClipboard::GetData wxClipboard *This = (wxClipboard *) getPtr(bp,memenv); bp += 4; wxDataObject *data = (wxDataObject *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetData(*data); rt.addBool(Result); - break; + break; } -case wxClipboard_IsOpened: { // wxClipboard::IsOpened +case wxClipboard_IsOpened: { // wxClipboard::IsOpened wxClipboard *This = (wxClipboard *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsOpened(); rt.addBool(Result); - break; + break; } -case wxClipboard_Open: { // wxClipboard::Open +case wxClipboard_Open: { // wxClipboard::Open wxClipboard *This = (wxClipboard *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->Open(); rt.addBool(Result); - break; + break; } -case wxClipboard_SetData: { // wxClipboard::SetData +case wxClipboard_SetData: { // wxClipboard::SetData wxClipboard *This = (wxClipboard *) getPtr(bp,memenv); bp += 4; wxDataObject *data = (wxDataObject *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->SetData(data); rt.addBool(Result); - break; + break; } -case wxClipboard_UsePrimarySelection: { // wxClipboard::UsePrimarySelection +case wxClipboard_UsePrimarySelection: { // wxClipboard::UsePrimarySelection bool primary=false; wxClipboard *This = (wxClipboard *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; primary = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->UsePrimarySelection(primary); - break; + break; } -case wxClipboard_IsSupported: { // wxClipboard::IsSupported +case wxClipboard_IsSupported: { // wxClipboard::IsSupported wxClipboard *This = (wxClipboard *) getPtr(bp,memenv); bp += 4; const int * format = (const int *) bp; bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsSupported((wxDataFormatId) *format); rt.addBool(Result); - break; + break; } -case wxClipboard_Get: { // wxClipboard::Get +case wxClipboard_Get: { // wxClipboard::Get wxClipboard * Result = (wxClipboard*)wxClipboard::Get(); rt.addRef(getRef((void *)Result,memenv), "wxClipboard"); - break; + break; } -case wxSpinEvent_GetPosition: { // wxSpinEvent::GetPosition +case wxSpinEvent_GetPosition: { // wxSpinEvent::GetPosition wxSpinEvent *This = (wxSpinEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetPosition(); rt.addInt(Result); - break; + break; } -case wxSpinEvent_SetPosition: { // wxSpinEvent::SetPosition +case wxSpinEvent_SetPosition: { // wxSpinEvent::SetPosition wxSpinEvent *This = (wxSpinEvent *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetPosition((int) *pos); - break; + break; } -case wxSplitterWindow_new_0: { // wxSplitterWindow::wxSplitterWindow +case wxSplitterWindow_new_0: { // wxSplitterWindow::wxSplitterWindow wxSplitterWindow * Result = new EwxSplitterWindow(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSplitterWindow"); - break; + break; } -case wxSplitterWindow_new_2: { // wxSplitterWindow::wxSplitterWindow +case wxSplitterWindow_new_2: { // wxSplitterWindow::wxSplitterWindow wxWindowID id=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxSP_3D; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -30516,20 +30516,20 @@ case wxSplitterWindow_new_2: { // wxSplitterWindow::wxSplitterWindow case 4: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxSplitterWindow * Result = new EwxSplitterWindow(parent,id,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxSplitterWindow"); - break; + break; } -case wxSplitterWindow_Create: { // wxSplitterWindow::Create +case wxSplitterWindow_Create: { // wxSplitterWindow::Create wxWindowID id=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxSP_3D; wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -30548,220 +30548,220 @@ case wxSplitterWindow_Create: { // wxSplitterWindow::Create case 4: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,id,pos,size,style); rt.addBool(Result); - break; + break; } -case wxSplitterWindow_GetMinimumPaneSize: { // wxSplitterWindow::GetMinimumPaneSize +case wxSplitterWindow_GetMinimumPaneSize: { // wxSplitterWindow::GetMinimumPaneSize wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetMinimumPaneSize(); rt.addInt(Result); - break; + break; } -case wxSplitterWindow_GetSashGravity: { // wxSplitterWindow::GetSashGravity +case wxSplitterWindow_GetSashGravity: { // wxSplitterWindow::GetSashGravity wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); double Result = This->GetSashGravity(); rt.addFloat(Result); - break; + break; } -case wxSplitterWindow_GetSashPosition: { // wxSplitterWindow::GetSashPosition +case wxSplitterWindow_GetSashPosition: { // wxSplitterWindow::GetSashPosition wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetSashPosition(); rt.addInt(Result); - break; + break; } -case wxSplitterWindow_GetSplitMode: { // wxSplitterWindow::GetSplitMode +case wxSplitterWindow_GetSplitMode: { // wxSplitterWindow::GetSplitMode wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetSplitMode(); rt.addInt(Result); - break; + break; } -case wxSplitterWindow_GetWindow1: { // wxSplitterWindow::GetWindow1 +case wxSplitterWindow_GetWindow1: { // wxSplitterWindow::GetWindow1 wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetWindow1(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxSplitterWindow_GetWindow2: { // wxSplitterWindow::GetWindow2 +case wxSplitterWindow_GetWindow2: { // wxSplitterWindow::GetWindow2 wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetWindow2(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxSplitterWindow_Initialize: { // wxSplitterWindow::Initialize +case wxSplitterWindow_Initialize: { // wxSplitterWindow::Initialize wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4; wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->Initialize(window); - break; + break; } -case wxSplitterWindow_IsSplit: { // wxSplitterWindow::IsSplit +case wxSplitterWindow_IsSplit: { // wxSplitterWindow::IsSplit wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->IsSplit(); rt.addBool(Result); - break; + break; } -case wxSplitterWindow_ReplaceWindow: { // wxSplitterWindow::ReplaceWindow +case wxSplitterWindow_ReplaceWindow: { // wxSplitterWindow::ReplaceWindow wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4; wxWindow *winOld = (wxWindow *) getPtr(bp,memenv); bp += 4; wxWindow *winNew = (wxWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->ReplaceWindow(winOld,winNew); rt.addBool(Result); - break; + break; } -case wxSplitterWindow_SetSashGravity: { // wxSplitterWindow::SetSashGravity +case wxSplitterWindow_SetSashGravity: { // wxSplitterWindow::SetSashGravity wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ double * gravity = (double *) bp; bp += 8; if(!This) throw wxe_badarg(0); This->SetSashGravity((double) *gravity); - break; + break; } -case wxSplitterWindow_SetSashPosition: { // wxSplitterWindow::SetSashPosition +case wxSplitterWindow_SetSashPosition: { // wxSplitterWindow::SetSashPosition bool redraw=true; wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4; int * position = (int *) bp; bp += 4; - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; redraw = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetSashPosition((int) *position,redraw); - break; + break; } -case wxSplitterWindow_SetSashSize: { // wxSplitterWindow::SetSashSize +case wxSplitterWindow_SetSashSize: { // wxSplitterWindow::SetSashSize wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4; int * width = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSashSize((int) *width); - break; + break; } -case wxSplitterWindow_SetMinimumPaneSize: { // wxSplitterWindow::SetMinimumPaneSize +case wxSplitterWindow_SetMinimumPaneSize: { // wxSplitterWindow::SetMinimumPaneSize wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4; int * min = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetMinimumPaneSize((int) *min); - break; + break; } -case wxSplitterWindow_SetSplitMode: { // wxSplitterWindow::SetSplitMode +case wxSplitterWindow_SetSplitMode: { // wxSplitterWindow::SetSplitMode wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4; int * mode = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSplitMode((int) *mode); - break; + break; } -case wxSplitterWindow_SplitHorizontally: { // wxSplitterWindow::SplitHorizontally +case wxSplitterWindow_SplitHorizontally: { // wxSplitterWindow::SplitHorizontally int sashPosition=0; wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4; wxWindow *window1 = (wxWindow *) getPtr(bp,memenv); bp += 4; wxWindow *window2 = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; sashPosition = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->SplitHorizontally(window1,window2,sashPosition); rt.addBool(Result); - break; + break; } -case wxSplitterWindow_SplitVertically: { // wxSplitterWindow::SplitVertically +case wxSplitterWindow_SplitVertically: { // wxSplitterWindow::SplitVertically int sashPosition=0; wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4; wxWindow *window1 = (wxWindow *) getPtr(bp,memenv); bp += 4; wxWindow *window2 = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; sashPosition = (int)*(int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->SplitVertically(window1,window2,sashPosition); rt.addBool(Result); - break; + break; } -case wxSplitterWindow_Unsplit: { // wxSplitterWindow::Unsplit +case wxSplitterWindow_Unsplit: { // wxSplitterWindow::Unsplit wxWindow * toRemove=(wxWindow *) NULL; wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; toRemove = (wxWindow *) getPtr(bp,memenv); bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); bool Result = This->Unsplit(toRemove); rt.addBool(Result); - break; + break; } -case wxSplitterWindow_UpdateSize: { // wxSplitterWindow::UpdateSize +case wxSplitterWindow_UpdateSize: { // wxSplitterWindow::UpdateSize wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->UpdateSize(); - break; + break; } -case wxSplitterEvent_GetSashPosition: { // wxSplitterEvent::GetSashPosition +case wxSplitterEvent_GetSashPosition: { // wxSplitterEvent::GetSashPosition wxSplitterEvent *This = (wxSplitterEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetSashPosition(); rt.addInt(Result); - break; + break; } -case wxSplitterEvent_GetX: { // wxSplitterEvent::GetX +case wxSplitterEvent_GetX: { // wxSplitterEvent::GetX wxSplitterEvent *This = (wxSplitterEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetX(); rt.addInt(Result); - break; + break; } -case wxSplitterEvent_GetY: { // wxSplitterEvent::GetY +case wxSplitterEvent_GetY: { // wxSplitterEvent::GetY wxSplitterEvent *This = (wxSplitterEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetY(); rt.addInt(Result); - break; + break; } -case wxSplitterEvent_GetWindowBeingRemoved: { // wxSplitterEvent::GetWindowBeingRemoved +case wxSplitterEvent_GetWindowBeingRemoved: { // wxSplitterEvent::GetWindowBeingRemoved wxSplitterEvent *This = (wxSplitterEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxWindow * Result = (wxWindow*)This->GetWindowBeingRemoved(); rt.addRef(getRef((void *)Result,memenv), "wxWindow"); - break; + break; } -case wxSplitterEvent_SetSashPosition: { // wxSplitterEvent::SetSashPosition +case wxSplitterEvent_SetSashPosition: { // wxSplitterEvent::SetSashPosition wxSplitterEvent *This = (wxSplitterEvent *) getPtr(bp,memenv); bp += 4; int * pos = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSashPosition((int) *pos); - break; + break; } -case wxHtmlWindow_new_0: { // wxHtmlWindow::wxHtmlWindow +case wxHtmlWindow_new_0: { // wxHtmlWindow::wxHtmlWindow wxHtmlWindow * Result = new EwxHtmlWindow(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxHtmlWindow"); - break; + break; } -case wxHtmlWindow_new_2: { // wxHtmlWindow::wxHtmlWindow +case wxHtmlWindow_new_2: { // wxHtmlWindow::wxHtmlWindow wxWindowID id=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=0x0004; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; id = (wxWindowID)*(int *) bp; bp += 4; } break; @@ -30780,13 +30780,13 @@ case wxHtmlWindow_new_2: { // wxHtmlWindow::wxHtmlWindow case 4: {bp += 4; style = (long)*(int *) bp; bp += 4; } break; - }}; + }}; wxHtmlWindow * Result = new EwxHtmlWindow(parent,id,pos,size,style); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxHtmlWindow"); - break; + break; } -case wxHtmlWindow_AppendToPage: { // wxHtmlWindow::AppendToPage +case wxHtmlWindow_AppendToPage: { // wxHtmlWindow::AppendToPage wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4; int * sourceLen = (int *) bp; bp += 4; wxString source = wxString(bp, wxConvUTF8); @@ -30794,71 +30794,71 @@ case wxHtmlWindow_AppendToPage: { // wxHtmlWindow::AppendToPage if(!This) throw wxe_badarg(0); bool Result = This->AppendToPage(source); rt.addBool(Result); - break; + break; } -case wxHtmlWindow_GetOpenedAnchor: { // wxHtmlWindow::GetOpenedAnchor +case wxHtmlWindow_GetOpenedAnchor: { // wxHtmlWindow::GetOpenedAnchor wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetOpenedAnchor(); rt.add(Result); - break; + break; } -case wxHtmlWindow_GetOpenedPage: { // wxHtmlWindow::GetOpenedPage +case wxHtmlWindow_GetOpenedPage: { // wxHtmlWindow::GetOpenedPage wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetOpenedPage(); rt.add(Result); - break; + break; } -case wxHtmlWindow_GetOpenedPageTitle: { // wxHtmlWindow::GetOpenedPageTitle +case wxHtmlWindow_GetOpenedPageTitle: { // wxHtmlWindow::GetOpenedPageTitle wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->GetOpenedPageTitle(); rt.add(Result); - break; + break; } -case wxHtmlWindow_GetRelatedFrame: { // wxHtmlWindow::GetRelatedFrame +case wxHtmlWindow_GetRelatedFrame: { // wxHtmlWindow::GetRelatedFrame wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxFrame * Result = (wxFrame*)This->GetRelatedFrame(); rt.addRef(getRef((void *)Result,memenv), "wxFrame"); - break; + break; } -case wxHtmlWindow_HistoryBack: { // wxHtmlWindow::HistoryBack +case wxHtmlWindow_HistoryBack: { // wxHtmlWindow::HistoryBack wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HistoryBack(); rt.addBool(Result); - break; + break; } -case wxHtmlWindow_HistoryCanBack: { // wxHtmlWindow::HistoryCanBack +case wxHtmlWindow_HistoryCanBack: { // wxHtmlWindow::HistoryCanBack wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HistoryCanBack(); rt.addBool(Result); - break; + break; } -case wxHtmlWindow_HistoryCanForward: { // wxHtmlWindow::HistoryCanForward +case wxHtmlWindow_HistoryCanForward: { // wxHtmlWindow::HistoryCanForward wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HistoryCanForward(); rt.addBool(Result); - break; + break; } -case wxHtmlWindow_HistoryClear: { // wxHtmlWindow::HistoryClear +case wxHtmlWindow_HistoryClear: { // wxHtmlWindow::HistoryClear wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->HistoryClear(); - break; + break; } -case wxHtmlWindow_HistoryForward: { // wxHtmlWindow::HistoryForward +case wxHtmlWindow_HistoryForward: { // wxHtmlWindow::HistoryForward wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->HistoryForward(); rt.addBool(Result); - break; + break; } -case wxHtmlWindow_LoadFile: { // wxHtmlWindow::LoadFile +case wxHtmlWindow_LoadFile: { // wxHtmlWindow::LoadFile wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4; int * filenameLen = (int *) bp; bp += 4; wxString filenameStr = wxString(bp, wxConvUTF8); @@ -30867,9 +30867,9 @@ case wxHtmlWindow_LoadFile: { // wxHtmlWindow::LoadFile if(!This) throw wxe_badarg(0); bool Result = This->LoadFile(filename); rt.addBool(Result); - break; + break; } -case wxHtmlWindow_LoadPage: { // wxHtmlWindow::LoadPage +case wxHtmlWindow_LoadPage: { // wxHtmlWindow::LoadPage wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4; int * locationLen = (int *) bp; bp += 4; wxString location = wxString(bp, wxConvUTF8); @@ -30877,47 +30877,47 @@ case wxHtmlWindow_LoadPage: { // wxHtmlWindow::LoadPage if(!This) throw wxe_badarg(0); bool Result = This->LoadPage(location); rt.addBool(Result); - break; + break; } -case wxHtmlWindow_SelectAll: { // wxHtmlWindow::SelectAll +case wxHtmlWindow_SelectAll: { // wxHtmlWindow::SelectAll wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SelectAll(); - break; + break; } -case wxHtmlWindow_SelectionToText: { // wxHtmlWindow::SelectionToText +case wxHtmlWindow_SelectionToText: { // wxHtmlWindow::SelectionToText wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->SelectionToText(); rt.add(Result); - break; + break; } -case wxHtmlWindow_SelectLine: { // wxHtmlWindow::SelectLine +case wxHtmlWindow_SelectLine: { // wxHtmlWindow::SelectLine wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; wxPoint pos = wxPoint(*posX,*posY); if(!This) throw wxe_badarg(0); This->SelectLine(pos); - break; + break; } -case wxHtmlWindow_SelectWord: { // wxHtmlWindow::SelectWord +case wxHtmlWindow_SelectWord: { // wxHtmlWindow::SelectWord wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4; int * posX = (int *) bp; bp += 4; int * posY = (int *) bp; bp += 4; wxPoint pos = wxPoint(*posX,*posY); if(!This) throw wxe_badarg(0); This->SelectWord(pos); - break; + break; } -case wxHtmlWindow_SetBorders: { // wxHtmlWindow::SetBorders +case wxHtmlWindow_SetBorders: { // wxHtmlWindow::SetBorders wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4; int * b = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetBorders((int) *b); - break; + break; } -case wxHtmlWindow_SetFonts: { // wxHtmlWindow::SetFonts +case wxHtmlWindow_SetFonts: { // wxHtmlWindow::SetFonts int *sizes=NULL; wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4; int * normal_faceLen = (int *) bp; bp += 4; @@ -30926,16 +30926,16 @@ case wxHtmlWindow_SetFonts: { // wxHtmlWindow::SetFonts int * fixed_faceLen = (int *) bp; bp += 4; wxString fixed_face = wxString(bp, wxConvUTF8); bp += *fixed_faceLen+((8-((4+ *fixed_faceLen) & 7)) & 7); - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; sizes = (int *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->SetFonts(normal_face,fixed_face,sizes); - break; + break; } -case wxHtmlWindow_SetPage: { // wxHtmlWindow::SetPage +case wxHtmlWindow_SetPage: { // wxHtmlWindow::SetPage wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4; int * sourceLen = (int *) bp; bp += 4; wxString source = wxString(bp, wxConvUTF8); @@ -30943,9 +30943,9 @@ case wxHtmlWindow_SetPage: { // wxHtmlWindow::SetPage if(!This) throw wxe_badarg(0); bool Result = This->SetPage(source); rt.addBool(Result); - break; + break; } -case wxHtmlWindow_SetRelatedFrame: { // wxHtmlWindow::SetRelatedFrame +case wxHtmlWindow_SetRelatedFrame: { // wxHtmlWindow::SetRelatedFrame wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4; wxFrame *frame = (wxFrame *) getPtr(bp,memenv); bp += 4; int * formatLen = (int *) bp; bp += 4; @@ -30953,172 +30953,172 @@ case wxHtmlWindow_SetRelatedFrame: { // wxHtmlWindow::SetRelatedFrame bp += *formatLen+((8-((4+ *formatLen) & 7)) & 7); if(!This) throw wxe_badarg(0); This->SetRelatedFrame(frame,format); - break; + break; } -case wxHtmlWindow_SetRelatedStatusBar: { // wxHtmlWindow::SetRelatedStatusBar +case wxHtmlWindow_SetRelatedStatusBar: { // wxHtmlWindow::SetRelatedStatusBar wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4; int * bar = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetRelatedStatusBar((int) *bar); - break; + break; } -case wxHtmlWindow_ToText: { // wxHtmlWindow::ToText +case wxHtmlWindow_ToText: { // wxHtmlWindow::ToText wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxString Result = This->ToText(); rt.add(Result); - break; + break; } -case wxHtmlLinkEvent_GetLinkInfo: { // wxHtmlLinkEvent::GetLinkInfo +case wxHtmlLinkEvent_GetLinkInfo: { // wxHtmlLinkEvent::GetLinkInfo wxHtmlLinkEvent *This = (wxHtmlLinkEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); const wxHtmlLinkInfo * Result = &This->GetLinkInfo(); rt.add(Result); - break; + break; } -case wxAuiNotebookEvent_SetSelection: { // wxAuiNotebookEvent::SetSelection +case wxAuiNotebookEvent_SetSelection: { // wxAuiNotebookEvent::SetSelection wxAuiNotebookEvent *This = (wxAuiNotebookEvent *) getPtr(bp,memenv); bp += 4; int * s = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetSelection((int) *s); - break; + break; } -case wxAuiNotebookEvent_GetSelection: { // wxAuiNotebookEvent::GetSelection +case wxAuiNotebookEvent_GetSelection: { // wxAuiNotebookEvent::GetSelection wxAuiNotebookEvent *This = (wxAuiNotebookEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetSelection(); rt.addInt(Result); - break; + break; } -case wxAuiNotebookEvent_SetOldSelection: { // wxAuiNotebookEvent::SetOldSelection +case wxAuiNotebookEvent_SetOldSelection: { // wxAuiNotebookEvent::SetOldSelection wxAuiNotebookEvent *This = (wxAuiNotebookEvent *) getPtr(bp,memenv); bp += 4; int * s = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetOldSelection((int) *s); - break; + break; } -case wxAuiNotebookEvent_GetOldSelection: { // wxAuiNotebookEvent::GetOldSelection +case wxAuiNotebookEvent_GetOldSelection: { // wxAuiNotebookEvent::GetOldSelection wxAuiNotebookEvent *This = (wxAuiNotebookEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetOldSelection(); rt.addInt(Result); - break; + break; } -case wxAuiNotebookEvent_SetDragSource: { // wxAuiNotebookEvent::SetDragSource +case wxAuiNotebookEvent_SetDragSource: { // wxAuiNotebookEvent::SetDragSource wxAuiNotebookEvent *This = (wxAuiNotebookEvent *) getPtr(bp,memenv); bp += 4; wxAuiNotebook *s = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetDragSource(s); - break; + break; } -case wxAuiNotebookEvent_GetDragSource: { // wxAuiNotebookEvent::GetDragSource +case wxAuiNotebookEvent_GetDragSource: { // wxAuiNotebookEvent::GetDragSource wxAuiNotebookEvent *This = (wxAuiNotebookEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxAuiNotebook * Result = (wxAuiNotebook*)This->GetDragSource(); rt.addRef(getRef((void *)Result,memenv), "wxAuiNotebook"); - break; + break; } -case wxAuiManagerEvent_SetManager: { // wxAuiManagerEvent::SetManager +case wxAuiManagerEvent_SetManager: { // wxAuiManagerEvent::SetManager wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4; wxAuiManager *mgr = (wxAuiManager *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetManager(mgr); - break; + break; } -case wxAuiManagerEvent_GetManager: { // wxAuiManagerEvent::GetManager +case wxAuiManagerEvent_GetManager: { // wxAuiManagerEvent::GetManager wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxAuiManager * Result = (wxAuiManager*)This->GetManager(); rt.addRef(getRef((void *)Result,memenv), "wxAuiManager"); - break; + break; } -case wxAuiManagerEvent_SetPane: { // wxAuiManagerEvent::SetPane +case wxAuiManagerEvent_SetPane: { // wxAuiManagerEvent::SetPane wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4; wxAuiPaneInfo *p = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetPane(p); - break; + break; } -case wxAuiManagerEvent_GetPane: { // wxAuiManagerEvent::GetPane +case wxAuiManagerEvent_GetPane: { // wxAuiManagerEvent::GetPane wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxAuiPaneInfo * Result = (wxAuiPaneInfo*)This->GetPane(); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); - break; + break; } -case wxAuiManagerEvent_SetButton: { // wxAuiManagerEvent::SetButton +case wxAuiManagerEvent_SetButton: { // wxAuiManagerEvent::SetButton wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4; int * b = (int *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetButton((int) *b); - break; + break; } -case wxAuiManagerEvent_GetButton: { // wxAuiManagerEvent::GetButton +case wxAuiManagerEvent_GetButton: { // wxAuiManagerEvent::GetButton wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); int Result = This->GetButton(); rt.addInt(Result); - break; + break; } -case wxAuiManagerEvent_SetDC: { // wxAuiManagerEvent::SetDC +case wxAuiManagerEvent_SetDC: { // wxAuiManagerEvent::SetDC wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4; wxDC *pdc = (wxDC *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); This->SetDC(pdc); - break; + break; } -case wxAuiManagerEvent_GetDC: { // wxAuiManagerEvent::GetDC +case wxAuiManagerEvent_GetDC: { // wxAuiManagerEvent::GetDC wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); wxDC * Result = (wxDC*)This->GetDC(); rt.addRef(getRef((void *)Result,memenv), "wxDC"); - break; + break; } -case wxAuiManagerEvent_Veto: { // wxAuiManagerEvent::Veto +case wxAuiManagerEvent_Veto: { // wxAuiManagerEvent::Veto bool veto=true; wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ - while( * (int*) bp) { switch (* (int*) bp) { + while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; veto = *(bool *) bp; bp += 4; } break; - }}; + }}; if(!This) throw wxe_badarg(0); This->Veto(veto); - break; + break; } -case wxAuiManagerEvent_GetVeto: { // wxAuiManagerEvent::GetVeto +case wxAuiManagerEvent_GetVeto: { // wxAuiManagerEvent::GetVeto wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->GetVeto(); rt.addBool(Result); - break; + break; } -case wxAuiManagerEvent_SetCanVeto: { // wxAuiManagerEvent::SetCanVeto +case wxAuiManagerEvent_SetCanVeto: { // wxAuiManagerEvent::SetCanVeto wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4; bool * can_veto = (bool *) bp; bp += 4; if(!This) throw wxe_badarg(0); This->SetCanVeto((bool) *can_veto); - break; + break; } -case wxAuiManagerEvent_CanVeto: { // wxAuiManagerEvent::CanVeto +case wxAuiManagerEvent_CanVeto: { // wxAuiManagerEvent::CanVeto wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4; if(!This) throw wxe_badarg(0); bool Result = This->CanVeto(); rt.addBool(Result); - break; + break; } -case wxLogNull_new: { // wxLogNull::wxLogNull +case wxLogNull_new: { // wxLogNull::wxLogNull wxLogNull * Result = new wxLogNull(); newPtr((void *) Result, 222, memenv); rt.addRef(getRef((void *)Result,memenv), "wxLogNull"); - break; + break; } -case wxLogNull_destroy: { // wxLogNull::destroy +case wxLogNull_destroy: { // wxLogNull::destroy wxLogNull *This = (wxLogNull *) getPtr(bp,memenv); bp += 4; if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This); delete This;} - break; + break; } default: { wxeReturn error = wxeReturn(WXE_DRV_PORT, Ecmd.caller, false); error.addAtom("_wxe_error_"); @@ -31130,7 +31130,7 @@ case wxLogNull_destroy: { // wxLogNull::destroy } } // switch rt.send(); -} catch (wxe_badarg badarg) { // try +} catch (wxe_badarg badarg) { // try wxeReturn error = wxeReturn(WXE_DRV_PORT, Ecmd.caller, false); error.addAtom("_wxe_error_"); error.addInt((int) Ecmd.op); error.addAtom("badarg"); @@ -31138,4 +31138,4 @@ case wxLogNull_destroy: { // wxLogNull::destroy error.addTupleCount(2); error.addTupleCount(3); error.send(); -}} /* The End */ +}} /* The End */ diff --git a/lib/wx/c_src/gen/wxe_macros.h b/lib/wx/c_src/gen/wxe_macros.h index bc5f2b6134..cb5a4f3c41 100644 --- a/lib/wx/c_src/gen/wxe_macros.h +++ b/lib/wx/c_src/gen/wxe_macros.h @@ -1,7 +1,7 @@ /* * %CopyrightBegin% * - * Copyright Ericsson AB 2008-2009. All Rights Reserved. + * Copyright Ericsson AB 2008-2010. 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 diff --git a/lib/wx/include/wx.hrl b/lib/wx/include/wx.hrl index 8801786071..6fef625b14 100644 --- a/lib/wx/include/wx.hrl +++ b/lib/wx/include/wx.hrl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2009. All Rights Reserved. +%% Copyright Ericsson AB 2008-2010. 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 @@ -17,7 +17,7 @@ %% %CopyrightEnd% %% This file is generated DO NOT EDIT -%% All event messages are encapsulated in a wx record +%% All event messages are encapsulated in a wx record %% they contain the widget id and a specialized event record. %% Each event record may be sent for one or more event types. %% The mapping to wxWidgets is one record per class. @@ -26,7 +26,7 @@ -record(wx, {id, %% Integer Identity of object. obj, %% Object reference that was used in the connect call. userData, %% User data specified in the connect call. - event}).%% The event record + event}).%% The event record %% Here comes the definitions of all event records. %% they contain the event type and possible some extra information. @@ -34,254 +34,254 @@ %% @type wxNavigationKey() = #wxNavigationKey{type=wxEventType(),flags=integer(),focus=wxWindow:wxWindow()}. %% <dl><dt>EventType:</dt> <dd><em>navigation_key</em></dd></dl> %% Callback event: {@link wxNavigationKeyEvent} --record(wxNavigationKey,{type, flags,focus}). +-record(wxNavigationKey,{type, flags,focus}). %% @type wxSash() = #wxSash{type=wxEventType(),edge=WxSashEdgePosition,dragRect={X::integer(),Y::integer(),W::integer(),H::integer()},dragStatus=WxSashDragStatus}. %% <dl><dt>EventType:</dt> <dd><em>sash_dragged</em></dd></dl> %% Callback event: {@link wxSashEvent} --record(wxSash,{type, edge,dragRect,dragStatus}). +-record(wxSash,{type, edge,dragRect,dragStatus}). %% @type wxList() = #wxList{type=wxEventType(),code=integer(),oldItemIndex=integer(),itemIndex=integer(),col=integer(),pointDrag={X::integer(),Y::integer()}}. %% <dl><dt>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> %% Callback event: {@link wxListEvent} --record(wxList,{type, code,oldItemIndex,itemIndex,col,pointDrag}). +-record(wxList,{type, code,oldItemIndex,itemIndex,col,pointDrag}). %% @type wxNotebook() = #wxNotebook{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>command_notebook_page_changed</em>, <em>command_notebook_page_changing</em></dd></dl> %% Callback event: {@link wxNotebookEvent} --record(wxNotebook, {type}). +-record(wxNotebook, {type}). %% @type wxDisplayChanged() = #wxDisplayChanged{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>display_changed</em></dd></dl> %% Callback event: {@link wxDisplayChangedEvent} --record(wxDisplayChanged, {type}). +-record(wxDisplayChanged, {type}). %% @type wxErase() = #wxErase{type=wxEventType(),dc=wxDC:wxDC()}. %% <dl><dt>EventType:</dt> <dd><em>erase_background</em></dd></dl> %% Callback event: {@link wxEraseEvent} --record(wxErase,{type, dc}). +-record(wxErase,{type, dc}). %% @type wxKey() = #wxKey{type=wxEventType(),x=integer(),y=integer(),keyCode=integer(),controlDown=bool(),shiftDown=bool(),altDown=bool(),metaDown=bool(),scanCode=bool(),uniChar=integer(),rawCode=integer(),rawFlags=integer()}. %% <dl><dt>EventType:</dt> <dd><em>char</em>, <em>char_hook</em>, <em>key_down</em>, <em>key_up</em></dd></dl> %% Callback event: {@link wxKeyEvent} --record(wxKey,{type, x,y,keyCode,controlDown,shiftDown,altDown,metaDown,scanCode,uniChar,rawCode,rawFlags}). +-record(wxKey,{type, x,y,keyCode,controlDown,shiftDown,altDown,metaDown,scanCode,uniChar,rawCode,rawFlags}). %% @type wxWindowDestroy() = #wxWindowDestroy{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>destroy</em></dd></dl> %% Callback event: {@link wxWindowDestroyEvent} --record(wxWindowDestroy, {type}). +-record(wxWindowDestroy, {type}). %% @type wxCalendar() = #wxCalendar{type=wxEventType()}. %% <dl><dt>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> %% Callback event: {@link wxCalendarEvent} --record(wxCalendar, {type}). +-record(wxCalendar, {type}). %% @type wxSplitter() = #wxSplitter{type=wxEventType()}. %% <dl><dt>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> %% Callback event: {@link wxSplitterEvent} --record(wxSplitter, {type}). +-record(wxSplitter, {type}). %% @type wxScroll() = #wxScroll{type=wxEventType(),commandInt=integer(),extraLong=integer()}. %% <dl><dt>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> %% Callback event: {@link wxScrollEvent} --record(wxScroll,{type, commandInt,extraLong}). +-record(wxScroll,{type, commandInt,extraLong}). %% @type wxMenu() = #wxMenu{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>menu_open</em>, <em>menu_close</em>, <em>menu_highlight</em></dd></dl> %% Callback event: {@link wxMenuEvent} --record(wxMenu, {type}). +-record(wxMenu, {type}). %% @type wxContextMenu() = #wxContextMenu{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>context_menu</em></dd></dl> %% Callback event: {@link wxContextMenuEvent} --record(wxContextMenu, {type}). +-record(wxContextMenu, {type}). %% @type wxShow() = #wxShow{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>show</em></dd></dl> %% Callback event: {@link wxShowEvent} --record(wxShow, {type}). +-record(wxShow, {type}). %% @type wxSpin() = #wxSpin{type=wxEventType(),commandInt=integer()}. %% <dl><dt>EventType:</dt> <dd><em>command_spinctrl_updated</em>, <em>spin_up</em>, <em>spin_down</em>, <em>spin</em></dd></dl> %% Callback event: {@link wxSpinEvent} --record(wxSpin,{type, commandInt}). +-record(wxSpin,{type, commandInt}). %% @type wxSetCursor() = #wxSetCursor{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>set_cursor</em></dd></dl> %% Callback event: {@link wxSetCursorEvent} --record(wxSetCursor, {type}). +-record(wxSetCursor, {type}). %% @type wxFontPicker() = #wxFontPicker{type=wxEventType(),font=wxFont:wxFont()}. %% <dl><dt>EventType:</dt> <dd><em>command_fontpicker_changed</em></dd></dl> %% Callback event: {@link wxFontPickerEvent} --record(wxFontPicker,{type, font}). +-record(wxFontPicker,{type, font}). %% @type wxScrollWin() = #wxScrollWin{type=wxEventType()}. %% <dl><dt>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> %% Callback event: {@link wxScrollWinEvent} --record(wxScrollWin, {type}). +-record(wxScrollWin, {type}). %% @type wxPaint() = #wxPaint{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>paint</em>, <em>paint_icon</em></dd></dl> %% Callback event: {@link wxPaintEvent} --record(wxPaint, {type}). +-record(wxPaint, {type}). %% @type wxChildFocus() = #wxChildFocus{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>child_focus</em></dd></dl> %% Callback event: {@link wxChildFocusEvent} --record(wxChildFocus, {type}). +-record(wxChildFocus, {type}). %% @type wxMaximize() = #wxMaximize{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>maximize</em></dd></dl> %% Callback event: {@link wxMaximizeEvent} --record(wxMaximize, {type}). +-record(wxMaximize, {type}). %% @type wxFileDirPicker() = #wxFileDirPicker{type=wxEventType(),path=string()}. %% <dl><dt>EventType:</dt> <dd><em>command_filepicker_changed</em>, <em>command_dirpicker_changed</em></dd></dl> %% Callback event: {@link wxFileDirPickerEvent} --record(wxFileDirPicker,{type, path}). +-record(wxFileDirPicker,{type, path}). %% @type wxFocus() = #wxFocus{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>set_focus</em>, <em>kill_focus</em></dd></dl> %% Callback event: {@link wxFocusEvent} --record(wxFocus, {type}). +-record(wxFocus, {type}). %% @type wxDate() = #wxDate{type=wxEventType(),date=wx:datetime()}. %% <dl><dt>EventType:</dt> <dd><em>date_changed</em></dd></dl> %% Callback event: {@link wxDateEvent} --record(wxDate,{type, date}). +-record(wxDate,{type, date}). %% @type wxHtmlLink() = #wxHtmlLink{type=wxEventType(),linkInfo=wx:wxHtmlLinkInfo()}. %% <dl><dt>EventType:</dt> <dd><em>command_html_link_clicked</em></dd></dl> %% Callback event: {@link wxHtmlLinkEvent} --record(wxHtmlLink,{type, linkInfo}). +-record(wxHtmlLink,{type, linkInfo}). %% @type wxHelp() = #wxHelp{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>help</em>, <em>detailed_help</em></dd></dl> %% Callback event: {@link wxHelpEvent} --record(wxHelp, {type}). +-record(wxHelp, {type}). %% @type wxStyledText() = #wxStyledText{type=wxEventType(),position=integer(),key=integer(),modifiers=integer(),modificationType=integer(),text=string(),length=integer(),linesAdded=integer(),line=integer(),foldLevelNow=integer(),foldLevelPrev=integer(),margin=integer(),message=integer(),wParam=integer(),lParam=integer(),listType=integer(),x=integer(),y=integer(),dragText=string(),dragAllowMove=bool(),dragResult=WxDragResult}. %% <dl><dt>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> %% Callback event: {@link wxStyledTextEvent} --record(wxStyledText,{type, position,key,modifiers,modificationType,text,length,linesAdded,line,foldLevelNow,foldLevelPrev,margin,message,wParam,lParam,listType,x,y,dragText,dragAllowMove,dragResult}). +-record(wxStyledText,{type, position,key,modifiers,modificationType,text,length,linesAdded,line,foldLevelNow,foldLevelPrev,margin,message,wParam,lParam,listType,x,y,dragText,dragAllowMove,dragResult}). %% @type wxSysColourChanged() = #wxSysColourChanged{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>sys_colour_changed</em></dd></dl> %% Callback event: {@link wxSysColourChangedEvent} --record(wxSysColourChanged, {type}). +-record(wxSysColourChanged, {type}). %% @type wxGrid() = #wxGrid{type=wxEventType(),row=integer(),col=integer(),x=integer(),y=integer(),selecting=bool(),control=bool(),meta=bool(),shift=bool(),alt=bool()}. %% <dl><dt>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> %% Callback event: {@link wxGridEvent} --record(wxGrid,{type, row,col,x,y,selecting,control,meta,shift,alt}). +-record(wxGrid,{type, row,col,x,y,selecting,control,meta,shift,alt}). %% @type wxPaletteChanged() = #wxPaletteChanged{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>palette_changed</em></dd></dl> %% Callback event: {@link wxPaletteChangedEvent} --record(wxPaletteChanged, {type}). +-record(wxPaletteChanged, {type}). %% @type wxUpdateUI() = #wxUpdateUI{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>update_ui</em></dd></dl> %% Callback event: {@link wxUpdateUIEvent} --record(wxUpdateUI, {type}). +-record(wxUpdateUI, {type}). %% @type wxSize() = #wxSize{type=wxEventType(),size={W::integer(),H::integer()},rect={X::integer(),Y::integer(),W::integer(),H::integer()}}. %% <dl><dt>EventType:</dt> <dd><em>size</em></dd></dl> %% Callback event: {@link wxSizeEvent} --record(wxSize,{type, size,rect}). +-record(wxSize,{type, size,rect}). %% @type wxIconize() = #wxIconize{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>iconize</em></dd></dl> %% Callback event: {@link wxIconizeEvent} --record(wxIconize, {type}). +-record(wxIconize, {type}). %% @type wxAuiNotebook() = #wxAuiNotebook{type=wxEventType(),old_selection=integer(),selection=integer(),drag_source=wxAuiNotebook:wxAuiNotebook()}. %% <dl><dt>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> %% Callback event: {@link wxAuiNotebookEvent} --record(wxAuiNotebook,{type, old_selection,selection,drag_source}). +-record(wxAuiNotebook,{type, old_selection,selection,drag_source}). %% @type wxClose() = #wxClose{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>close_window</em>, <em>end_session</em>, <em>query_end_session</em></dd></dl> %% Callback event: {@link wxCloseEvent} --record(wxClose, {type}). +-record(wxClose, {type}). %% @type wxMouseCaptureChanged() = #wxMouseCaptureChanged{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>mouse_capture_changed</em></dd></dl> %% Callback event: {@link wxMouseCaptureChangedEvent} --record(wxMouseCaptureChanged, {type}). +-record(wxMouseCaptureChanged, {type}). %% @type wxMouse() = #wxMouse{type=wxEventType(),x=integer(),y=integer(),leftDown=bool(),middleDown=bool(),rightDown=bool(),controlDown=bool(),shiftDown=bool(),altDown=bool(),metaDown=bool(),wheelRotation=integer(),wheelDelta=integer(),linesPerAction=integer()}. %% <dl><dt>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> %% Callback event: {@link wxMouseEvent} --record(wxMouse,{type, x,y,leftDown,middleDown,rightDown,controlDown,shiftDown,altDown,metaDown,wheelRotation,wheelDelta,linesPerAction}). +-record(wxMouse,{type, x,y,leftDown,middleDown,rightDown,controlDown,shiftDown,altDown,metaDown,wheelRotation,wheelDelta,linesPerAction}). %% @type wxWindowCreate() = #wxWindowCreate{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>create</em></dd></dl> %% Callback event: {@link wxWindowCreateEvent} --record(wxWindowCreate, {type}). +-record(wxWindowCreate, {type}). %% @type wxAuiManager() = #wxAuiManager{type=wxEventType(),manager=wxAuiManager:wxAuiManager(),pane=wxAuiPaneInfo:wxAuiPaneInfo(),button=integer(),veto_flag=bool(),canveto_flag=bool(),dc=wxDC:wxDC()}. %% <dl><dt>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> %% Callback event: {@link wxAuiManagerEvent} --record(wxAuiManager,{type, manager,pane,button,veto_flag,canveto_flag,dc}). +-record(wxAuiManager,{type, manager,pane,button,veto_flag,canveto_flag,dc}). %% @type wxCommand() = #wxCommand{type=wxEventType(),cmdString=string(),commandInt=integer(),extraLong=integer()}. %% <dl><dt>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> %% Callback event: {@link wxCommandEvent} --record(wxCommand,{type, cmdString,commandInt,extraLong}). +-record(wxCommand,{type, cmdString,commandInt,extraLong}). %% @type wxJoystick() = #wxJoystick{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>joy_button_down</em>, <em>joy_button_up</em>, <em>joy_move</em>, <em>joy_zmove</em></dd></dl> %% Callback event: {@link wxJoystickEvent} --record(wxJoystick, {type}). +-record(wxJoystick, {type}). %% @type wxQueryNewPalette() = #wxQueryNewPalette{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>query_new_palette</em></dd></dl> %% Callback event: {@link wxQueryNewPaletteEvent} --record(wxQueryNewPalette, {type}). +-record(wxQueryNewPalette, {type}). %% @type wxMove() = #wxMove{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>move</em></dd></dl> %% Callback event: {@link wxMoveEvent} --record(wxMove, {type}). +-record(wxMove, {type}). %% @type wxIdle() = #wxIdle{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>idle</em></dd></dl> %% Callback event: {@link wxIdleEvent} --record(wxIdle, {type}). +-record(wxIdle, {type}). %% @type wxNcPaint() = #wxNcPaint{type=wxEventType()}. %% <dl><dt>EventType:</dt> <dd><em>nc_paint</em></dd></dl> %% Callback event: {@link wxNcPaintEvent} --record(wxNcPaint, {type}). +-record(wxNcPaint, {type}). %% @type wxColourPicker() = #wxColourPicker{type=wxEventType(),colour=wx:colour()}. %% <dl><dt>EventType:</dt> <dd><em>command_colourpicker_changed</em></dd></dl> %% Callback event: {@link wxColourPickerEvent} --record(wxColourPicker,{type, colour}). +-record(wxColourPicker,{type, colour}). %% @type wxTree() = #wxTree{type=wxEventType(),item=integer(),itemOld=integer(),pointDrag={X::integer(),Y::integer()}}. %% <dl><dt>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> %% Callback event: {@link wxTreeEvent} --record(wxTree,{type, item,itemOld,pointDrag}). +-record(wxTree,{type, item,itemOld,pointDrag}). %% @type wxEventType() = aui_find_manager | aui_pane_button | aui_pane_close | aui_pane_maximize | aui_pane_restore | aui_render | calendar_day_changed | calendar_doubleclicked | calendar_month_changed | calendar_sel_changed | calendar_weekday_clicked | calendar_year_changed | char | char_hook | child_focus | close_window | command_auinotebook_allow_dnd | command_auinotebook_begin_drag | command_auinotebook_bg_dclick | command_auinotebook_button | command_auinotebook_drag_done | command_auinotebook_drag_motion | command_auinotebook_end_drag | command_auinotebook_page_changed | command_auinotebook_page_changing | command_auinotebook_page_close | command_auinotebook_page_closed | command_auinotebook_tab_middle_down | command_auinotebook_tab_middle_up | command_auinotebook_tab_right_down | command_auinotebook_tab_right_up | command_button_clicked | command_checkbox_clicked | command_checklistbox_toggled | command_choice_selected | command_colourpicker_changed | command_combobox_selected | command_dirpicker_changed | command_enter | command_filepicker_changed | command_fontpicker_changed | command_html_link_clicked | command_kill_focus | command_left_click | command_left_dclick | command_list_begin_drag | command_list_begin_label_edit | command_list_begin_rdrag | command_list_cache_hint | command_list_col_begin_drag | command_list_col_click | command_list_col_dragging | command_list_col_end_drag | command_list_col_right_click | command_list_delete_all_items | command_list_delete_item | command_list_end_label_edit | command_list_insert_item | command_list_item_activated | command_list_item_deselected | command_list_item_focused | command_list_item_middle_click | command_list_item_right_click | command_list_item_selected | command_list_key_down | command_listbox_doubleclicked | command_listbox_selected | command_menu_selected | command_notebook_page_changed | command_notebook_page_changing | command_radiobox_selected | command_radiobutton_selected | command_right_click | command_scrollbar_updated | command_set_focus | command_slider_updated | command_spinctrl_updated | command_splitter_doubleclicked | command_splitter_sash_pos_changed | command_splitter_sash_pos_changing | command_splitter_unsplit | command_text_enter | command_text_updated | command_togglebutton_clicked | command_tool_enter | command_tool_rclicked | command_tree_begin_drag | command_tree_begin_label_edit | command_tree_begin_rdrag | command_tree_delete_item | command_tree_end_drag | command_tree_end_label_edit | command_tree_get_info | command_tree_item_activated | command_tree_item_collapsed | command_tree_item_collapsing | command_tree_item_expanded | command_tree_item_expanding | command_tree_item_gettooltip | command_tree_item_menu | command_tree_item_middle_click | command_tree_item_right_click | command_tree_key_down | command_tree_sel_changed | command_tree_sel_changing | command_tree_set_info | command_tree_state_image_click | command_vlbox_selected | context_menu | create | date_changed | destroy | detailed_help | display_changed | end_session | enter_window | erase_background | grid_cell_begin_drag | grid_cell_change | grid_cell_left_click | grid_cell_left_dclick | grid_cell_right_click | grid_cell_right_dclick | grid_col_size | grid_editor_created | grid_editor_hidden | grid_editor_shown | grid_label_left_click | grid_label_left_dclick | grid_label_right_click | grid_label_right_dclick | grid_range_select | grid_row_size | grid_select_cell | help | iconize | idle | joy_button_down | joy_button_up | joy_move | joy_zmove | key_down | key_up | kill_focus | leave_window | left_dclick | left_down | left_up | maximize | menu_close | menu_highlight | menu_open | middle_dclick | middle_down | middle_up | motion | mouse_capture_changed | mousewheel | move | navigation_key | nc_enter_window | nc_leave_window | nc_left_dclick | nc_left_down | nc_left_up | nc_middle_dclick | nc_middle_down | nc_middle_up | nc_motion | nc_paint | nc_right_dclick | nc_right_down | nc_right_up | paint | paint_icon | palette_changed | query_end_session | query_new_palette | right_dclick | right_down | right_up | sash_dragged | scroll_bottom | scroll_changed | scroll_linedown | scroll_lineup | scroll_pagedown | scroll_pageup | scroll_thumbrelease | scroll_thumbtrack | scroll_top | scrollwin_bottom | scrollwin_linedown | scrollwin_lineup | scrollwin_pagedown | scrollwin_pageup | scrollwin_thumbrelease | scrollwin_thumbtrack | scrollwin_top | set_cursor | set_focus | show | size | spin | spin_down | spin_up | stc_autocomp_selection | stc_calltip_click | stc_change | stc_charadded | stc_do_drop | stc_doubleclick | stc_drag_over | stc_dwellend | stc_dwellstart | stc_hotspot_click | stc_hotspot_dclick | stc_key | stc_macrorecord | stc_marginclick | stc_modified | stc_needshown | stc_painted | stc_romodifyattempt | stc_savepointleft | stc_savepointreached | stc_start_drag | stc_styleneeded | stc_updateui | stc_uridropped | stc_userlistselection | stc_zoom | sys_colour_changed | update_ui. -%% Hardcoded Records --record(wxMouseState, {x, y, %% integer() - leftDown, middleDown, rightDown, %% bool() +%% Hardcoded Records +-record(wxMouseState, {x, y, %% integer() + leftDown, middleDown, rightDown, %% bool() controlDown, shiftDown, altDown, metaDown, cmdDown %% bool() }). --record(wxHtmlLinkInfo, { - href, target %% string() +-record(wxHtmlLinkInfo, { + href, target %% string() }). -%% Hardcoded Defines +%% Hardcoded Defines -define(wxDefaultSize, {-1,-1}). -define(wxDefaultPosition, {-1,-1}). -%% Global Variables +%% Global Variables -define(wxBLACK, wxe_util:get_const(wxBLACK)). -define(wxBLACK_BRUSH, wxe_util:get_const(wxBLACK_BRUSH)). -define(wxBLACK_DASHED_PEN, wxe_util:get_const(wxBLACK_DASHED_PEN)). @@ -324,8 +324,8 @@ -define(wxWHITE_BRUSH, wxe_util:get_const(wxWHITE_BRUSH)). -define(wxWHITE_PEN, wxe_util:get_const(wxWHITE_PEN)). -%% Enum and defines -% From define::From bookctrl.h +%% Enum and defines +% From define::From bookctrl.h -define(wxEVT_COMMAND_BOOKCTRL_PAGE_CHANGING, ?wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING). -define(wxEVT_COMMAND_BOOKCTRL_PAGE_CHANGED, ?wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED). -define(wxBK_ALIGN_MASK, (?wxBK_TOP bor ?wxBK_BOTTOM bor ?wxBK_LEFT bor ?wxBK_RIGHT)). @@ -334,7 +334,7 @@ -define(wxBK_BOTTOM, 32). -define(wxBK_TOP, 16). -define(wxBK_DEFAULT, 0). -% From define::From button.h +% From define::From button.h -define(wxBU_EXACTFIT, 1). -define(wxBU_AUTODRAW, 4). -define(wxBU_NOAUTODRAW, 0). @@ -343,38 +343,38 @@ -define(wxBU_RIGHT, 256). -define(wxBU_TOP, 128). -define(wxBU_LEFT, 64). -% From define::From checkbox.h +% From define::From checkbox.h -define(wxCHK_ALLOW_3RD_STATE_FOR_USER, 8192). -define(wxCHK_3STATE, 4096). -define(wxCHK_2STATE, 0). -% From define::From choicdgg.h +% From define::From choicdgg.h -define(wxCHOICEDLG_STYLE, (?wxDEFAULT_DIALOG_STYLE bor ?wxRESIZE_BORDER bor ?wxOK bor ?wxCANCEL bor ?wxCENTRE)). -define(wxCHOICE_WIDTH, 200). -define(wxCHOICE_HEIGHT, 150). -% From define::From choicebk.h +% From define::From choicebk.h -define(wxCHB_ALIGN_MASK, ?wxBK_ALIGN_MASK). -define(wxCHB_RIGHT, ?wxBK_RIGHT). -define(wxCHB_LEFT, ?wxBK_LEFT). -define(wxCHB_BOTTOM, ?wxBK_BOTTOM). -define(wxCHB_TOP, ?wxBK_TOP). -define(wxCHB_DEFAULT, ?wxBK_DEFAULT). -% From define::From clrpicker.h +% From define::From clrpicker.h -define(wxCLRP_DEFAULT_STYLE, 0). -define(wxCLRP_USE_TEXTCTRL, ?wxPB_USE_TEXTCTRL). -define(wxCLRP_SHOW_LABEL, 8). -% From define::From colour.h +% From define::From colour.h -define(wxC2S_HTML_SYNTAX, 4). -define(wxC2S_CSS_SYNTAX, 2). -define(wxC2S_NAME, 1). -% From define::From confbase.h +% From define::From confbase.h -define(wxCONFIG_CASE_SENSITIVE, 0). -% From define::From datetime.h +% From define::From datetime.h -define(wxInvalidDateTime, ?wxDefaultDateTime). -% From define::From dcbuffer.h +% From define::From dcbuffer.h -define(wxBUFFER_CLIENT_AREA, 2). -define(wxBUFFER_VIRTUAL_AREA, 1). -define(wxALWAYS_NATIVE_DOUBLE_BUFFER, 0). -% From define::From defs.h +% From define::From defs.h -define(wxPRINT_QUALITY_DRAFT, -4). -define(wxPRINT_QUALITY_LOW, -3). -define(wxPRINT_QUALITY_MEDIUM, -2). @@ -503,21 +503,21 @@ -define(wxBIG_ENDIAN, 4321). -define(wxHAS_INT64, wxe_util:get_const(wxHAS_INT64)). -define(wxNOT_FOUND, -1). -% From define::From dialog.h +% From define::From dialog.h -define(wxDEFAULT_DIALOG_STYLE, (?wxCAPTION bor ?wxSYSTEM_MENU bor ?wxCLOSE_BOX)). -define(wxDIALOG_NO_PARENT, 1). -% From define::From dirctrlg.h +% From define::From dirctrlg.h -define(wxID_FILTERLISTCTRL, 7001). -define(wxID_TREECTRL, 7000). -% From define::From dirdlg.h +% From define::From dirdlg.h -define(wxDD_DEFAULT_STYLE, (?wxDEFAULT_DIALOG_STYLE bor ?wxRESIZE_BORDER)). -define(wxDD_NEW_DIR_BUTTON, 0). -define(wxDD_DIR_MUST_EXIST, 512). -define(wxDD_CHANGE_DIR, 256). -% From define::From dirdlgg.h -% From define::From filedlg.h +% From define::From dirdlgg.h +% From define::From filedlg.h -define(wxFD_DEFAULT_STYLE, ?wxFD_OPEN). -% From define::From filepicker.h +% From define::From filepicker.h -define(wxDIRP_DEFAULT_STYLE, ?wxDIRP_DIR_MUST_EXIST). -define(wxDIRP_USE_TEXTCTRL, ?wxPB_USE_TEXTCTRL). -define(wxFLP_DEFAULT_STYLE, (?wxFLP_OPEN bor ?wxFLP_FILE_MUST_EXIST)). @@ -529,30 +529,30 @@ -define(wxFLP_OVERWRITE_PROMPT, 4096). -define(wxFLP_SAVE, 2048). -define(wxFLP_OPEN, 1024). -% From define::From fontpicker.h +% From define::From fontpicker.h -define(wxFNTP_MAXPOINT_SIZE, 100). -define(wxFNTP_DEFAULT_STYLE, (?wxFNTP_FONTDESC_AS_LABEL bor ?wxFNTP_USEFONT_FOR_LABEL)). -define(wxFNTP_USE_TEXTCTRL, ?wxPB_USE_TEXTCTRL). -define(wxFNTP_USEFONT_FOR_LABEL, 16). -define(wxFNTP_FONTDESC_AS_LABEL, 8). -% From define::From frame.h +% From define::From frame.h -define(wxFRAME_SHAPED, 16). -define(wxFRAME_FLOAT_ON_PARENT, 8). -define(wxFRAME_TOOL_WINDOW, 4). -define(wxFRAME_NO_TASKBAR, 2). -% From define::From gauge.h +% From define::From gauge.h -define(wxGAUGE_EMULATE_INDETERMINATE_MODE, 1). -define(wxGA_SMOOTH, 32). -define(wxGA_VERTICAL, ?wxVERTICAL). -define(wxGA_HORIZONTAL, ?wxHORIZONTAL). -% From define::From gdicmn.h +% From define::From gdicmn.h -define(wxGetDisplayDepth, ?wxDisplayDepth). -% From define::From generic_2laywin.h +% From define::From generic_2laywin.h -define(wxLAYOUT_QUERY, 256). -define(wxLAYOUT_MRU_LENGTH, 16). -define(wxLAYOUT_LENGTH_X, 0). -define(wxLAYOUT_LENGTH_Y, 8). -% From define::From generic_2sashwin.h +% From define::From generic_2sashwin.h -define(wxSW_3D, (?wxSW_3DSASH bor ?wxSW_3DBORDER)). -define(wxSW_3DBORDER, 128). -define(wxSW_3DSASH, 64). @@ -561,27 +561,27 @@ -define(wxSASH_DRAG_LEFT_DOWN, 2). -define(wxSASH_DRAG_DRAGGING, 1). -define(wxSASH_DRAG_NONE, 0). -% From define::From generic_2splash.h +% From define::From generic_2splash.h -define(wxSPLASH_NO_TIMEOUT, 0). -define(wxSPLASH_TIMEOUT, 4). -define(wxSPLASH_NO_CENTRE, 0). -define(wxSPLASH_CENTRE_ON_SCREEN, 2). -define(wxSPLASH_CENTRE_ON_PARENT, 1). -% From define::From hash.h +% From define::From hash.h -define(wxHASH_SIZE_DEFAULT, 1000). -% From define::From htmlwin.h +% From define::From htmlwin.h -define(wxHW_DEFAULT_STYLE, ?wxHW_SCROLLBAR_AUTO). -define(wxHW_NO_SELECTION, 8). -define(wxHW_SCROLLBAR_AUTO, 4). -define(wxHW_SCROLLBAR_NEVER, 2). -% From define::From imaglist.h +% From define::From imaglist.h -define(wxIMAGELIST_DRAW_FOCUSED, 8). -define(wxIMAGELIST_DRAW_SELECTED, 4). -define(wxIMAGELIST_DRAW_TRANSPARENT, 2). -define(wxIMAGELIST_DRAW_NORMAL, 1). -% From define::From layout.h +% From define::From layout.h -define(wxLAYOUT_DEFAULT_MARGIN, 0). -% From define::From listbase.h +% From define::From listbase.h -define(wxLIST_HITTEST_ONITEM, (?wxLIST_HITTEST_ONITEMICON bor ?wxLIST_HITTEST_ONITEMLABEL bor ?wxLIST_HITTEST_ONITEMSTATEICON)). -define(wxLIST_HITTEST_TORIGHT, 2048). -define(wxLIST_HITTEST_TOLEFT, 1024). @@ -629,20 +629,20 @@ -define(wxLC_ICON, 4). -define(wxLC_HRULES, 2). -define(wxLC_VRULES, 1). -% From define::From listbook.h +% From define::From listbook.h -define(wxLB_ALIGN_MASK, ?wxBK_ALIGN_MASK). -define(wxLB_RIGHT, ?wxBK_RIGHT). -define(wxLB_LEFT, ?wxBK_LEFT). -define(wxLB_BOTTOM, ?wxBK_BOTTOM). -define(wxLB_TOP, ?wxBK_TOP). -define(wxLB_DEFAULT, ?wxBK_DEFAULT). -% From define::From log.h +% From define::From log.h -define(wxTRACE_OleCalls, ?wxEmptyString). -define(wxTraceRefCount, 8). -define(wxTraceResAlloc, 4). -define(wxTraceMessages, 2). -define(wxTraceMemAlloc, 1). -% From define::From notebook.h +% From define::From notebook.h -define(wxNB_FLAT, 2048). -define(wxNB_NOPAGETHEME, 1024). -define(wxNB_MULTILINE, 512). @@ -652,9 +652,9 @@ -define(wxNB_BOTTOM, ?wxBK_BOTTOM). -define(wxNB_TOP, ?wxBK_TOP). -define(wxNB_DEFAULT, ?wxBK_DEFAULT). -% From define::From pickerbase.h +% From define::From pickerbase.h -define(wxPB_USE_TEXTCTRL, 2). -% From define::From prntbase.h +% From define::From prntbase.h -define(wxID_PREVIEW_GOTO, 8). -define(wxID_PREVIEW_LAST, 7). -define(wxID_PREVIEW_FIRST, 6). @@ -671,7 +671,7 @@ -define(wxPREVIEW_NEXT, 4). -define(wxPREVIEW_PREVIOUS, 2). -define(wxPREVIEW_PRINT, 1). -% From define::From progdlg.h +% From define::From progdlg.h -define(wxPD_CAN_SKIP, 128). -define(wxPD_REMAINING_TIME, 64). -define(wxPD_SMOOTH, 32). @@ -680,9 +680,9 @@ -define(wxPD_AUTO_HIDE, 4). -define(wxPD_APP_MODAL, 2). -define(wxPD_CAN_ABORT, 1). -% From define::From scrolwin.h +% From define::From scrolwin.h -define(wxScrolledWindowStyle, (?wxHSCROLL bor ?wxVSCROLL)). -% From define::From slider.h +% From define::From slider.h -define(wxSL_INVERSE, 4096). -define(wxSL_SELRANGE, 2048). -define(wxSL_BOTH, 1024). @@ -695,7 +695,7 @@ -define(wxSL_TICKS, 16). -define(wxSL_VERTICAL, ?wxVERTICAL). -define(wxSL_HORIZONTAL, ?wxHORIZONTAL). -% From define::From splitter.h +% From define::From splitter.h -define(wxSP_3D, (?wxSP_3DBORDER bor ?wxSP_3DSASH)). -define(wxSP_BORDER, ?wxSP_3DBORDER). -define(wxSP_NO_XP_THEME, 1024). @@ -705,11 +705,11 @@ -define(wxSP_PERMIT_UNSPLIT, 64). -define(wxSP_NOSASH, 16). -define(wxSP_NOBORDER, 0). -% From define::From statusbr.h +% From define::From statusbr.h -define(wxSB_RAISED, 2). -define(wxSB_FLAT, 1). -define(wxSB_NORMAL, 0). -% From define::From stc.h +% From define::From stc.h -define(wxSTC_CMD_WORDRIGHTENDEXTEND, 2442). -define(wxSTC_CMD_WORDRIGHTEND, 2441). -define(wxSTC_CMD_WORDLEFTENDEXTEND, 2440). @@ -2045,7 +2045,7 @@ -define(wxSTC_START, 2000). -define(wxSTC_INVALID_POSITION, -1). -define(wxSTC_USE_POPUP, 1). -% From define::From textctrl.h +% From define::From textctrl.h -define(wxTEXT_ATTR_TABS, 1024). -define(wxTEXT_ATTR_RIGHT_INDENT, 512). -define(wxTEXT_ATTR_LEFT_INDENT, 256). @@ -2080,11 +2080,11 @@ -define(wxTE_AUTO_SCROLL, 8). -define(wxTE_NO_VSCROLL, 2). -define(wxHAS_TEXT_WINDOW_STREAM, 0). -% From define::From textdlgg.h +% From define::From textdlgg.h -define(wxTextEntryDialogStyle, (?wxOK bor ?wxCANCEL bor ?wxCENTRE bor ?wxWS_EX_VALIDATE_RECURSIVELY)). -% From define::From toolbook.h +% From define::From toolbook.h -define(wxBK_BUTTONBAR, 256). -% From define::From toplevel.h +% From define::From toplevel.h -define(wxTOPLEVEL_EX_DIALOG, 8). -define(wxDEFAULT_FRAME_STYLE, (?wxSYSTEM_MENU bor ?wxRESIZE_BORDER bor ?wxMINIMIZE_BOX bor ?wxMAXIMIZE_BOX bor ?wxCLOSE_BOX bor ?wxCAPTION bor ?wxCLIP_CHILDREN)). -define(wxRESIZE_BORDER, 64). @@ -2098,7 +2098,7 @@ -define(wxMINIMIZE, ?wxICONIZE). -define(wxICONIZE, 16384). -define(wxSTAY_ON_TOP, 32768). -% From define::From treebase.h +% From define::From treebase.h -define(wxTR_DEFAULT_STYLE, (?wxTR_HAS_BUTTONS bor ?wxTR_LINES_AT_ROOT)). -define(wxTR_FULL_ROW_HIGHLIGHT, 8192). -define(wxTR_HIDE_ROOT, 2048). @@ -2113,7 +2113,7 @@ -define(wxTR_NO_LINES, 4). -define(wxTR_HAS_BUTTONS, 1). -define(wxTR_NO_BUTTONS, 0). -% From define::From valtext.h +% From define::From valtext.h -define(wxFILTER_EXCLUDE_CHAR_LIST, 128). -define(wxFILTER_INCLUDE_CHAR_LIST, 64). -define(wxFILTER_EXCLUDE_LIST, 32). @@ -2123,20 +2123,20 @@ -define(wxFILTER_ALPHA, 2). -define(wxFILTER_ASCII, 1). -define(wxFILTER_NONE, 0). -% From define::From version.h +% From define::From version.h -define(wxBETA_NUMBER, wxe_util:get_const(wxBETA_NUMBER)). -define(wxSUBRELEASE_NUMBER, wxe_util:get_const(wxSUBRELEASE_NUMBER)). -define(wxRELEASE_NUMBER, wxe_util:get_const(wxRELEASE_NUMBER)). -define(wxMINOR_VERSION, wxe_util:get_const(wxMINOR_VERSION)). -define(wxMAJOR_VERSION, wxe_util:get_const(wxMAJOR_VERSION)). -% From class wxAuiManager +% From class wxAuiManager -define(wxAuiManager_actionNone, 0). -define(wxAuiManager_actionResize, 1). -define(wxAuiManager_actionClickButton, 2). -define(wxAuiManager_actionClickCaption, 3). -define(wxAuiManager_actionDragToolbarPane, 4). -define(wxAuiManager_actionDragFloatingPane, 5). -% From wxAuiPaneInfo::wxAuiPaneState +% From wxAuiPaneInfo::wxAuiPaneState -define(wxAuiPaneInfo_optionFloating, 1). -define(wxAuiPaneInfo_optionHidden, 2). -define(wxAuiPaneInfo_optionLeftDockable, 4). @@ -2164,15 +2164,15 @@ -define(wxAuiPaneInfo_buttonCustom3, 268435456). -define(wxAuiPaneInfo_savedHiddenState, 1073741824). -define(wxAuiPaneInfo_actionPane, 2147483648). -% From wxBitmap::Representation +% From wxBitmap::Representation -define(wxBitmap_Pixmap, 0). -define(wxBitmap_Pixbuf, 1). -% From class wxChoicebook +% From class wxChoicebook -define(wxChoicebook_SetSelection_SendEvent, 1). -% From wxDateTime::Calendar +% From wxDateTime::Calendar -define(wxDateTime_Gregorian, 0). -define(wxDateTime_Julian, 1). -% From wxDateTime::Country +% From wxDateTime::Country -define(wxDateTime_Country_Unknown, 0). -define(wxDateTime_Country_Default, 1). -define(wxDateTime_Country_WesternEurope_Start, 2). @@ -2183,7 +2183,7 @@ -define(wxDateTime_Country_WesternEurope_End, ?UK). -define(wxDateTime_Russia, (?UK+1)). -define(wxDateTime_USA, (?UK+2)). -% From wxDateTime::GregorianAdoption +% From wxDateTime::GregorianAdoption -define(wxDateTime_Gr_Unknown, 0). -define(wxDateTime_Gr_Standard, 1). -define(wxDateTime_Gr_Alaska, 2). @@ -2248,7 +2248,7 @@ -define(wxDateTime_Gr_USA, ?Gr_GreatBritain). -define(wxDateTime_Gr_Wales, ?Gr_GreatBritain). -define(wxDateTime_Gr_Yugoslavia, (?Gr_GreatBritain+1)). -% From wxDateTime::Month +% From wxDateTime::Month -define(wxDateTime_Jan, 0). -define(wxDateTime_Feb, 1). -define(wxDateTime_Mar, 2). @@ -2262,10 +2262,10 @@ -define(wxDateTime_Nov, 10). -define(wxDateTime_Dec, 11). -define(wxDateTime_Inv_Month, 12). -% From wxDateTime::NameFlags +% From wxDateTime::NameFlags -define(wxDateTime_Name_Full, 1). -define(wxDateTime_Name_Abbr, 2). -% From wxDateTime::TZ +% From wxDateTime::TZ -define(wxDateTime_Local, 0). -define(wxDateTime_GMT_12, 1). -define(wxDateTime_GMT_11, 2). @@ -2321,7 +2321,7 @@ -define(wxDateTime_NZST, ?GMT12). -define(wxDateTime_NZDT, ?GMT13). -define(wxDateTime_UTC, ?GMT0). -% From wxDateTime::WeekDay +% From wxDateTime::WeekDay -define(wxDateTime_Sun, 0). -define(wxDateTime_Mon, 1). -define(wxDateTime_Tue, 2). @@ -2330,93 +2330,93 @@ -define(wxDateTime_Fri, 5). -define(wxDateTime_Sat, 6). -define(wxDateTime_Inv_WeekDay, 7). -% From wxDateTime::WeekFlags +% From wxDateTime::WeekFlags -define(wxDateTime_Default_First, 0). -define(wxDateTime_Monday_First, 1). -define(wxDateTime_Sunday_First, 2). -% From wxDateTime::Year +% From wxDateTime::Year -define(wxDateTime_Inv_Year, ?SHRT_MIN). -% From class wxDialog +% From class wxDialog -define(wxDialog_ButtonSizerFlags, (?wxOK bor ?wxCANCEL bor ?wxYES bor ?wxNO bor ?wxHELP bor ?wxNO_DEFAULT)). -% From class wxGrid +% From class wxGrid -define(wxGrid_wxGRID_CELLCTRL, 2000). -define(wxGrid_wxGRID_TOPCTRL, 2001). -% From class wxGrid +% From class wxGrid -define(wxGrid_wxGRID_TEXTCTRL, 2100). -define(wxGrid_wxGRID_CHECKBOX, 2101). -define(wxGrid_wxGRID_CHOICE, 2102). -define(wxGrid_wxGRID_COMBOBOX, 2103). -% From wxGrid::CursorMode +% From wxGrid::CursorMode -define(wxGrid_WXGRID_CURSOR_SELECT_CELL, 0). -define(wxGrid_WXGRID_CURSOR_RESIZE_ROW, 1). -define(wxGrid_WXGRID_CURSOR_RESIZE_COL, 2). -define(wxGrid_WXGRID_CURSOR_SELECT_ROW, 3). -define(wxGrid_WXGRID_CURSOR_SELECT_COL, 4). -define(wxGrid_WXGRID_CURSOR_MOVE_COL, 5). -% From wxGrid::wxGridSelectionModes +% From wxGrid::wxGridSelectionModes -define(wxGrid_wxGridSelectCells, 0). -define(wxGrid_wxGridSelectRows, 1). -define(wxGrid_wxGridSelectColumns, 2). -% From wxGridCellAttr::wxAttrKind +% From wxGridCellAttr::wxAttrKind -define(wxGridCellAttr_Any, 0). -define(wxGridCellAttr_Default, 1). -define(wxGridCellAttr_Cell, 2). -define(wxGridCellAttr_Row, 3). -define(wxGridCellAttr_Col, 4). -define(wxGridCellAttr_Merged, 5). -% From wxGridCellAttr::wxAttrOverflowMode +% From wxGridCellAttr::wxAttrOverflowMode -define(wxGridCellAttr_UnsetOverflow, -1). -define(wxGridCellAttr_Overflow, 0). -define(wxGridCellAttr_SingleCell, 1). -% From wxGridCellAttr::wxAttrReadMode +% From wxGridCellAttr::wxAttrReadMode -define(wxGridCellAttr_Unset, -1). -define(wxGridCellAttr_ReadWrite, 0). -define(wxGridCellAttr_ReadOnly, 1). -% From wxHelpEvent::Origin +% From wxHelpEvent::Origin -define(wxHelpEvent_Origin_Unknown, 0). -define(wxHelpEvent_Origin_Keyboard, 1). -define(wxHelpEvent_Origin_HelpButton, 2). -% From wxHtmlEasyPrinting::FontMode +% From wxHtmlEasyPrinting::FontMode -define(wxHtmlEasyPrinting_FontMode_Explicit, 0). -define(wxHtmlEasyPrinting_FontMode_Standard, 1). -% From wxHtmlWindow::ClipboardType +% From wxHtmlWindow::ClipboardType -define(wxHtmlWindow_Primary, 0). -define(wxHtmlWindow_Secondary, 1). -% From class wxListbook +% From class wxListbook -define(wxListbook_SetSelection_SendEvent, 1). -% From class wxNavigationKeyEvent +% From class wxNavigationKeyEvent -define(wxNavigationKeyEvent_IsBackward, 0). -define(wxNavigationKeyEvent_IsForward, 1). -define(wxNavigationKeyEvent_WinChange, 2). -define(wxNavigationKeyEvent_FromTab, 4). -% From class wxNotebook +% From class wxNotebook -define(wxNotebook_SetSelection_SendEvent, 1). -% From class wxProgressDialog +% From class wxProgressDialog -define(wxProgressDialog_Uncancelable, -1). -define(wxProgressDialog_Canceled, 0). -define(wxProgressDialog_Continue, 1). -define(wxProgressDialog_Finished, 2). -% From class wxSizerItem +% From class wxSizerItem -define(wxSizerItem_Item_None, 0). -define(wxSizerItem_Item_Window, 1). -define(wxSizerItem_Item_Sizer, 2). -define(wxSizerItem_Item_Spacer, 3). -define(wxSizerItem_Item_Max, 4). -% From class wxTextCtrl +% From class wxTextCtrl -define(wxTextCtrl_SetValue_SendEvent, 1). -define(wxTextCtrl_SetValue_SelectionOnly, 2). -% From class wxToolbook +% From class wxToolbook -define(wxToolbook_SetSelection_SendEvent, 1). -% From class wxTreebook +% From class wxTreebook -define(wxTreebook_SetSelection_SendEvent, 1). -% From wxWindow::MoveKind +% From wxWindow::MoveKind -define(wxWindow_MoveBefore, 0). -define(wxWindow_MoveAfter, 1). -% From wxWindowGTK::ScrollDir +% From wxWindowGTK::ScrollDir -define(wxWindowGTK_ScrollDir_Horz, 0). -define(wxWindowGTK_ScrollDir_Vert, 1). -define(wxWindowGTK_ScrollDir_Max, 2). -% From wxWindowGTK::ScrollUnit +% From wxWindowGTK::ScrollUnit -define(wxWindowGTK_ScrollUnit_Line, 0). -define(wxWindowGTK_ScrollUnit_Page, 1). -define(wxWindowGTK_ScrollUnit_Max, 2). @@ -2739,10 +2739,10 @@ -define(wxMM_ANISOTROPIC, 8). -define(wxMM_POINTS, 9). -define(wxMM_METRIC, 10). -% Type Propagation_state +% Type Propagation_state -define(wxEVENT_PROPAGATE_NONE, 0). -define(wxEVENT_PROPAGATE_MAX, ?INT_MAX). -% Type form_ops_t +% Type form_ops_t -define(wxCLEAR, 0). -define(wxROP_BLACK, ?wxCLEAR). -define(wxBLIT_BLACKNESS, ?wxCLEAR). @@ -2791,7 +2791,7 @@ -define(wxSET, (?wxOR+1)). -define(wxROP_WHITE, ?wxSET). -define(wxBLIT_WHITENESS, ?wxSET). -% Type wxAlignment +% Type wxAlignment -define(wxALIGN_NOT, 0). -define(wxALIGN_CENTER_HORIZONTAL, 256). -define(wxALIGN_CENTRE_HORIZONTAL, ?wxALIGN_CENTER_HORIZONTAL). @@ -2804,7 +2804,7 @@ -define(wxALIGN_CENTER, (?wxALIGN_CENTER_HORIZONTAL bor ?wxALIGN_CENTER_VERTICAL)). -define(wxALIGN_CENTRE, ?wxALIGN_CENTER). -define(wxALIGN_MASK, 3840). -% Type wxAuiButtonId +% Type wxAuiButtonId -define(wxAUI_BUTTON_CLOSE, 101). -define(wxAUI_BUTTON_MAXIMIZE_RESTORE, 102). -define(wxAUI_BUTTON_MINIMIZE, 103). @@ -2818,7 +2818,7 @@ -define(wxAUI_BUTTON_CUSTOM1, 201). -define(wxAUI_BUTTON_CUSTOM2, 202). -define(wxAUI_BUTTON_CUSTOM3, 203). -% Type wxAuiManagerDock +% Type wxAuiManagerDock -define(wxAUI_DOCK_NONE, 0). -define(wxAUI_DOCK_TOP, 1). -define(wxAUI_DOCK_RIGHT, 2). @@ -2826,7 +2826,7 @@ -define(wxAUI_DOCK_LEFT, 4). -define(wxAUI_DOCK_CENTER, 5). -define(wxAUI_DOCK_CENTRE, ?wxAUI_DOCK_CENTER). -% Type wxAuiManagerOption +% Type wxAuiManagerOption -define(wxAUI_MGR_ALLOW_FLOATING, 1). -define(wxAUI_MGR_ALLOW_ACTIVE_PANE, 2). -define(wxAUI_MGR_TRANSPARENT_DRAG, 4). @@ -2837,7 +2837,7 @@ -define(wxAUI_MGR_NO_VENETIAN_BLINDS_FADE, 128). -define(wxAUI_MGR_LIVE_RESIZE, 256). -define(wxAUI_MGR_DEFAULT, (?wxAUI_MGR_ALLOW_FLOATING bor ?wxAUI_MGR_TRANSPARENT_HINT bor ?wxAUI_MGR_HINT_FADE bor ?wxAUI_MGR_NO_VENETIAN_BLINDS_FADE)). -% Type wxAuiNotebookOption +% Type wxAuiNotebookOption -define(wxAUI_NB_TOP, 1). -define(wxAUI_NB_LEFT, 2). -define(wxAUI_NB_RIGHT, 4). @@ -2853,18 +2853,18 @@ -define(wxAUI_NB_CLOSE_ON_ALL_TABS, 4096). -define(wxAUI_NB_MIDDLE_CLICK_CLOSE, 8192). -define(wxAUI_NB_DEFAULT_STYLE, (?wxAUI_NB_TOP bor ?wxAUI_NB_TAB_SPLIT bor ?wxAUI_NB_TAB_MOVE bor ?wxAUI_NB_SCROLL_BUTTONS bor ?wxAUI_NB_CLOSE_ON_ACTIVE_TAB bor ?wxAUI_NB_MIDDLE_CLICK_CLOSE)). -% Type wxAuiPaneButtonState +% Type wxAuiPaneButtonState -define(wxAUI_BUTTON_STATE_NORMAL, 0). -define(wxAUI_BUTTON_STATE_HOVER, 2). -define(wxAUI_BUTTON_STATE_PRESSED, 4). -define(wxAUI_BUTTON_STATE_DISABLED, 8). -define(wxAUI_BUTTON_STATE_HIDDEN, 16). -define(wxAUI_BUTTON_STATE_CHECKED, 32). -% Type wxAuiPaneDockArtGradients +% Type wxAuiPaneDockArtGradients -define(wxAUI_GRADIENT_NONE, 0). -define(wxAUI_GRADIENT_VERTICAL, 1). -define(wxAUI_GRADIENT_HORIZONTAL, 2). -% Type wxAuiPaneDockArtSetting +% Type wxAuiPaneDockArtSetting -define(wxAUI_DOCKART_SASH_SIZE, 0). -define(wxAUI_DOCKART_CAPTION_SIZE, 1). -define(wxAUI_DOCKART_GRIPPER_SIZE, 2). @@ -2882,15 +2882,15 @@ -define(wxAUI_DOCKART_GRIPPER_COLOUR, 14). -define(wxAUI_DOCKART_CAPTION_FONT, 15). -define(wxAUI_DOCKART_GRADIENT_TYPE, 16). -% Type wxAuiPaneInsertLevel +% Type wxAuiPaneInsertLevel -define(wxAUI_INSERT_PANE, 0). -define(wxAUI_INSERT_ROW, 1). -define(wxAUI_INSERT_DOCK, 2). -% Type wxBackgroundStyle +% Type wxBackgroundStyle -define(wxBG_STYLE_SYSTEM, 0). -define(wxBG_STYLE_COLOUR, 1). -define(wxBG_STYLE_CUSTOM, 2). -% Type wxBitmapType +% Type wxBitmapType -define(wxBITMAP_TYPE_INVALID, 0). -define(wxBITMAP_TYPE_BMP, 1). -define(wxBITMAP_TYPE_BMP_RESOURCE, 2). @@ -2925,7 +2925,7 @@ -define(wxBITMAP_TYPE_MACCURSOR, (?wxBITMAP_TYPE_BMP_RESOURCE+28)). -define(wxBITMAP_TYPE_MACCURSOR_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+29)). -define(wxBITMAP_TYPE_ANY, 50). -% Type wxBorder +% Type wxBorder -define(wxBORDER_DEFAULT, 0). -define(wxBORDER_NONE, 2097152). -define(wxBORDER_STATIC, 16777216). @@ -2935,26 +2935,26 @@ -define(wxBORDER_DOUBLE, 268435456). -define(wxBORDER_THEME, 268435456). -define(wxBORDER_MASK, 522190848). -% Type wxCalendarDateBorder +% Type wxCalendarDateBorder -define(wxCAL_BORDER_NONE, 0). -define(wxCAL_BORDER_SQUARE, 1). -define(wxCAL_BORDER_ROUND, 2). -% Type wxCalendarHitTestResult +% Type wxCalendarHitTestResult -define(wxCAL_HITTEST_NOWHERE, 0). -define(wxCAL_HITTEST_HEADER, 1). -define(wxCAL_HITTEST_DAY, 2). -define(wxCAL_HITTEST_INCMONTH, 3). -define(wxCAL_HITTEST_DECMONTH, 4). -define(wxCAL_HITTEST_SURROUNDING_WEEK, 5). -% Type wxCheckBoxState +% Type wxCheckBoxState -define(wxCHK_UNCHECKED, 0). -define(wxCHK_CHECKED, 1). -define(wxCHK_UNDETERMINED, 2). -% Type wxClientDataType +% Type wxClientDataType -define(wxClientData_None, 0). -define(wxClientData_Object, 1). -define(wxClientData_Void, 2). -% Type wxDataFormatId +% Type wxDataFormatId -define(wxDF_INVALID, 0). -define(wxDF_TEXT, 1). -define(wxDF_BITMAP, 2). @@ -2975,7 +2975,7 @@ -define(wxDF_PRIVATE, 20). -define(wxDF_HTML, 30). -define(wxDF_MAX, 31). -% Type wxDirection +% Type wxDirection -define(wxLEFT, 16). -define(wxRIGHT, 32). -define(wxUP, 64). @@ -2987,18 +2987,18 @@ -define(wxWEST, ?wxLEFT). -define(wxEAST, ?wxRIGHT). -define(wxALL, (?wxUP bor ?wxDOWN bor ?wxRIGHT bor ?wxLEFT)). -% Type wxDragResult +% Type wxDragResult -define(wxDragError, 0). -define(wxDragNone, 1). -define(wxDragCopy, 2). -define(wxDragMove, 3). -define(wxDragLink, 4). -define(wxDragCancel, 5). -% Type wxDuplexMode +% Type wxDuplexMode -define(wxDUPLEX_SIMPLEX, 0). -define(wxDUPLEX_HORIZONTAL, 1). -define(wxDUPLEX_VERTICAL, 2). -% Type wxEdge +% Type wxEdge -define(wxLeft, 0). -define(wxTop, 1). -define(wxRight, 2). @@ -3009,20 +3009,20 @@ -define(wxCenter, ?wxCentre). -define(wxCentreX, (?wxCentre+1)). -define(wxCentreY, (?wxCentre+2)). -% Type wxFindReplaceDialogStyles +% Type wxFindReplaceDialogStyles -define(wxFR_REPLACEDIALOG, 1). -define(wxFR_NOUPDOWN, 2). -define(wxFR_NOMATCHCASE, 4). -define(wxFR_NOWHOLEWORD, 8). -% Type wxFindReplaceFlags +% Type wxFindReplaceFlags -define(wxFR_DOWN, 1). -define(wxFR_WHOLEWORD, 2). -define(wxFR_MATCHCASE, 4). -% Type wxFlexSizerGrowMode +% Type wxFlexSizerGrowMode -define(wxFLEX_GROWMODE_NONE, 0). -define(wxFLEX_GROWMODE_SPECIFIED, 1). -define(wxFLEX_GROWMODE_ALL, 2). -% Type wxFontEncoding +% Type wxFontEncoding -define(wxFONTENCODING_SYSTEM, -1). -define(wxFONTENCODING_DEFAULT, 0). -define(wxFONTENCODING_ISO8859_1, 1). @@ -3120,7 +3120,7 @@ -define(wxFONTENCODING_GB2312, ?wxFONTENCODING_CP936). -define(wxFONTENCODING_BIG5, ?wxFONTENCODING_CP950). -define(wxFONTENCODING_SHIFT_JIS, ?wxFONTENCODING_CP932). -% Type wxFontFamily +% Type wxFontFamily -define(wxFONTFAMILY_DEFAULT, ?wxDEFAULT). -define(wxFONTFAMILY_DECORATIVE, ?wxDECORATIVE). -define(wxFONTFAMILY_ROMAN, ?wxROMAN). @@ -3130,20 +3130,20 @@ -define(wxFONTFAMILY_TELETYPE, ?wxTELETYPE). -define(wxFONTFAMILY_MAX, (?wxTELETYPE+1)). -define(wxFONTFAMILY_UNKNOWN, ?wxFONTFAMILY_MAX). -% Type wxFontStyle +% Type wxFontStyle -define(wxFONTSTYLE_NORMAL, ?wxNORMAL). -define(wxFONTSTYLE_ITALIC, ?wxITALIC). -define(wxFONTSTYLE_SLANT, ?wxSLANT). -define(wxFONTSTYLE_MAX, (?wxSLANT+1)). -% Type wxFontWeight +% Type wxFontWeight -define(wxFONTWEIGHT_NORMAL, ?wxNORMAL). -define(wxFONTWEIGHT_LIGHT, ?wxLIGHT). -define(wxFONTWEIGHT_BOLD, ?wxBOLD). -define(wxFONTWEIGHT_MAX, (?wxBOLD+1)). -% Type wxGeometryCentre +% Type wxGeometryCentre -define(wxCENTRE, 1). -define(wxCENTER, ?wxCENTRE). -% Type wxHitTest +% Type wxHitTest -define(wxHT_NOWHERE, 0). -define(wxHT_SCROLLBAR_FIRST, ?wxHT_NOWHERE). -define(wxHT_SCROLLBAR_ARROW_LINE_1, (?wxHT_NOWHERE+1)). @@ -3160,20 +3160,20 @@ -define(wxHT_WINDOW_HORZ_SCROLLBAR, (?wxHT_NOWHERE+12)). -define(wxHT_WINDOW_CORNER, (?wxHT_NOWHERE+13)). -define(wxHT_MAX, (?wxHT_NOWHERE+14)). -% Type wxHtmlOpeningStatus +% Type wxHtmlOpeningStatus -define(wxHTML_OPEN, 0). -define(wxHTML_BLOCK, 1). -define(wxHTML_REDIRECT, 2). -% Type wxIdleMode +% Type wxIdleMode -define(wxIDLE_PROCESS_ALL, 0). -define(wxIDLE_PROCESS_SPECIFIED, 1). -% Type wxItemKind +% Type wxItemKind -define(wxITEM_SEPARATOR, -1). -define(wxITEM_NORMAL, 0). -define(wxITEM_CHECK, 1). -define(wxITEM_RADIO, 2). -define(wxITEM_MAX, 3). -% Type wxKeyCode +% Type wxKeyCode -define(WXK_BACK, 8). -define(WXK_TAB, 9). -define(WXK_RETURN, 13). @@ -3297,7 +3297,7 @@ -define(WXK_SPECIAL18, 210). -define(WXK_SPECIAL19, 211). -define(WXK_SPECIAL20, 212). -% Type wxKeyModifier +% Type wxKeyModifier -define(wxMOD_NONE, 0). -define(wxMOD_ALT, 1). -define(wxMOD_CONTROL, 2). @@ -3307,46 +3307,46 @@ -define(wxMOD_WIN, ?wxMOD_META). -define(wxMOD_CMD, wxe_util:get_const(wxMOD_CMD)). -define(wxMOD_ALL, 65535). -% Type wxKeyType +% Type wxKeyType -define(wxKEY_NONE, 0). -define(wxKEY_INTEGER, 1). -define(wxKEY_STRING, 2). -% Type wxKillError +% Type wxKillError -define(wxKILL_OK, 0). -define(wxKILL_BAD_SIGNAL, 1). -define(wxKILL_ACCESS_DENIED, 2). -define(wxKILL_NO_PROCESS, 3). -define(wxKILL_ERROR, 4). -% Type wxKillFlags +% Type wxKillFlags -define(wxKILL_NOCHILDREN, 0). -define(wxKILL_CHILDREN, 1). -% Type wxLayoutAlignment +% Type wxLayoutAlignment -define(wxLAYOUT_NONE, 0). -define(wxLAYOUT_TOP, 1). -define(wxLAYOUT_LEFT, 2). -define(wxLAYOUT_RIGHT, 3). -define(wxLAYOUT_BOTTOM, 4). -% Type wxLayoutDirection +% Type wxLayoutDirection -define(wxLayout_Default, 0). -define(wxLayout_LeftToRight, 1). -define(wxLayout_RightToLeft, 2). -% Type wxLayoutOrientation +% Type wxLayoutOrientation -define(wxLAYOUT_HORIZONTAL, 0). -define(wxLAYOUT_VERTICAL, 1). -% Type wxListColumnFormat +% Type wxListColumnFormat -define(wxLIST_FORMAT_LEFT, 0). -define(wxLIST_FORMAT_RIGHT, 1). -define(wxLIST_FORMAT_CENTRE, 2). -define(wxLIST_FORMAT_CENTER, ?wxLIST_FORMAT_CENTRE). -% Type wxNotificationOptions +% Type wxNotificationOptions -define(wxNOTIFY_NONE, 0). -define(wxNOTIFY_ONCE, 1). -define(wxNOTIFY_REPEAT, 2). -% Type wxOrientation +% Type wxOrientation -define(wxHORIZONTAL, 4). -define(wxVERTICAL, 8). -define(wxBOTH, (?wxVERTICAL bor ?wxHORIZONTAL)). -% Type wxPaperSize +% Type wxPaperSize -define(wxPAPER_NONE, 0). -define(wxPAPER_LETTER, 1). -define(wxPAPER_LEGAL, 2). @@ -3464,7 +3464,7 @@ -define(wxPAPER_PENV_8_ROTATED, 114). -define(wxPAPER_PENV_9_ROTATED, 115). -define(wxPAPER_PENV_10_ROTATED, 116). -% Type wxPrintBin +% Type wxPrintBin -define(wxPRINTBIN_DEFAULT, 0). -define(wxPRINTBIN_ONLYONE, 1). -define(wxPRINTBIN_LOWER, 2). @@ -3480,27 +3480,27 @@ -define(wxPRINTBIN_CASSETTE, 12). -define(wxPRINTBIN_FORMSOURCE, 13). -define(wxPRINTBIN_USER, 14). -% Type wxPrintMode +% Type wxPrintMode -define(wxPRINT_MODE_NONE, 0). -define(wxPRINT_MODE_PREVIEW, 1). -define(wxPRINT_MODE_FILE, 2). -define(wxPRINT_MODE_PRINTER, 3). -define(wxPRINT_MODE_STREAM, 4). -% Type wxPrinterError +% Type wxPrinterError -define(wxPRINTER_NO_ERROR, 0). -define(wxPRINTER_CANCELLED, 1). -define(wxPRINTER_ERROR, 2). -% Type wxRegionContain +% Type wxRegionContain -define(wxOutRegion, 0). -define(wxPartRegion, 1). -define(wxInRegion, 2). -% Type wxRegionOp +% Type wxRegionOp -define(wxRGN_AND, 0). -define(wxRGN_COPY, 1). -define(wxRGN_DIFF, 2). -define(wxRGN_OR, 3). -define(wxRGN_XOR, 4). -% Type wxRelationship +% Type wxRelationship -define(wxUnconstrained, 0). -define(wxAsIs, 1). -define(wxPercentOf, 2). @@ -3510,19 +3510,19 @@ -define(wxRightOf, 6). -define(wxSameAs, 7). -define(wxAbsolute, 8). -% Type wxSashDragStatus +% Type wxSashDragStatus -define(wxSASH_STATUS_OK, 0). -define(wxSASH_STATUS_OUT_OF_RANGE, 1). -% Type wxSashEdgePosition +% Type wxSashEdgePosition -define(wxSASH_TOP, 0). -define(wxSASH_RIGHT, 1). -define(wxSASH_BOTTOM, 2). -define(wxSASH_LEFT, 3). -define(wxSASH_NONE, 100). -% Type wxShutdownFlags +% Type wxShutdownFlags -define(wxSHUTDOWN_POWEROFF, 0). -define(wxSHUTDOWN_REBOOT, 1). -% Type wxSignal +% Type wxSignal -define(wxSIGNONE, 0). -define(wxSIGHUP, 1). -define(wxSIGINT, 2). @@ -3540,10 +3540,10 @@ -define(wxSIGPIPE, (?wxSIGABRT+7)). -define(wxSIGALRM, (?wxSIGABRT+8)). -define(wxSIGTERM, (?wxSIGABRT+9)). -% Type wxSplitMode +% Type wxSplitMode -define(wxSPLIT_HORIZONTAL, 1). -define(wxSPLIT_VERTICAL, 2). -% Type wxStockCursor +% Type wxStockCursor -define(wxCURSOR_NONE, 0). -define(wxCURSOR_ARROW, 1). -define(wxCURSOR_RIGHT_ARROW, 2). @@ -3574,7 +3574,7 @@ -define(wxCURSOR_DEFAULT, 27). -define(wxCURSOR_ARROWWAIT, 28). -define(wxCURSOR_MAX, 29). -% Type wxStretch +% Type wxStretch -define(wxSTRETCH_NOT, 0). -define(wxSHRINK, 4096). -define(wxGROW, 8192). @@ -3584,7 +3584,7 @@ -define(wxRESERVE_SPACE_EVEN_IF_HIDDEN, 2). -define(wxTILE, 49152). -define(wxADJUST_MINSIZE, 0). -% Type wxSystemColour +% Type wxSystemColour -define(wxSYS_COLOUR_SCROLLBAR, 0). -define(wxSYS_COLOUR_BACKGROUND, 1). -define(wxSYS_COLOUR_DESKTOP, ?wxSYS_COLOUR_BACKGROUND). @@ -3624,11 +3624,11 @@ -define(wxSYS_COLOUR_MENUBAR, (?wxSYS_COLOUR_BTNHIGHLIGHT+10)). -define(wxSYS_COLOUR_LISTBOXTEXT, (?wxSYS_COLOUR_BTNHIGHLIGHT+11)). -define(wxSYS_COLOUR_MAX, (?wxSYS_COLOUR_BTNHIGHLIGHT+12)). -% Type wxSystemFeature +% Type wxSystemFeature -define(wxSYS_CAN_DRAW_FRAME_DECORATIONS, 1). -define(wxSYS_CAN_ICONIZE_FRAME, 2). -define(wxSYS_TABLET_PRESENT, 3). -% Type wxSystemFont +% Type wxSystemFont -define(wxSYS_OEM_FIXED_FONT, 10). -define(wxSYS_ANSI_FIXED_FONT, 11). -define(wxSYS_ANSI_VAR_FONT, 12). @@ -3638,7 +3638,7 @@ -define(wxSYS_SYSTEM_FIXED_FONT, 16). -define(wxSYS_DEFAULT_GUI_FONT, 17). -define(wxSYS_ICONTITLE_FONT, ?wxSYS_DEFAULT_GUI_FONT). -% Type wxSystemMetric +% Type wxSystemMetric -define(wxSYS_MOUSE_BUTTONS, 1). -define(wxSYS_BORDER_X, 2). -define(wxSYS_BORDER_Y, 3). @@ -3676,49 +3676,49 @@ -define(wxSYS_PENWINDOWS_PRESENT, 35). -define(wxSYS_SHOW_SOUNDS, 36). -define(wxSYS_SWAP_BUTTONS, 37). -% Type wxSystemScreenType +% Type wxSystemScreenType -define(wxSYS_SCREEN_NONE, 0). -define(wxSYS_SCREEN_TINY, 1). -define(wxSYS_SCREEN_PDA, 2). -define(wxSYS_SCREEN_SMALL, 3). -define(wxSYS_SCREEN_DESKTOP, 4). -% Type wxTextAttrAlignment +% Type wxTextAttrAlignment -define(wxTEXT_ALIGNMENT_DEFAULT, 0). -define(wxTEXT_ALIGNMENT_LEFT, 1). -define(wxTEXT_ALIGNMENT_CENTRE, 2). -define(wxTEXT_ALIGNMENT_CENTER, ?wxTEXT_ALIGNMENT_CENTRE). -define(wxTEXT_ALIGNMENT_RIGHT, (?wxTEXT_ALIGNMENT_CENTRE+1)). -define(wxTEXT_ALIGNMENT_JUSTIFIED, (?wxTEXT_ALIGNMENT_CENTRE+2)). -% Type wxTextCtrlHitTestResult +% Type wxTextCtrlHitTestResult -define(wxTE_HT_UNKNOWN, -2). -define(wxTE_HT_BEFORE, -1). -define(wxTE_HT_ON_TEXT, 0). -define(wxTE_HT_BELOW, 1). -define(wxTE_HT_BEYOND, 2). -% Type wxToolBarToolStyle +% Type wxToolBarToolStyle -define(wxTOOL_STYLE_BUTTON, 1). -define(wxTOOL_STYLE_SEPARATOR, 2). -define(wxTOOL_STYLE_CONTROL, 3). -% Type wxTreeItemIcon +% Type wxTreeItemIcon -define(wxTreeItemIcon_Normal, 0). -define(wxTreeItemIcon_Selected, 1). -define(wxTreeItemIcon_Expanded, 2). -define(wxTreeItemIcon_SelectedExpanded, 3). -define(wxTreeItemIcon_Max, 4). -% Type wxUpdateUI +% Type wxUpdateUI -define(wxUPDATE_UI_NONE, 0). -define(wxUPDATE_UI_RECURSE, 1). -define(wxUPDATE_UI_FROMIDLE, 2). -% Type wxUpdateUIMode +% Type wxUpdateUIMode -define(wxUPDATE_UI_PROCESS_ALL, 0). -define(wxUPDATE_UI_PROCESS_SPECIFIED, 1). -% Type wxWindowVariant +% Type wxWindowVariant -define(wxWINDOW_VARIANT_NORMAL, 0). -define(wxWINDOW_VARIANT_SMALL, 1). -define(wxWINDOW_VARIANT_MINI, 2). -define(wxWINDOW_VARIANT_LARGE, 3). -define(wxWINDOW_VARIANT_MAX, 4). -% Type wxXmlResourceFlags +% Type wxXmlResourceFlags -define(wxXRC_USE_LOCALE, 1). -define(wxXRC_NO_SUBCLASSING, 2). -define(wxXRC_NO_RELOADING, 4). diff --git a/lib/wx/src/gen/wxAcceleratorEntry.erl b/lib/wx/src/gen/wxAcceleratorEntry.erl index c7256a80db..d76299b300 100644 --- a/lib/wx/src/gen/wxAcceleratorEntry.erl +++ b/lib/wx/src/gen/wxAcceleratorEntry.erl @@ -39,7 +39,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% new([Option]) -> wxAcceleratorEntry() </c> %%<br /> Option = {flags, integer()} | {keyCode, integer()} | {cmd, integer()} | {item, wxMenuItem:wxMenuItem()} @@ -103,7 +103,7 @@ set(#wx_ref{type=ThisT,ref=ThisRef},Flags,KeyCode,Cmd, Options) %% @spec (This::wxAcceleratorEntry()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 9fe5e4ee51..5d070294e2 100644 --- a/lib/wx/src/gen/wxAcceleratorTable.erl +++ b/lib/wx/src/gen/wxAcceleratorTable.erl @@ -56,7 +56,7 @@ ok(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxAcceleratorTable()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxAcceleratorTable), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. diff --git a/lib/wx/src/gen/wxAuiManager.erl b/lib/wx/src/gen/wxAuiManager.erl index 5d19ca5f58..ad0af6652d 100644 --- a/lib/wx/src/gen/wxAuiManager.erl +++ b/lib/wx/src/gen/wxAuiManager.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvtHandler} %% </p> %% @type wxAuiManager(). An object reference, The representation is internal @@ -66,7 +66,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% addPane(This::wxAuiManager(), Window::wxWindow:wxWindow(), [Option]) -> bool() </c> %%<br /> Option = {direction, integer()} | {caption, string()} @@ -153,7 +153,7 @@ getManager(#wx_ref{type=WindowT,ref=WindowRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% getPane(This::wxAuiManager(), Name::string()) -> wxAuiPaneInfo:wxAuiPaneInfo() </c> %% </p> @@ -299,11 +299,11 @@ update(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxAuiManager()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxAuiManager), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxAuiManagerEvent.erl b/lib/wx/src/gen/wxAuiManagerEvent.erl index c348f2abdb..b5e45f1860 100644 --- a/lib/wx/src/gen/wxAuiManagerEvent.erl +++ b/lib/wx/src/gen/wxAuiManagerEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxAuiManagerEvent(). An object reference, The representation is internal @@ -142,7 +142,7 @@ canVeto(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxAuiManagerEvent_CanVeto, <<ThisRef:32/?UI>>). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxAuiNotebook.erl b/lib/wx/src/gen/wxAuiNotebook.erl index 67596ed082..5d486aeaa2 100644 --- a/lib/wx/src/gen/wxAuiNotebook.erl +++ b/lib/wx/src/gen/wxAuiNotebook.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -299,16 +299,16 @@ setUniformBitmapSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) %% @spec (This::wxAuiNotebook()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxAuiNotebook), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -653,7 +653,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxAuiNotebookEvent.erl b/lib/wx/src/gen/wxAuiNotebookEvent.erl index 6257ff3602..09a2abf214 100644 --- a/lib/wx/src/gen/wxAuiNotebookEvent.erl +++ b/lib/wx/src/gen/wxAuiNotebookEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxNotifyEvent} %% <br />{@link wxCommandEvent} %% <br />{@link wxEvent} @@ -93,14 +93,14 @@ getDragSource(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxAuiNotebookEvent_GetDragSource, <<ThisRef:32/?UI>>). - %% From wxNotifyEvent + %% From wxNotifyEvent %% @hidden veto(This) -> wxNotifyEvent:veto(This). %% @hidden isAllowed(This) -> wxNotifyEvent:isAllowed(This). %% @hidden allow(This) -> wxNotifyEvent:allow(This). - %% From wxCommandEvent + %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). %% @hidden @@ -117,7 +117,7 @@ getInt(This) -> wxCommandEvent:getInt(This). getExtraLong(This) -> wxCommandEvent:getExtraLong(This). %% @hidden getClientData(This) -> wxCommandEvent:getClientData(This). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxAuiPaneInfo.erl b/lib/wx/src/gen/wxAuiPaneInfo.erl index 8f699452cf..7b1401b069 100644 --- a/lib/wx/src/gen/wxAuiPaneInfo.erl +++ b/lib/wx/src/gen/wxAuiPaneInfo.erl @@ -779,7 +779,7 @@ window(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WT,ref=WRef}) -> %% @spec (This::wxAuiPaneInfo()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxAuiPaneInfo), wxe_util:destroy(?wxAuiPaneInfo_destruct,Obj), ok. diff --git a/lib/wx/src/gen/wxBitmap.erl b/lib/wx/src/gen/wxBitmap.erl index 0b5a216a35..53c57e4393 100644 --- a/lib/wx/src/gen/wxBitmap.erl +++ b/lib/wx/src/gen/wxBitmap.erl @@ -43,7 +43,7 @@ new() -> %% @spec (X::string()|term()) -> wxBitmap() %% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmapwxbitmap">external documentation</a>. -%% <br /> Alternatives: +%% <br /> Alternatives: %% <p><c> %% new(Filename::string()) -> new(Filename, []) </c></p> %% <p><c> @@ -59,7 +59,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% new(Width::integer(), Height::integer()) -> new(Width,Height, []) </c></p> %% <p><c> @@ -95,7 +95,7 @@ new(#wx_ref{type=ImageT,ref=ImageRef}, Options) %% @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: +%% <br /> Alternatives: %% <p><c> %% new(Bits::binary(), Width::integer(), Height::integer()) -> new(Bits,Width,Height, []) </c></p> %% <p><c> @@ -293,7 +293,7 @@ setWidth(#wx_ref{type=ThisT,ref=ThisRef},Width) %% @spec (This::wxBitmap()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index a06b77e47b..0c187bf1c1 100644 --- a/lib/wx/src/gen/wxBitmapButton.erl +++ b/lib/wx/src/gen/wxBitmapButton.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxButton} %% <br />{@link wxControl} %% <br />{@link wxWindow} @@ -192,19 +192,19 @@ setBitmapSelected(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=SelT,ref=SelRef}) %% @spec (This::wxBitmapButton()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxBitmapButton), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxButton + %% From wxButton %% @hidden setLabel(This,Label) -> wxButton:setLabel(This,Label). %% @hidden setDefault(This) -> wxButton:setDefault(This). - %% From wxControl + %% From wxControl %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -551,7 +551,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxBitmapDataObject.erl b/lib/wx/src/gen/wxBitmapDataObject.erl index 31a896bf82..b5207072e3 100644 --- a/lib/wx/src/gen/wxBitmapDataObject.erl +++ b/lib/wx/src/gen/wxBitmapDataObject.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxDataObject} %% </p> %% @type wxBitmapDataObject(). An object reference, The representation is internal @@ -43,7 +43,7 @@ new() -> %% @spec (X::term()) -> wxBitmapDataObject() %% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmapdataobject.html#wxbitmapdataobjectwxbitmapdataobject">external documentation</a>. -%% <br /> Alternatives: +%% <br /> Alternatives: %% <p><c> %% new([Option]) -> wxBitmapDataObject() </c> %%<br /> Option = {bitmap, wxBitmap:wxBitmap()} @@ -80,8 +80,8 @@ setBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) - %% @spec (This::wxBitmapDataObject()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxBitmapDataObject), wxe_util:destroy(?wxBitmapDataObject_destroy,Obj), ok. - %% From wxDataObject + %% From wxDataObject diff --git a/lib/wx/src/gen/wxBoxSizer.erl b/lib/wx/src/gen/wxBoxSizer.erl index 30f56b37c1..1d5b1cf2fa 100644 --- a/lib/wx/src/gen/wxBoxSizer.erl +++ b/lib/wx/src/gen/wxBoxSizer.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxSizer} %% </p> %% @type wxBoxSizer(). An object reference, The representation is internal @@ -60,11 +60,11 @@ getOrientation(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxBoxSizer()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxBoxSizer), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxSizer + %% From wxSizer %% @hidden show(This,Index, Options) -> wxSizer:show(This,Index, Options). %% @hidden diff --git a/lib/wx/src/gen/wxBrush.erl b/lib/wx/src/gen/wxBrush.erl index 0d8a99fa3e..e42edd62e3 100644 --- a/lib/wx/src/gen/wxBrush.erl +++ b/lib/wx/src/gen/wxBrush.erl @@ -41,7 +41,7 @@ new() -> %% @spec (X::term()) -> wxBrush() %% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbrush.html#wxbrushwxbrush">external documentation</a>. -%% <br /> Alternatives: +%% <br /> Alternatives: %% <p><c> %% new(Colour::wx:colour()) -> new(Colour, []) </c></p> %% <p><c> @@ -136,7 +136,7 @@ setStyle(#wx_ref{type=ThisT,ref=ThisRef},Style) %% @spec (This::wxBrush()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 25d3fb41dc..6e341a8552 100644 --- a/lib/wx/src/gen/wxBufferedDC.erl +++ b/lib/wx/src/gen/wxBufferedDC.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxMemoryDC} %% <br />{@link wxDC} %% </p> @@ -72,7 +72,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% new(Dc::wxDC:wxDC(), Area::{W::integer(),H::integer()}) -> new(Dc,Area, []) </c></p> %% <p><c> @@ -113,7 +113,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% init(This::wxBufferedDC(), Dc::wxDC:wxDC(), Area::{W::integer(),H::integer()}) -> init(This,Dc,Area, []) </c></p> %% <p><c> @@ -150,16 +150,16 @@ init(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DcT,ref=DcRef},{AreaW,AreaH}, %% @spec (This::wxBufferedDC()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxBufferedDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxMemoryDC + %% From wxMemoryDC %% @hidden selectObjectAsSource(This,Bmp) -> wxMemoryDC:selectObjectAsSource(This,Bmp). %% @hidden selectObject(This,Bmp) -> wxMemoryDC:selectObject(This,Bmp). - %% From wxDC + %% From wxDC %% @hidden startPage(This) -> wxDC:startPage(This). %% @hidden diff --git a/lib/wx/src/gen/wxBufferedPaintDC.erl b/lib/wx/src/gen/wxBufferedPaintDC.erl index 805d69ce2c..2712394dd8 100644 --- a/lib/wx/src/gen/wxBufferedPaintDC.erl +++ b/lib/wx/src/gen/wxBufferedPaintDC.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxBufferedDC} %% <br />{@link wxMemoryDC} %% <br />{@link wxDC} @@ -69,7 +69,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% new(Window::wxWindow:wxWindow(), Buffer::wxBitmap:wxBitmap()) -> new(Window,Buffer, []) </c></p> %% <p><c> @@ -104,23 +104,23 @@ new(#wx_ref{type=WindowT,ref=WindowRef},#wx_ref{type=BufferT,ref=BufferRef}, Opt %% @spec (This::wxBufferedPaintDC()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxBufferedPaintDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxBufferedDC + %% 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 + %% From wxMemoryDC %% @hidden selectObjectAsSource(This,Bmp) -> wxMemoryDC:selectObjectAsSource(This,Bmp). %% @hidden selectObject(This,Bmp) -> wxMemoryDC:selectObject(This,Bmp). - %% From wxDC + %% From wxDC %% @hidden startPage(This) -> wxDC:startPage(This). %% @hidden diff --git a/lib/wx/src/gen/wxButton.erl b/lib/wx/src/gen/wxButton.erl index 9fee37139a..c0e21a5657 100644 --- a/lib/wx/src/gen/wxButton.erl +++ b/lib/wx/src/gen/wxButton.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -151,14 +151,14 @@ setLabel(#wx_ref{type=ThisT,ref=ThisRef},Label) %% @spec (This::wxButton()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxButton), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -505,7 +505,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxCalendarCtrl.erl b/lib/wx/src/gen/wxCalendarCtrl.erl index bea52dd332..8ad4d5954b 100644 --- a/lib/wx/src/gen/wxCalendarCtrl.erl +++ b/lib/wx/src/gen/wxCalendarCtrl.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -311,16 +311,16 @@ hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PosX,PosY}) %% @spec (This::wxCalendarCtrl()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxCalendarCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -667,7 +667,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxCalendarDateAttr.erl b/lib/wx/src/gen/wxCalendarDateAttr.erl index e0f6cd5f73..aea8abbe54 100644 --- a/lib/wx/src/gen/wxCalendarDateAttr.erl +++ b/lib/wx/src/gen/wxCalendarDateAttr.erl @@ -43,7 +43,7 @@ new() -> %% @spec (X::WxCalendarDateBorder|term()) -> wxCalendarDateAttr() %% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendardateattr.html#wxcalendardateattrwxcalendardateattr">external documentation</a>. -%% <br /> Alternatives: +%% <br /> Alternatives: %% <p><c> %% new(Border::WxCalendarDateBorder) -> new(Border, []) </c></p> %% <p><c> @@ -59,7 +59,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% new(Border::WxCalendarDateBorder, [Option]) -> wxCalendarDateAttr() </c> %%<br /> Option = {colBorder, wx:colour()} @@ -221,7 +221,7 @@ getBorder(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxCalendarDateAttr()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 4fa2628fa0..40723711af 100644 --- a/lib/wx/src/gen/wxCalendarEvent.erl +++ b/lib/wx/src/gen/wxCalendarEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxDateEvent} %% <br />{@link wxCommandEvent} %% <br />{@link wxEvent} @@ -56,10 +56,10 @@ getWeekDay(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxCalendarEvent_GetWeekDay, <<ThisRef:32/?UI>>). - %% From wxDateEvent + %% From wxDateEvent %% @hidden getDate(This) -> wxDateEvent:getDate(This). - %% From wxCommandEvent + %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). %% @hidden @@ -78,7 +78,7 @@ getInt(This) -> wxCommandEvent:getInt(This). getExtraLong(This) -> wxCommandEvent:getExtraLong(This). %% @hidden getClientData(This) -> wxCommandEvent:getClientData(This). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxCaret.erl b/lib/wx/src/gen/wxCaret.erl index 168865e5b4..3e1a3d544c 100644 --- a/lib/wx/src/gen/wxCaret.erl +++ b/lib/wx/src/gen/wxCaret.erl @@ -175,7 +175,7 @@ show(#wx_ref{type=ThisT,ref=ThisRef}, Options) %% @spec (This::wxCaret()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 583ac25e87..c484483379 100644 --- a/lib/wx/src/gen/wxCheckBox.erl +++ b/lib/wx/src/gen/wxCheckBox.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -185,16 +185,16 @@ set3StateValue(#wx_ref{type=ThisT,ref=ThisRef},State) %% @spec (This::wxCheckBox()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxCheckBox), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -541,7 +541,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxCheckListBox.erl b/lib/wx/src/gen/wxCheckListBox.erl index 4c84bc4f93..c692997311 100644 --- a/lib/wx/src/gen/wxCheckListBox.erl +++ b/lib/wx/src/gen/wxCheckListBox.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxListBox} %% <br />{@link wxControlWithItems} %% <br />{@link wxControl} @@ -139,11 +139,11 @@ isChecked(#wx_ref{type=ThisT,ref=ThisRef},Index) %% @spec (This::wxCheckListBox()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxCheckListBox), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxListBox + %% From wxListBox %% @hidden setFirstItem(This,N) -> wxListBox:setFirstItem(This,N). %% @hidden @@ -158,7 +158,7 @@ insertItems(This,Items,Pos) -> wxListBox:insertItems(This,Items,Pos). getSelections(This) -> wxListBox:getSelections(This). %% @hidden deselect(This,N) -> wxListBox:deselect(This,N). - %% From wxControlWithItems + %% From wxControlWithItems %% @hidden setStringSelection(This,S) -> wxControlWithItems:setStringSelection(This,S). %% @hidden @@ -199,12 +199,12 @@ appendStrings(This,Strings) -> wxControlWithItems:appendStrings(This,Strings). append(This,Item,ClientData) -> wxControlWithItems:append(This,Item,ClientData). %% @hidden append(This,Item) -> wxControlWithItems:append(This,Item). - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -551,7 +551,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxChildFocusEvent.erl b/lib/wx/src/gen/wxChildFocusEvent.erl index 4abdb492e8..a20071cbf5 100644 --- a/lib/wx/src/gen/wxChildFocusEvent.erl +++ b/lib/wx/src/gen/wxChildFocusEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxCommandEvent} %% <br />{@link wxEvent} %% </p> @@ -52,7 +52,7 @@ getWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxChildFocusEvent_GetWindow, <<ThisRef:32/?UI>>). - %% From wxCommandEvent + %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). %% @hidden @@ -71,7 +71,7 @@ getInt(This) -> wxCommandEvent:getInt(This). getExtraLong(This) -> wxCommandEvent:getExtraLong(This). %% @hidden getClientData(This) -> wxCommandEvent:getClientData(This). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxChoice.erl b/lib/wx/src/gen/wxChoice.erl index 1626736b07..eaf2f0352f 100644 --- a/lib/wx/src/gen/wxChoice.erl +++ b/lib/wx/src/gen/wxChoice.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControlWithItems} %% <br />{@link wxControl} %% <br />{@link wxWindow} @@ -166,11 +166,11 @@ setColumns(#wx_ref{type=ThisT,ref=ThisRef}, Options) %% @spec (This::wxChoice()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxChoice), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControlWithItems + %% From wxControlWithItems %% @hidden setStringSelection(This,S) -> wxControlWithItems:setStringSelection(This,S). %% @hidden @@ -209,12 +209,12 @@ appendStrings(This,Strings) -> wxControlWithItems:appendStrings(This,Strings). append(This,Item,ClientData) -> wxControlWithItems:append(This,Item,ClientData). %% @hidden append(This,Item) -> wxControlWithItems:append(This,Item). - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -561,7 +561,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxChoicebook.erl b/lib/wx/src/gen/wxChoicebook.erl index b11a100bc7..b724d0cad2 100644 --- a/lib/wx/src/gen/wxChoicebook.erl +++ b/lib/wx/src/gen/wxChoicebook.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -329,16 +329,16 @@ changeSelection(#wx_ref{type=ThisT,ref=ThisRef},N) %% @spec (This::wxChoicebook()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxChoicebook), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -685,7 +685,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxClientDC.erl b/lib/wx/src/gen/wxClientDC.erl index 08ec69954c..c966fb50cc 100644 --- a/lib/wx/src/gen/wxClientDC.erl +++ b/lib/wx/src/gen/wxClientDC.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxWindowDC} %% <br />{@link wxDC} %% </p> @@ -73,12 +73,12 @@ new(#wx_ref{type=WinT,ref=WinRef}) -> %% @spec (This::wxClientDC()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxClientDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxWindowDC - %% From wxDC + %% From wxWindowDC + %% From wxDC %% @hidden startPage(This) -> wxDC:startPage(This). %% @hidden diff --git a/lib/wx/src/gen/wxClipboard.erl b/lib/wx/src/gen/wxClipboard.erl index 1c9f1f8b40..7ae27b3133 100644 --- a/lib/wx/src/gen/wxClipboard.erl +++ b/lib/wx/src/gen/wxClipboard.erl @@ -132,7 +132,7 @@ get() -> %% @spec (This::wxClipboard()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 6e3ac5fa70..706d7701de 100644 --- a/lib/wx/src/gen/wxCloseEvent.erl +++ b/lib/wx/src/gen/wxCloseEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxCloseEvent(). An object reference, The representation is internal @@ -89,7 +89,7 @@ veto(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxCloseEvent_Veto, <<ThisRef:32/?UI, 0:32,BinOpt/binary>>). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxColourData.erl b/lib/wx/src/gen/wxColourData.erl index 2b9ec830cb..dc77ea043c 100644 --- a/lib/wx/src/gen/wxColourData.erl +++ b/lib/wx/src/gen/wxColourData.erl @@ -94,7 +94,7 @@ setCustomColour(#wx_ref{type=ThisT,ref=ThisRef},I,Colour) %% @spec (This::wxColourData()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 89ee8ecb27..f5677d00ff 100644 --- a/lib/wx/src/gen/wxColourDialog.erl +++ b/lib/wx/src/gen/wxColourDialog.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxDialog} %% <br />{@link wxTopLevelWindow} %% <br />{@link wxWindow} @@ -136,11 +136,11 @@ getColourData(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxColourDialog()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxColourDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxDialog + %% From wxDialog %% @hidden showModal(This) -> wxDialog:showModal(This). %% @hidden @@ -163,7 +163,7 @@ endModal(This,RetCode) -> wxDialog:endModal(This,RetCode). createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags). %% @hidden createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags). - %% From wxTopLevelWindow + %% From wxTopLevelWindow %% @hidden showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options). %% @hidden @@ -210,7 +210,7 @@ getTitle(This) -> wxTopLevelWindow:getTitle(This). getIcons(This) -> wxTopLevelWindow:getIcons(This). %% @hidden getIcon(This) -> wxTopLevelWindow:getIcon(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -557,7 +557,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxColourPickerCtrl.erl b/lib/wx/src/gen/wxColourPickerCtrl.erl index 2bec462324..4f0816e1fd 100644 --- a/lib/wx/src/gen/wxColourPickerCtrl.erl +++ b/lib/wx/src/gen/wxColourPickerCtrl.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxPickerBase} %% <br />{@link wxControl} %% <br />{@link wxWindow} @@ -141,7 +141,7 @@ getColour(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% setColour(This::wxColourPickerCtrl(), Text::string()) -> bool() </c> %% </p> @@ -162,11 +162,11 @@ setColour(#wx_ref{type=ThisT,ref=ThisRef},Col) %% @spec (This::wxColourPickerCtrl()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxColourPickerCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxPickerBase + %% From wxPickerBase %% @hidden isPickerCtrlGrowable(This) -> wxPickerBase:isPickerCtrlGrowable(This). %% @hidden @@ -195,12 +195,12 @@ setTextCtrlProportion(This,Prop) -> wxPickerBase:setTextCtrlProportion(This,Prop getInternalMargin(This) -> wxPickerBase:getInternalMargin(This). %% @hidden setInternalMargin(This,Newmargin) -> wxPickerBase:setInternalMargin(This,Newmargin). - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -547,7 +547,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxColourPickerEvent.erl b/lib/wx/src/gen/wxColourPickerEvent.erl index f35d2727a5..9ba431b841 100644 --- a/lib/wx/src/gen/wxColourPickerEvent.erl +++ b/lib/wx/src/gen/wxColourPickerEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxCommandEvent} %% <br />{@link wxEvent} %% </p> @@ -52,7 +52,7 @@ getColour(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxColourPickerEvent_GetColour, <<ThisRef:32/?UI>>). - %% From wxCommandEvent + %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). %% @hidden @@ -71,7 +71,7 @@ getInt(This) -> wxCommandEvent:getInt(This). getExtraLong(This) -> wxCommandEvent:getExtraLong(This). %% @hidden getClientData(This) -> wxCommandEvent:getClientData(This). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxComboBox.erl b/lib/wx/src/gen/wxComboBox.erl index 55983a4108..061e886734 100644 --- a/lib/wx/src/gen/wxComboBox.erl +++ b/lib/wx/src/gen/wxComboBox.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControlWithItems} %% <br />{@link wxControl} %% <br />{@link wxWindow} @@ -285,11 +285,11 @@ undo(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxComboBox()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxComboBox), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControlWithItems + %% From wxControlWithItems %% @hidden setStringSelection(This,S) -> wxControlWithItems:setStringSelection(This,S). %% @hidden @@ -328,12 +328,12 @@ appendStrings(This,Strings) -> wxControlWithItems:appendStrings(This,Strings). append(This,Item,ClientData) -> wxControlWithItems:append(This,Item,ClientData). %% @hidden append(This,Item) -> wxControlWithItems:append(This,Item). - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -680,7 +680,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxCommandEvent.erl b/lib/wx/src/gen/wxCommandEvent.erl index 925a26f2c9..57fb9cecda 100644 --- a/lib/wx/src/gen/wxCommandEvent.erl +++ b/lib/wx/src/gen/wxCommandEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxCommandEvent(). An object reference, The representation is internal @@ -108,7 +108,7 @@ setString(#wx_ref{type=ThisT,ref=ThisRef},S) 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 + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxContextMenuEvent.erl b/lib/wx/src/gen/wxContextMenuEvent.erl index ea3e4ff0d5..56ed82f37c 100644 --- a/lib/wx/src/gen/wxContextMenuEvent.erl +++ b/lib/wx/src/gen/wxContextMenuEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxCommandEvent} %% <br />{@link wxEvent} %% </p> @@ -60,7 +60,7 @@ setPosition(#wx_ref{type=ThisT,ref=ThisRef},{PosX,PosY}) wxe_util:cast(?wxContextMenuEvent_SetPosition, <<ThisRef:32/?UI,PosX:32/?UI,PosY:32/?UI>>). - %% From wxCommandEvent + %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). %% @hidden @@ -79,7 +79,7 @@ getInt(This) -> wxCommandEvent:getInt(This). getExtraLong(This) -> wxCommandEvent:getExtraLong(This). %% @hidden getClientData(This) -> wxCommandEvent:getClientData(This). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxControl.erl b/lib/wx/src/gen/wxControl.erl index c612b2514a..e3f602e65a 100644 --- a/lib/wx/src/gen/wxControl.erl +++ b/lib/wx/src/gen/wxControl.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} %% </p> @@ -89,7 +89,7 @@ setLabel(#wx_ref{type=ThisT,ref=ThisRef},Label) 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 + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -436,7 +436,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxControlWithItems.erl b/lib/wx/src/gen/wxControlWithItems.erl index cb98949f7e..0838b75bad 100644 --- a/lib/wx/src/gen/wxControlWithItems.erl +++ b/lib/wx/src/gen/wxControlWithItems.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -247,12 +247,12 @@ setStringSelection(#wx_ref{type=ThisT,ref=ThisRef},S) 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 + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -599,7 +599,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxCursor.erl b/lib/wx/src/gen/wxCursor.erl index 283fb0c80c..beb731fee3 100644 --- a/lib/wx/src/gen/wxCursor.erl +++ b/lib/wx/src/gen/wxCursor.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxBitmap} %% </p> %% @type wxCursor(). An object reference, The representation is internal @@ -46,7 +46,7 @@ new() -> %% @spec (X::integer()|term()) -> wxCursor() %% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcursor.html#wxcursorwxcursor">external documentation</a>. -%% <br /> Alternatives: +%% <br /> Alternatives: %% <p><c> %% new(CursorId::integer()) -> wxCursor() </c> %% </p> @@ -90,11 +90,11 @@ ok(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxCursor()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxCursor), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxBitmap + %% From wxBitmap %% @hidden setWidth(This,Width) -> wxBitmap:setWidth(This,Width). %% @hidden diff --git a/lib/wx/src/gen/wxDC.erl b/lib/wx/src/gen/wxDC.erl index b87cbb1c5c..9bce1249f8 100644 --- a/lib/wx/src/gen/wxDC.erl +++ b/lib/wx/src/gen/wxDC.erl @@ -705,7 +705,7 @@ setBrush(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BrushT,ref=BrushRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% setClippingRegion(This::wxDC(), Region::wxRegion:wxRegion()) -> ok </c> %% </p> diff --git a/lib/wx/src/gen/wxDateEvent.erl b/lib/wx/src/gen/wxDateEvent.erl index ca500982e9..b4b010e122 100644 --- a/lib/wx/src/gen/wxDateEvent.erl +++ b/lib/wx/src/gen/wxDateEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxCommandEvent} %% <br />{@link wxEvent} %% </p> @@ -52,7 +52,7 @@ getDate(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxDateEvent_GetDate, <<ThisRef:32/?UI>>). - %% From wxCommandEvent + %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). %% @hidden @@ -71,7 +71,7 @@ getInt(This) -> wxCommandEvent:getInt(This). getExtraLong(This) -> wxCommandEvent:getExtraLong(This). %% @hidden getClientData(This) -> wxCommandEvent:getClientData(This). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxDatePickerCtrl.erl b/lib/wx/src/gen/wxDatePickerCtrl.erl index 92d58213f8..2de51ce71d 100644 --- a/lib/wx/src/gen/wxDatePickerCtrl.erl +++ b/lib/wx/src/gen/wxDatePickerCtrl.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxPickerBase} %% <br />{@link wxControl} %% <br />{@link wxWindow} @@ -142,11 +142,11 @@ setValue(#wx_ref{type=ThisT,ref=ThisRef},Date) %% @spec (This::wxDatePickerCtrl()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxDatePickerCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxPickerBase + %% From wxPickerBase %% @hidden isPickerCtrlGrowable(This) -> wxPickerBase:isPickerCtrlGrowable(This). %% @hidden @@ -175,12 +175,12 @@ setTextCtrlProportion(This,Prop) -> wxPickerBase:setTextCtrlProportion(This,Prop getInternalMargin(This) -> wxPickerBase:getInternalMargin(This). %% @hidden setInternalMargin(This,Newmargin) -> wxPickerBase:setInternalMargin(This,Newmargin). - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -527,7 +527,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxDialog.erl b/lib/wx/src/gen/wxDialog.erl index d88af2acd1..8c0bd2cd76 100644 --- a/lib/wx/src/gen/wxDialog.erl +++ b/lib/wx/src/gen/wxDialog.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxTopLevelWindow} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -219,11 +219,11 @@ showModal(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxDialog()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxTopLevelWindow + %% From wxTopLevelWindow %% @hidden showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options). %% @hidden @@ -270,7 +270,7 @@ getTitle(This) -> wxTopLevelWindow:getTitle(This). getIcons(This) -> wxTopLevelWindow:getIcons(This). %% @hidden getIcon(This) -> wxTopLevelWindow:getIcon(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -617,7 +617,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxDirDialog.erl b/lib/wx/src/gen/wxDirDialog.erl index 01d71049b5..7849dce0a7 100644 --- a/lib/wx/src/gen/wxDirDialog.erl +++ b/lib/wx/src/gen/wxDirDialog.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxDialog} %% <br />{@link wxTopLevelWindow} %% <br />{@link wxWindow} @@ -140,11 +140,11 @@ setPath(#wx_ref{type=ThisT,ref=ThisRef},Path) %% @spec (This::wxDirDialog()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxDirDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxDialog + %% From wxDialog %% @hidden showModal(This) -> wxDialog:showModal(This). %% @hidden @@ -167,7 +167,7 @@ endModal(This,RetCode) -> wxDialog:endModal(This,RetCode). createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags). %% @hidden createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags). - %% From wxTopLevelWindow + %% From wxTopLevelWindow %% @hidden showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options). %% @hidden @@ -214,7 +214,7 @@ getTitle(This) -> wxTopLevelWindow:getTitle(This). getIcons(This) -> wxTopLevelWindow:getIcons(This). %% @hidden getIcon(This) -> wxTopLevelWindow:getIcon(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -561,7 +561,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxDirPickerCtrl.erl b/lib/wx/src/gen/wxDirPickerCtrl.erl index 5f131b51a7..7fb70b71e3 100644 --- a/lib/wx/src/gen/wxDirPickerCtrl.erl +++ b/lib/wx/src/gen/wxDirPickerCtrl.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxPickerBase} %% <br />{@link wxControl} %% <br />{@link wxWindow} @@ -152,11 +152,11 @@ setPath(#wx_ref{type=ThisT,ref=ThisRef},Str) %% @spec (This::wxDirPickerCtrl()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxDirPickerCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxPickerBase + %% From wxPickerBase %% @hidden isPickerCtrlGrowable(This) -> wxPickerBase:isPickerCtrlGrowable(This). %% @hidden @@ -185,12 +185,12 @@ setTextCtrlProportion(This,Prop) -> wxPickerBase:setTextCtrlProportion(This,Prop getInternalMargin(This) -> wxPickerBase:getInternalMargin(This). %% @hidden setInternalMargin(This,Newmargin) -> wxPickerBase:setInternalMargin(This,Newmargin). - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -537,7 +537,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxDisplayChangedEvent.erl b/lib/wx/src/gen/wxDisplayChangedEvent.erl index 29b5fb67d6..c86ef62462 100644 --- a/lib/wx/src/gen/wxDisplayChangedEvent.erl +++ b/lib/wx/src/gen/wxDisplayChangedEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxDisplayChangedEvent(). An object reference, The representation is internal @@ -41,7 +41,7 @@ parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxEraseEvent.erl b/lib/wx/src/gen/wxEraseEvent.erl index 7d1d52dfb1..77139b6790 100644 --- a/lib/wx/src/gen/wxEraseEvent.erl +++ b/lib/wx/src/gen/wxEraseEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxEraseEvent(). An object reference, The representation is internal @@ -48,7 +48,7 @@ getDC(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxEraseEvent_GetDC, <<ThisRef:32/?UI>>). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxFileDataObject.erl b/lib/wx/src/gen/wxFileDataObject.erl index 09fd5ea832..2fcfbd5374 100644 --- a/lib/wx/src/gen/wxFileDataObject.erl +++ b/lib/wx/src/gen/wxFileDataObject.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxDataObject} %% </p> %% @type wxFileDataObject(). An object reference, The representation is internal @@ -60,8 +60,8 @@ getFilenames(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxFileDataObject()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFileDataObject), wxe_util:destroy(?wxFileDataObject_destroy,Obj), ok. - %% From wxDataObject + %% From wxDataObject diff --git a/lib/wx/src/gen/wxFileDialog.erl b/lib/wx/src/gen/wxFileDialog.erl index 7bffdee19e..cba9705335 100644 --- a/lib/wx/src/gen/wxFileDialog.erl +++ b/lib/wx/src/gen/wxFileDialog.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxDialog} %% <br />{@link wxTopLevelWindow} %% <br />{@link wxWindow} @@ -221,11 +221,11 @@ setWildcard(#wx_ref{type=ThisT,ref=ThisRef},WildCard) %% @spec (This::wxFileDialog()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFileDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxDialog + %% From wxDialog %% @hidden showModal(This) -> wxDialog:showModal(This). %% @hidden @@ -248,7 +248,7 @@ endModal(This,RetCode) -> wxDialog:endModal(This,RetCode). createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags). %% @hidden createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags). - %% From wxTopLevelWindow + %% From wxTopLevelWindow %% @hidden showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options). %% @hidden @@ -295,7 +295,7 @@ getTitle(This) -> wxTopLevelWindow:getTitle(This). getIcons(This) -> wxTopLevelWindow:getIcons(This). %% @hidden getIcon(This) -> wxTopLevelWindow:getIcon(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -642,7 +642,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxFileDirPickerEvent.erl b/lib/wx/src/gen/wxFileDirPickerEvent.erl index dfa2592d9e..cc4880b88c 100644 --- a/lib/wx/src/gen/wxFileDirPickerEvent.erl +++ b/lib/wx/src/gen/wxFileDirPickerEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxCommandEvent} %% <br />{@link wxEvent} %% </p> @@ -52,7 +52,7 @@ getPath(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxFileDirPickerEvent_GetPath, <<ThisRef:32/?UI>>). - %% From wxCommandEvent + %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). %% @hidden @@ -71,7 +71,7 @@ getInt(This) -> wxCommandEvent:getInt(This). getExtraLong(This) -> wxCommandEvent:getExtraLong(This). %% @hidden getClientData(This) -> wxCommandEvent:getClientData(This). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxFilePickerCtrl.erl b/lib/wx/src/gen/wxFilePickerCtrl.erl index a8dc861efb..a3034aaa86 100644 --- a/lib/wx/src/gen/wxFilePickerCtrl.erl +++ b/lib/wx/src/gen/wxFilePickerCtrl.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxPickerBase} %% <br />{@link wxControl} %% <br />{@link wxWindow} @@ -154,11 +154,11 @@ setPath(#wx_ref{type=ThisT,ref=ThisRef},Str) %% @spec (This::wxFilePickerCtrl()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFilePickerCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxPickerBase + %% From wxPickerBase %% @hidden isPickerCtrlGrowable(This) -> wxPickerBase:isPickerCtrlGrowable(This). %% @hidden @@ -187,12 +187,12 @@ setTextCtrlProportion(This,Prop) -> wxPickerBase:setTextCtrlProportion(This,Prop getInternalMargin(This) -> wxPickerBase:getInternalMargin(This). %% @hidden setInternalMargin(This,Newmargin) -> wxPickerBase:setInternalMargin(This,Newmargin). - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -539,7 +539,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxFindReplaceData.erl b/lib/wx/src/gen/wxFindReplaceData.erl index cf7551cab5..52eafa8398 100644 --- a/lib/wx/src/gen/wxFindReplaceData.erl +++ b/lib/wx/src/gen/wxFindReplaceData.erl @@ -95,7 +95,7 @@ setReplaceString(#wx_ref{type=ThisT,ref=ThisRef},Str) %% @spec (This::wxFindReplaceData()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 091babcc31..b37fd41831 100644 --- a/lib/wx/src/gen/wxFindReplaceDialog.erl +++ b/lib/wx/src/gen/wxFindReplaceDialog.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxDialog} %% <br />{@link wxTopLevelWindow} %% <br />{@link wxWindow} @@ -140,11 +140,11 @@ getData(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxFindReplaceDialog()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFindReplaceDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxDialog + %% From wxDialog %% @hidden showModal(This) -> wxDialog:showModal(This). %% @hidden @@ -167,7 +167,7 @@ endModal(This,RetCode) -> wxDialog:endModal(This,RetCode). createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags). %% @hidden createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags). - %% From wxTopLevelWindow + %% From wxTopLevelWindow %% @hidden showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options). %% @hidden @@ -214,7 +214,7 @@ getTitle(This) -> wxTopLevelWindow:getTitle(This). getIcons(This) -> wxTopLevelWindow:getIcons(This). %% @hidden getIcon(This) -> wxTopLevelWindow:getIcon(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -561,7 +561,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxFlexGridSizer.erl b/lib/wx/src/gen/wxFlexGridSizer.erl index a862cdd788..9471cc8a01 100644 --- a/lib/wx/src/gen/wxFlexGridSizer.erl +++ b/lib/wx/src/gen/wxFlexGridSizer.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxGridSizer} %% <br />{@link wxSizer} %% </p> @@ -163,11 +163,11 @@ setNonFlexibleGrowMode(#wx_ref{type=ThisT,ref=ThisRef},Mode) %% @spec (This::wxFlexGridSizer()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFlexGridSizer), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxGridSizer + %% From wxGridSizer %% @hidden setVGap(This,Gap) -> wxGridSizer:setVGap(This,Gap). %% @hidden @@ -184,7 +184,7 @@ getRows(This) -> wxGridSizer:getRows(This). getHGap(This) -> wxGridSizer:getHGap(This). %% @hidden getCols(This) -> wxGridSizer:getCols(This). - %% From wxSizer + %% From wxSizer %% @hidden show(This,Index, Options) -> wxSizer:show(This,Index, Options). %% @hidden diff --git a/lib/wx/src/gen/wxFocusEvent.erl b/lib/wx/src/gen/wxFocusEvent.erl index 4fb0432927..46f2e2a3df 100644 --- a/lib/wx/src/gen/wxFocusEvent.erl +++ b/lib/wx/src/gen/wxFocusEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxFocusEvent(). An object reference, The representation is internal @@ -48,7 +48,7 @@ getWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxFocusEvent_GetWindow, <<ThisRef:32/?UI>>). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxFont.erl b/lib/wx/src/gen/wxFont.erl index 3158429763..4afc53cfa8 100644 --- a/lib/wx/src/gen/wxFont.erl +++ b/lib/wx/src/gen/wxFont.erl @@ -221,7 +221,7 @@ setWeight(#wx_ref{type=ThisT,ref=ThisRef},Weight) %% @spec (This::wxFont()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 5fc27c14d6..33015b7ca9 100644 --- a/lib/wx/src/gen/wxFontData.erl +++ b/lib/wx/src/gen/wxFontData.erl @@ -147,7 +147,7 @@ setShowHelp(#wx_ref{type=ThisT,ref=ThisRef},Flag) %% @spec (This::wxFontData()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index b04fef436b..357bfe532d 100644 --- a/lib/wx/src/gen/wxFontDialog.erl +++ b/lib/wx/src/gen/wxFontDialog.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxDialog} %% <br />{@link wxTopLevelWindow} %% <br />{@link wxWindow} @@ -116,11 +116,11 @@ getFontData(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxFontDialog()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFontDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxDialog + %% From wxDialog %% @hidden showModal(This) -> wxDialog:showModal(This). %% @hidden @@ -143,7 +143,7 @@ endModal(This,RetCode) -> wxDialog:endModal(This,RetCode). createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags). %% @hidden createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags). - %% From wxTopLevelWindow + %% From wxTopLevelWindow %% @hidden showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options). %% @hidden @@ -190,7 +190,7 @@ getTitle(This) -> wxTopLevelWindow:getTitle(This). getIcons(This) -> wxTopLevelWindow:getIcons(This). %% @hidden getIcon(This) -> wxTopLevelWindow:getIcon(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -537,7 +537,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxFontPickerCtrl.erl b/lib/wx/src/gen/wxFontPickerCtrl.erl index 83e25f9789..93d63cc930 100644 --- a/lib/wx/src/gen/wxFontPickerCtrl.erl +++ b/lib/wx/src/gen/wxFontPickerCtrl.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxPickerBase} %% <br />{@link wxControl} %% <br />{@link wxWindow} @@ -165,11 +165,11 @@ setMaxPointSize(#wx_ref{type=ThisT,ref=ThisRef},Max) %% @spec (This::wxFontPickerCtrl()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFontPickerCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxPickerBase + %% From wxPickerBase %% @hidden isPickerCtrlGrowable(This) -> wxPickerBase:isPickerCtrlGrowable(This). %% @hidden @@ -198,12 +198,12 @@ setTextCtrlProportion(This,Prop) -> wxPickerBase:setTextCtrlProportion(This,Prop getInternalMargin(This) -> wxPickerBase:getInternalMargin(This). %% @hidden setInternalMargin(This,Newmargin) -> wxPickerBase:setInternalMargin(This,Newmargin). - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -550,7 +550,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxFontPickerEvent.erl b/lib/wx/src/gen/wxFontPickerEvent.erl index 28dc4308bd..6eb456767f 100644 --- a/lib/wx/src/gen/wxFontPickerEvent.erl +++ b/lib/wx/src/gen/wxFontPickerEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxCommandEvent} %% <br />{@link wxEvent} %% </p> @@ -52,7 +52,7 @@ getFont(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxFontPickerEvent_GetFont, <<ThisRef:32/?UI>>). - %% From wxCommandEvent + %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). %% @hidden @@ -71,7 +71,7 @@ getInt(This) -> wxCommandEvent:getInt(This). getExtraLong(This) -> wxCommandEvent:getExtraLong(This). %% @hidden getClientData(This) -> wxCommandEvent:getClientData(This). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxFrame.erl b/lib/wx/src/gen/wxFrame.erl index 934e562ee7..5cd1e3dfd3 100644 --- a/lib/wx/src/gen/wxFrame.erl +++ b/lib/wx/src/gen/wxFrame.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxTopLevelWindow} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -284,11 +284,11 @@ setToolBar(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ToolbarT,ref=ToolbarRef} %% @spec (This::wxFrame()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFrame), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxTopLevelWindow + %% From wxTopLevelWindow %% @hidden showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options). %% @hidden @@ -335,7 +335,7 @@ getTitle(This) -> wxTopLevelWindow:getTitle(This). getIcons(This) -> wxTopLevelWindow:getIcons(This). %% @hidden getIcon(This) -> wxTopLevelWindow:getIcon(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -686,7 +686,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxGBSizerItem.erl b/lib/wx/src/gen/wxGBSizerItem.erl index 43909138b8..90dd98fdf2 100644 --- a/lib/wx/src/gen/wxGBSizerItem.erl +++ b/lib/wx/src/gen/wxGBSizerItem.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxSizerItem} %% </p> %% @type wxGBSizerItem(). An object reference, The representation is internal @@ -41,7 +41,7 @@ parent_class(wxSizerItem) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). - %% From wxSizerItem + %% From wxSizerItem %% @hidden show(This,Show) -> wxSizerItem:show(This,Show). %% @hidden diff --git a/lib/wx/src/gen/wxGLCanvas.erl b/lib/wx/src/gen/wxGLCanvas.erl index 927b7eeb05..3e0d1bd9ae 100644 --- a/lib/wx/src/gen/wxGLCanvas.erl +++ b/lib/wx/src/gen/wxGLCanvas.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} %% </p> @@ -81,7 +81,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% new(Parent::wxWindow:wxWindow(), Shared::wxGLContext:wxGLContext() | wxGLCanvas()) -> new(Parent,Shared, []) </c></p> %% <p><c> @@ -156,11 +156,11 @@ swapBuffers(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxGLCanvas()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGLCanvas), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -511,7 +511,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxGauge.erl b/lib/wx/src/gen/wxGauge.erl index 559daea3d4..5028b29bba 100644 --- a/lib/wx/src/gen/wxGauge.erl +++ b/lib/wx/src/gen/wxGauge.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -202,16 +202,16 @@ pulse(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxGauge()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGauge), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -558,7 +558,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxGenericDirCtrl.erl b/lib/wx/src/gen/wxGenericDirCtrl.erl index c6d54eda70..97944710f0 100644 --- a/lib/wx/src/gen/wxGenericDirCtrl.erl +++ b/lib/wx/src/gen/wxGenericDirCtrl.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2009. All Rights Reserved. +%% Copyright Ericsson AB 2008-2010. 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 @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -249,16 +249,16 @@ setPath(#wx_ref{type=ThisT,ref=ThisRef},Path) %% @spec (This::wxGenericDirCtrl()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGenericDirCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -605,7 +605,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxGraphicsBrush.erl b/lib/wx/src/gen/wxGraphicsBrush.erl index 99fd7f1ac8..e1ad01567d 100644 --- a/lib/wx/src/gen/wxGraphicsBrush.erl +++ b/lib/wx/src/gen/wxGraphicsBrush.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxGraphicsObject} %% </p> %% @type wxGraphicsBrush(). An object reference, The representation is internal @@ -36,7 +36,7 @@ parent_class(wxGraphicsObject) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). - %% From wxGraphicsObject + %% From wxGraphicsObject %% @hidden isNull(This) -> wxGraphicsObject:isNull(This). %% @hidden diff --git a/lib/wx/src/gen/wxGraphicsContext.erl b/lib/wx/src/gen/wxGraphicsContext.erl index 4ca9ad25c4..040867cb11 100644 --- a/lib/wx/src/gen/wxGraphicsContext.erl +++ b/lib/wx/src/gen/wxGraphicsContext.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxGraphicsObject} %% </p> %% @type wxGraphicsContext(). An object reference, The representation is internal @@ -256,7 +256,7 @@ drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y) %% @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: +%% <br /> Alternatives: %% <p><c> %% drawText(This::wxGraphicsContext(), Str::string(), X::float(), Y::float(), Angle::float()) -> ok </c> %% </p> @@ -454,7 +454,7 @@ strokeLines(#wx_ref{type=ThisT,ref=ThisRef},N,{BeginPointsX,BeginPointsY},{EndPo 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 + %% From wxGraphicsObject %% @hidden isNull(This) -> wxGraphicsObject:isNull(This). %% @hidden diff --git a/lib/wx/src/gen/wxGraphicsFont.erl b/lib/wx/src/gen/wxGraphicsFont.erl index 423bc15f8b..19b2172176 100644 --- a/lib/wx/src/gen/wxGraphicsFont.erl +++ b/lib/wx/src/gen/wxGraphicsFont.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxGraphicsObject} %% </p> %% @type wxGraphicsFont(). An object reference, The representation is internal @@ -36,7 +36,7 @@ parent_class(wxGraphicsObject) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). - %% From wxGraphicsObject + %% From wxGraphicsObject %% @hidden isNull(This) -> wxGraphicsObject:isNull(This). %% @hidden diff --git a/lib/wx/src/gen/wxGraphicsMatrix.erl b/lib/wx/src/gen/wxGraphicsMatrix.erl index ed6de90267..38ea007c58 100644 --- a/lib/wx/src/gen/wxGraphicsMatrix.erl +++ b/lib/wx/src/gen/wxGraphicsMatrix.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxGraphicsObject} %% </p> %% @type wxGraphicsMatrix(). An object reference, The representation is internal @@ -142,7 +142,7 @@ transformDistance(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxGraphicsMatrix_TransformDistance, <<ThisRef:32/?UI>>). - %% From wxGraphicsObject + %% From wxGraphicsObject %% @hidden isNull(This) -> wxGraphicsObject:isNull(This). %% @hidden diff --git a/lib/wx/src/gen/wxGraphicsPath.erl b/lib/wx/src/gen/wxGraphicsPath.erl index c3adc3581d..ff2dfb07a4 100644 --- a/lib/wx/src/gen/wxGraphicsPath.erl +++ b/lib/wx/src/gen/wxGraphicsPath.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxGraphicsObject} %% </p> %% @type wxGraphicsPath(). An object reference, The representation is internal @@ -175,7 +175,7 @@ contains(This,C={CX,CY}) %% @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: +%% <br /> Alternatives: %% <p><c> %% contains(This::wxGraphicsPath(), X::float(), Y::float()) -> contains(This,X,Y, []) </c></p> %% <p><c> @@ -229,7 +229,7 @@ transform(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MatrixT,ref=MatrixRef}) - wxe_util:cast(?wxGraphicsPath_Transform, <<ThisRef:32/?UI,MatrixRef:32/?UI>>). - %% From wxGraphicsObject + %% From wxGraphicsObject %% @hidden isNull(This) -> wxGraphicsObject:isNull(This). %% @hidden diff --git a/lib/wx/src/gen/wxGraphicsPen.erl b/lib/wx/src/gen/wxGraphicsPen.erl index ee15519d6d..395b05f8af 100644 --- a/lib/wx/src/gen/wxGraphicsPen.erl +++ b/lib/wx/src/gen/wxGraphicsPen.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxGraphicsObject} %% </p> %% @type wxGraphicsPen(). An object reference, The representation is internal @@ -36,7 +36,7 @@ parent_class(wxGraphicsObject) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). - %% From wxGraphicsObject + %% From wxGraphicsObject %% @hidden isNull(This) -> wxGraphicsObject:isNull(This). %% @hidden diff --git a/lib/wx/src/gen/wxGrid.erl b/lib/wx/src/gen/wxGrid.erl index 84ca181ce1..7b62ec33a4 100644 --- a/lib/wx/src/gen/wxGrid.erl +++ b/lib/wx/src/gen/wxGrid.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxScrolledWindow} %% <br />{@link wxPanel} %% <br />{@link wxWindow} @@ -146,7 +146,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% new(Parent::wxWindow:wxWindow(), X::integer(), Y::integer()) -> new(Parent,X,Y, []) </c></p> %% <p><c> @@ -1104,7 +1104,7 @@ isVisible(This,Coords={CoordsR,CoordsC}) %% @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: +%% <br /> Alternatives: %% <p><c> %% isVisible(This::wxGrid(), Row::integer(), Col::integer()) -> isVisible(This,Row,Col, []) </c></p> %% <p><c> @@ -1361,7 +1361,7 @@ setCellBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Col) %% @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: +%% <br /> Alternatives: %% <p><c> %% setCellBackgroundColour(This::wxGrid(), Row::integer(), Col::integer(), Val::wx:colour()) -> ok </c> %% </p> @@ -1416,7 +1416,7 @@ setCellTextColour(#wx_ref{type=ThisT,ref=ThisRef},Col) %% @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: +%% <br /> Alternatives: %% <p><c> %% setCellTextColour(This::wxGrid(), Row::integer(), Col::integer(), Val::wx:colour()) -> ok </c> %% </p> @@ -1445,7 +1445,7 @@ setCellValue(#wx_ref{type=ThisT,ref=ThisRef},{CoordsR,CoordsC},S) %% @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: +%% <br /> Alternatives: %% <p><c> %% setCellValue(This::wxGrid(), Row::integer(), Col::integer(), S::string()) -> ok </c> %% </p> @@ -1868,11 +1868,11 @@ yToRow(#wx_ref{type=ThisT,ref=ThisRef},Y) %% @spec (This::wxGrid()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGrid), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxScrolledWindow + %% From wxScrolledWindow %% @hidden setTargetWindow(This,Target) -> wxScrolledWindow:setTargetWindow(This,Target). %% @hidden @@ -1901,10 +1901,10 @@ calcUnscrolledPosition(This,Pt) -> wxScrolledWindow:calcUnscrolledPosition(This, calcScrolledPosition(This,X,Y) -> wxScrolledWindow:calcScrolledPosition(This,X,Y). %% @hidden calcScrolledPosition(This,Pt) -> wxScrolledWindow:calcScrolledPosition(This,Pt). - %% From wxPanel + %% From wxPanel %% @hidden initDialog(This) -> wxPanel:initDialog(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -2251,7 +2251,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxGridBagSizer.erl b/lib/wx/src/gen/wxGridBagSizer.erl index 716024bcbc..d8cc210d3b 100644 --- a/lib/wx/src/gen/wxGridBagSizer.erl +++ b/lib/wx/src/gen/wxGridBagSizer.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxFlexGridSizer} %% <br />{@link wxGridSizer} %% <br />{@link wxSizer} @@ -86,7 +86,7 @@ add(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% add(This::wxGridBagSizer(), Width::integer(), Height::integer()) -> add(This,Width,Height, []) </c></p> %% <p><c> @@ -123,7 +123,7 @@ add(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}, Options %% @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: +%% <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> @@ -197,7 +197,7 @@ 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: +%% <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> @@ -284,7 +284,7 @@ getEmptyCellSize(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% getItemPosition(This::wxGridBagSizer(), Index::integer()) -> {R::integer(),C::integer()} </c> %% </p> @@ -309,7 +309,7 @@ getItemPosition(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowR %% @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: +%% <br /> Alternatives: %% <p><c> %% getItemSpan(This::wxGridBagSizer(), Index::integer()) -> {RS::integer(),CS::integer()} </c> %% </p> @@ -342,7 +342,7 @@ setEmptyCellSize(#wx_ref{type=ThisT,ref=ThisRef},{SzW,SzH}) %% @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: +%% <br /> Alternatives: %% <p><c> %% setItemPosition(This::wxGridBagSizer(), Index::integer(), Pos::{R::integer(),C::integer()}) -> bool() </c> %% </p> @@ -368,7 +368,7 @@ setItemPosition(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowR %% @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: +%% <br /> Alternatives: %% <p><c> %% setItemSpan(This::wxGridBagSizer(), Index::integer(), Span::{RS::integer(),CS::integer()}) -> bool() </c> %% </p> @@ -394,11 +394,11 @@ setItemSpan(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}, %% @spec (This::wxGridBagSizer()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridBagSizer), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxFlexGridSizer + %% From wxFlexGridSizer %% @hidden setNonFlexibleGrowMode(This,Mode) -> wxFlexGridSizer:setNonFlexibleGrowMode(This,Mode). %% @hidden @@ -419,7 +419,7 @@ addGrowableRow(This,Idx) -> wxFlexGridSizer:addGrowableRow(This,Idx). addGrowableCol(This,Idx, Options) -> wxFlexGridSizer:addGrowableCol(This,Idx, Options). %% @hidden addGrowableCol(This,Idx) -> wxFlexGridSizer:addGrowableCol(This,Idx). - %% From wxGridSizer + %% From wxGridSizer %% @hidden setVGap(This,Gap) -> wxGridSizer:setVGap(This,Gap). %% @hidden @@ -436,7 +436,7 @@ getRows(This) -> wxGridSizer:getRows(This). getHGap(This) -> wxGridSizer:getHGap(This). %% @hidden getCols(This) -> wxGridSizer:getCols(This). - %% From wxSizer + %% From wxSizer %% @hidden show(This,Index, Options) -> wxSizer:show(This,Index, Options). %% @hidden diff --git a/lib/wx/src/gen/wxGridCellBoolEditor.erl b/lib/wx/src/gen/wxGridCellBoolEditor.erl index 13084b3590..a54cfe5eab 100644 --- a/lib/wx/src/gen/wxGridCellBoolEditor.erl +++ b/lib/wx/src/gen/wxGridCellBoolEditor.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxGridCellEditor} %% </p> %% @type wxGridCellBoolEditor(). An object reference, The representation is internal @@ -70,11 +70,11 @@ useStringValues(Options) %% @spec (This::wxGridCellBoolEditor()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellBoolEditor), wxe_util:destroy(?wxGridCellBoolEditor_destroy,Obj), ok. - %% From wxGridCellEditor + %% From wxGridCellEditor %% @hidden handleReturn(This,Event) -> wxGridCellEditor:handleReturn(This,Event). %% @hidden diff --git a/lib/wx/src/gen/wxGridCellBoolRenderer.erl b/lib/wx/src/gen/wxGridCellBoolRenderer.erl index 8cfdd9d02e..a98091f62c 100644 --- a/lib/wx/src/gen/wxGridCellBoolRenderer.erl +++ b/lib/wx/src/gen/wxGridCellBoolRenderer.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxGridCellRenderer} %% </p> %% @type wxGridCellBoolRenderer(). An object reference, The representation is internal @@ -44,11 +44,11 @@ new() -> %% @spec (This::wxGridCellBoolRenderer()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellBoolRenderer), wxe_util:destroy(?wxGridCellBoolRenderer_destroy,Obj), ok. - %% From wxGridCellRenderer + %% From wxGridCellRenderer %% @hidden getBestSize(This,Grid,Attr,Dc,Row,Col) -> wxGridCellRenderer:getBestSize(This,Grid,Attr,Dc,Row,Col). %% @hidden diff --git a/lib/wx/src/gen/wxGridCellChoiceEditor.erl b/lib/wx/src/gen/wxGridCellChoiceEditor.erl index ebadc1888b..1adee550f8 100644 --- a/lib/wx/src/gen/wxGridCellChoiceEditor.erl +++ b/lib/wx/src/gen/wxGridCellChoiceEditor.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxGridCellEditor} %% </p> %% @type wxGridCellChoiceEditor(). An object reference, The representation is internal @@ -67,11 +67,11 @@ setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) %% @spec (This::wxGridCellChoiceEditor()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellChoiceEditor), wxe_util:destroy(?wxGridCellChoiceEditor_destroy,Obj), ok. - %% From wxGridCellEditor + %% From wxGridCellEditor %% @hidden handleReturn(This,Event) -> wxGridCellEditor:handleReturn(This,Event). %% @hidden diff --git a/lib/wx/src/gen/wxGridCellFloatEditor.erl b/lib/wx/src/gen/wxGridCellFloatEditor.erl index 104602b137..3caad74f0e 100644 --- a/lib/wx/src/gen/wxGridCellFloatEditor.erl +++ b/lib/wx/src/gen/wxGridCellFloatEditor.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxGridCellEditor} %% </p> %% @type wxGridCellFloatEditor(). An object reference, The representation is internal @@ -65,11 +65,11 @@ setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) %% @spec (This::wxGridCellFloatEditor()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellFloatEditor), wxe_util:destroy(?wxGridCellFloatEditor_destroy,Obj), ok. - %% From wxGridCellEditor + %% From wxGridCellEditor %% @hidden handleReturn(This,Event) -> wxGridCellEditor:handleReturn(This,Event). %% @hidden diff --git a/lib/wx/src/gen/wxGridCellFloatRenderer.erl b/lib/wx/src/gen/wxGridCellFloatRenderer.erl index 000cbcf4a7..84ffd21b37 100644 --- a/lib/wx/src/gen/wxGridCellFloatRenderer.erl +++ b/lib/wx/src/gen/wxGridCellFloatRenderer.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxGridCellStringRenderer} %% <br />{@link wxGridCellRenderer} %% </p> @@ -97,12 +97,12 @@ setWidth(#wx_ref{type=ThisT,ref=ThisRef},Width) %% @spec (This::wxGridCellFloatRenderer()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellFloatRenderer), wxe_util:destroy(?wxGridCellFloatRenderer_destroy,Obj), ok. - %% From wxGridCellStringRenderer - %% From wxGridCellRenderer + %% From wxGridCellStringRenderer + %% From wxGridCellRenderer %% @hidden getBestSize(This,Grid,Attr,Dc,Row,Col) -> wxGridCellRenderer:getBestSize(This,Grid,Attr,Dc,Row,Col). %% @hidden diff --git a/lib/wx/src/gen/wxGridCellNumberEditor.erl b/lib/wx/src/gen/wxGridCellNumberEditor.erl index 4a5dd9d58b..4ebdbb14e9 100644 --- a/lib/wx/src/gen/wxGridCellNumberEditor.erl +++ b/lib/wx/src/gen/wxGridCellNumberEditor.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxGridCellTextEditor} %% <br />{@link wxGridCellEditor} %% </p> @@ -74,12 +74,12 @@ setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) %% @spec (This::wxGridCellNumberEditor()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellNumberEditor), wxe_util:destroy(?wxGridCellNumberEditor_destroy,Obj), ok. - %% From wxGridCellTextEditor - %% From wxGridCellEditor + %% From wxGridCellTextEditor + %% From wxGridCellEditor %% @hidden handleReturn(This,Event) -> wxGridCellEditor:handleReturn(This,Event). %% @hidden diff --git a/lib/wx/src/gen/wxGridCellNumberRenderer.erl b/lib/wx/src/gen/wxGridCellNumberRenderer.erl index 2ace853675..651057bb4b 100644 --- a/lib/wx/src/gen/wxGridCellNumberRenderer.erl +++ b/lib/wx/src/gen/wxGridCellNumberRenderer.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxGridCellStringRenderer} %% <br />{@link wxGridCellRenderer} %% </p> @@ -46,12 +46,12 @@ new() -> %% @spec (This::wxGridCellNumberRenderer()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellNumberRenderer), wxe_util:destroy(?wxGridCellNumberRenderer_destroy,Obj), ok. - %% From wxGridCellStringRenderer - %% From wxGridCellRenderer + %% From wxGridCellStringRenderer + %% From wxGridCellRenderer %% @hidden getBestSize(This,Grid,Attr,Dc,Row,Col) -> wxGridCellRenderer:getBestSize(This,Grid,Attr,Dc,Row,Col). %% @hidden diff --git a/lib/wx/src/gen/wxGridCellStringRenderer.erl b/lib/wx/src/gen/wxGridCellStringRenderer.erl index bc0e6b229d..28a79e0453 100644 --- a/lib/wx/src/gen/wxGridCellStringRenderer.erl +++ b/lib/wx/src/gen/wxGridCellStringRenderer.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxGridCellRenderer} %% </p> %% @type wxGridCellStringRenderer(). An object reference, The representation is internal @@ -44,11 +44,11 @@ new() -> %% @spec (This::wxGridCellStringRenderer()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellStringRenderer), wxe_util:destroy(?wxGridCellStringRenderer_destroy,Obj), ok. - %% From wxGridCellRenderer + %% From wxGridCellRenderer %% @hidden getBestSize(This,Grid,Attr,Dc,Row,Col) -> wxGridCellRenderer:getBestSize(This,Grid,Attr,Dc,Row,Col). %% @hidden diff --git a/lib/wx/src/gen/wxGridCellTextEditor.erl b/lib/wx/src/gen/wxGridCellTextEditor.erl index 305940fddc..d9ab1dc107 100644 --- a/lib/wx/src/gen/wxGridCellTextEditor.erl +++ b/lib/wx/src/gen/wxGridCellTextEditor.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxGridCellEditor} %% </p> %% @type wxGridCellTextEditor(). An object reference, The representation is internal @@ -54,11 +54,11 @@ setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) %% @spec (This::wxGridCellTextEditor()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellTextEditor), wxe_util:destroy(?wxGridCellTextEditor_destroy,Obj), ok. - %% From wxGridCellEditor + %% From wxGridCellEditor %% @hidden handleReturn(This,Event) -> wxGridCellEditor:handleReturn(This,Event). %% @hidden diff --git a/lib/wx/src/gen/wxGridEvent.erl b/lib/wx/src/gen/wxGridEvent.erl index bf7dd15a70..9b7e0012ca 100644 --- a/lib/wx/src/gen/wxGridEvent.erl +++ b/lib/wx/src/gen/wxGridEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxNotifyEvent} %% <br />{@link wxCommandEvent} %% <br />{@link wxEvent} @@ -104,14 +104,14 @@ shiftDown(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxGridEvent_ShiftDown, <<ThisRef:32/?UI>>). - %% From wxNotifyEvent + %% From wxNotifyEvent %% @hidden veto(This) -> wxNotifyEvent:veto(This). %% @hidden isAllowed(This) -> wxNotifyEvent:isAllowed(This). %% @hidden allow(This) -> wxNotifyEvent:allow(This). - %% From wxCommandEvent + %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). %% @hidden @@ -130,7 +130,7 @@ getInt(This) -> wxCommandEvent:getInt(This). getExtraLong(This) -> wxCommandEvent:getExtraLong(This). %% @hidden getClientData(This) -> wxCommandEvent:getClientData(This). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxGridSizer.erl b/lib/wx/src/gen/wxGridSizer.erl index cf0d3bb8b7..7b62774347 100644 --- a/lib/wx/src/gen/wxGridSizer.erl +++ b/lib/wx/src/gen/wxGridSizer.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxSizer} %% </p> %% @type wxGridSizer(). An object reference, The representation is internal @@ -132,11 +132,11 @@ setVGap(#wx_ref{type=ThisT,ref=ThisRef},Gap) %% @spec (This::wxGridSizer()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridSizer), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxSizer + %% From wxSizer %% @hidden show(This,Index, Options) -> wxSizer:show(This,Index, Options). %% @hidden diff --git a/lib/wx/src/gen/wxHelpEvent.erl b/lib/wx/src/gen/wxHelpEvent.erl index d21b55d171..ef3c666ab7 100644 --- a/lib/wx/src/gen/wxHelpEvent.erl +++ b/lib/wx/src/gen/wxHelpEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxHelpEvent(). An object reference, The representation is internal @@ -75,7 +75,7 @@ setPosition(#wx_ref{type=ThisT,ref=ThisRef},{PosX,PosY}) wxe_util:cast(?wxHelpEvent_SetPosition, <<ThisRef:32/?UI,PosX:32/?UI,PosY:32/?UI>>). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxHtmlEasyPrinting.erl b/lib/wx/src/gen/wxHtmlEasyPrinting.erl index adb56273c8..15d673169a 100644 --- a/lib/wx/src/gen/wxHtmlEasyPrinting.erl +++ b/lib/wx/src/gen/wxHtmlEasyPrinting.erl @@ -190,7 +190,7 @@ setFooter(#wx_ref{type=ThisT,ref=ThisRef},Footer, Options) %% @spec (This::wxHtmlEasyPrinting()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index aba2cb4ab7..166493ccbc 100644 --- a/lib/wx/src/gen/wxHtmlLinkEvent.erl +++ b/lib/wx/src/gen/wxHtmlLinkEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxCommandEvent} %% <br />{@link wxEvent} %% </p> @@ -52,7 +52,7 @@ getLinkInfo(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxHtmlLinkEvent_GetLinkInfo, <<ThisRef:32/?UI>>). - %% From wxCommandEvent + %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). %% @hidden @@ -71,7 +71,7 @@ getInt(This) -> wxCommandEvent:getInt(This). getExtraLong(This) -> wxCommandEvent:getExtraLong(This). %% @hidden getClientData(This) -> wxCommandEvent:getClientData(This). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxHtmlWindow.erl b/lib/wx/src/gen/wxHtmlWindow.erl index 745f52e0ea..ba8278ff56 100644 --- a/lib/wx/src/gen/wxHtmlWindow.erl +++ b/lib/wx/src/gen/wxHtmlWindow.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxScrolledWindow} %% <br />{@link wxPanel} %% <br />{@link wxWindow} @@ -297,11 +297,11 @@ toText(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxHtmlWindow()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxHtmlWindow), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxScrolledWindow + %% From wxScrolledWindow %% @hidden setTargetWindow(This,Target) -> wxScrolledWindow:setTargetWindow(This,Target). %% @hidden @@ -330,10 +330,10 @@ calcUnscrolledPosition(This,Pt) -> wxScrolledWindow:calcUnscrolledPosition(This, calcScrolledPosition(This,X,Y) -> wxScrolledWindow:calcScrolledPosition(This,X,Y). %% @hidden calcScrolledPosition(This,Pt) -> wxScrolledWindow:calcScrolledPosition(This,Pt). - %% From wxPanel + %% From wxPanel %% @hidden initDialog(This) -> wxPanel:initDialog(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -682,7 +682,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxIcon.erl b/lib/wx/src/gen/wxIcon.erl index 4f605a8f04..5b224c00b6 100644 --- a/lib/wx/src/gen/wxIcon.erl +++ b/lib/wx/src/gen/wxIcon.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxBitmap} %% </p> %% @type wxIcon(). An object reference, The representation is internal @@ -47,7 +47,7 @@ new() -> %% @spec (X::string()|term()) -> wxIcon() %% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxicon.html#wxiconwxicon">external documentation</a>. -%% <br /> Alternatives: +%% <br /> Alternatives: %% <p><c> %% new(Filename::string()) -> new(Filename, []) </c></p> %% <p><c> @@ -88,11 +88,11 @@ copyFromBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BmpT,ref=BmpRef}) -> %% @spec (This::wxIcon()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxIcon), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxBitmap + %% From wxBitmap %% @hidden setWidth(This,Width) -> wxBitmap:setWidth(This,Width). %% @hidden diff --git a/lib/wx/src/gen/wxIconBundle.erl b/lib/wx/src/gen/wxIconBundle.erl index 3350838203..ee133cbcb9 100644 --- a/lib/wx/src/gen/wxIconBundle.erl +++ b/lib/wx/src/gen/wxIconBundle.erl @@ -83,7 +83,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% getIcon(This::wxIconBundle(), [Option]) -> wxIcon:wxIcon() </c> %%<br /> Option = {size, integer()} @@ -107,7 +107,7 @@ getIcon(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) %% @spec (This::wxIconBundle()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 43d805faa4..647d8019a1 100644 --- a/lib/wx/src/gen/wxIconizeEvent.erl +++ b/lib/wx/src/gen/wxIconizeEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxIconizeEvent(). An object reference, The representation is internal @@ -48,7 +48,7 @@ iconized(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxIconizeEvent_Iconized, <<ThisRef:32/?UI>>). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxIdleEvent.erl b/lib/wx/src/gen/wxIdleEvent.erl index d7f1e117d7..87ed7e0cd2 100644 --- a/lib/wx/src/gen/wxIdleEvent.erl +++ b/lib/wx/src/gen/wxIdleEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxIdleEvent(). An object reference, The representation is internal @@ -90,7 +90,7 @@ setMode(Mode) wxe_util:cast(?wxIdleEvent_SetMode, <<Mode:32/?UI>>). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxImage.erl b/lib/wx/src/gen/wxImage.erl index d35a56bdc6..5fe105fbb2 100644 --- a/lib/wx/src/gen/wxImage.erl +++ b/lib/wx/src/gen/wxImage.erl @@ -64,7 +64,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% new(Width::integer(), Height::integer()) -> new(Width,Height, []) </c></p> %% <p><c> @@ -87,7 +87,7 @@ new(Name, Options) %% @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: +%% <br /> Alternatives: %% <p><c> %% new(Width::integer(), Height::integer(), Data::binary()) -> new(Width,Height,Data, []) </c></p> %% <p><c> @@ -121,7 +121,7 @@ new(Name,Mimetype, Options) %% @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: +%% <br /> Alternatives: %% <p><c> %% new(Width::integer(), Height::integer(), Data::binary(), Alpha::binary()) -> new(Width,Height,Data,Alpha, []) </c></p> %% <p><c> @@ -239,7 +239,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% create(This::wxImage(), Width::integer(), Height::integer(), Data::binary()) -> create(This,Width,Height,Data, []) </c></p> %% <p><c> @@ -261,7 +261,7 @@ create(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options) %% @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: +%% <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> @@ -691,7 +691,7 @@ saveFile(#wx_ref{type=ThisT,ref=ThisRef},Name) %% @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: +%% <br /> Alternatives: %% <p><c> %% saveFile(This::wxImage(), Name::string(), Type::integer()) -> bool() </c> %% </p> @@ -852,7 +852,7 @@ setMaskFromImage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MaskT,ref=MaskRef} %% @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: +%% <br /> Alternatives: %% <p><c> %% setOption(This::wxImage(), Name::string(), Value::integer()) -> ok </c> %% </p> @@ -899,7 +899,7 @@ setRGB(#wx_ref{type=ThisT,ref=ThisRef},X,Y,R,G,B) %% @spec (This::wxImage()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index ecc11f100e..dbd51bc47b 100644 --- a/lib/wx/src/gen/wxImageList.erl +++ b/lib/wx/src/gen/wxImageList.erl @@ -68,7 +68,7 @@ add(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% add(This::wxImageList(), Bitmap::wxBitmap:wxBitmap(), Mask::wxBitmap:wxBitmap()) -> integer() </c> %% </p> @@ -194,7 +194,7 @@ replace(#wx_ref{type=ThisT,ref=ThisRef},Index,#wx_ref{type=BitmapT,ref=BitmapRef %% @spec (This::wxImageList()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index cf4cd0fcaf..2c2d7f3968 100644 --- a/lib/wx/src/gen/wxJoystickEvent.erl +++ b/lib/wx/src/gen/wxJoystickEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxJoystickEvent(). An object reference, The representation is internal @@ -153,7 +153,7 @@ isZMove(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxJoystickEvent_IsZMove, <<ThisRef:32/?UI>>). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxKeyEvent.erl b/lib/wx/src/gen/wxKeyEvent.erl index 0dea0fec7c..00d1e2033a 100644 --- a/lib/wx/src/gen/wxKeyEvent.erl +++ b/lib/wx/src/gen/wxKeyEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxKeyEvent(). An object reference, The representation is internal @@ -141,7 +141,7 @@ shiftDown(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxKeyEvent_ShiftDown, <<ThisRef:32/?UI>>). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxLayoutAlgorithm.erl b/lib/wx/src/gen/wxLayoutAlgorithm.erl index d61142c9e0..402d116338 100644 --- a/lib/wx/src/gen/wxLayoutAlgorithm.erl +++ b/lib/wx/src/gen/wxLayoutAlgorithm.erl @@ -98,7 +98,7 @@ layoutWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FrameT,ref=FrameRef}, %% @spec (This::wxLayoutAlgorithm()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 5c4d67cf2a..731209c586 100644 --- a/lib/wx/src/gen/wxListBox.erl +++ b/lib/wx/src/gen/wxListBox.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControlWithItems} %% <br />{@link wxControl} %% <br />{@link wxWindow} @@ -184,7 +184,7 @@ hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PointX,PointY}) %% @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: +%% <br /> Alternatives: %% <p><c> %% setFirstItem(This::wxListBox(), N::integer()) -> ok </c> %% </p> @@ -205,11 +205,11 @@ setFirstItem(#wx_ref{type=ThisT,ref=ThisRef},S) %% @spec (This::wxListBox()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxListBox), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControlWithItems + %% From wxControlWithItems %% @hidden setStringSelection(This,S) -> wxControlWithItems:setStringSelection(This,S). %% @hidden @@ -250,12 +250,12 @@ appendStrings(This,Strings) -> wxControlWithItems:appendStrings(This,Strings). append(This,Item,ClientData) -> wxControlWithItems:append(This,Item,ClientData). %% @hidden append(This,Item) -> wxControlWithItems:append(This,Item). - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -602,7 +602,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxListCtrl.erl b/lib/wx/src/gen/wxListCtrl.erl index 8e5e8bc0b4..9c4ba1e5a3 100644 --- a/lib/wx/src/gen/wxListCtrl.erl +++ b/lib/wx/src/gen/wxListCtrl.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -221,7 +221,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% findItem(This::wxListCtrl(), Start::integer(), Str::string(), [Option]) -> integer() </c> %%<br /> Option = {partial, bool()} @@ -443,7 +443,7 @@ hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PointX,PointY}) %% @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: +%% <br /> Alternatives: %% <p><c> %% insertColumn(This::wxListCtrl(), Col::integer(), Heading::string()) -> insertColumn(This,Col,Heading, []) </c></p> %% <p><c> @@ -484,7 +484,7 @@ insertItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=InfoT,ref=InfoRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% insertItem(This::wxListCtrl(), Index::integer(), ImageIndex::integer()) -> integer() </c> %% </p> @@ -743,16 +743,16 @@ sortItems(#wx_ref{type=ThisT,ref=ThisRef}, SortCallBack) 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}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxListCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -1095,7 +1095,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxListEvent.erl b/lib/wx/src/gen/wxListEvent.erl index 2d80e86abc..74f9e6095c 100644 --- a/lib/wx/src/gen/wxListEvent.erl +++ b/lib/wx/src/gen/wxListEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxNotifyEvent} %% <br />{@link wxCommandEvent} %% <br />{@link wxEvent} @@ -139,14 +139,14 @@ isEditCancelled(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxListEvent_IsEditCancelled, <<ThisRef:32/?UI>>). - %% From wxNotifyEvent + %% From wxNotifyEvent %% @hidden veto(This) -> wxNotifyEvent:veto(This). %% @hidden isAllowed(This) -> wxNotifyEvent:isAllowed(This). %% @hidden allow(This) -> wxNotifyEvent:allow(This). - %% From wxCommandEvent + %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). %% @hidden @@ -165,7 +165,7 @@ getInt(This) -> wxCommandEvent:getInt(This). getExtraLong(This) -> wxCommandEvent:getExtraLong(This). %% @hidden getClientData(This) -> wxCommandEvent:getClientData(This). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxListItem.erl b/lib/wx/src/gen/wxListItem.erl index 9891adb897..326f674b28 100644 --- a/lib/wx/src/gen/wxListItem.erl +++ b/lib/wx/src/gen/wxListItem.erl @@ -236,7 +236,7 @@ setWidth(#wx_ref{type=ThisT,ref=ThisRef},Width) %% @spec (This::wxListItem()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 7c938a21ca..95a233a562 100644 --- a/lib/wx/src/gen/wxListView.erl +++ b/lib/wx/src/gen/wxListView.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -148,12 +148,12 @@ setColumnImage(#wx_ref{type=ThisT,ref=ThisRef},Col,Image) wxe_util:cast(?wxListView_SetColumnImage, <<ThisRef:32/?UI,Col:32/?UI,Image:32/?UI>>). - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -500,7 +500,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxListbook.erl b/lib/wx/src/gen/wxListbook.erl index 7cdc861c26..b1f0e3d9a4 100644 --- a/lib/wx/src/gen/wxListbook.erl +++ b/lib/wx/src/gen/wxListbook.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -329,16 +329,16 @@ changeSelection(#wx_ref{type=ThisT,ref=ThisRef},N) %% @spec (This::wxListbook()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxListbook), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -685,7 +685,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxLogNull.erl b/lib/wx/src/gen/wxLogNull.erl index 3ec2c6384d..676fdf6d85 100644 --- a/lib/wx/src/gen/wxLogNull.erl +++ b/lib/wx/src/gen/wxLogNull.erl @@ -40,7 +40,7 @@ new() -> %% @spec (This::wxLogNull()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 42e1af8d98..34edac4213 100644 --- a/lib/wx/src/gen/wxMDIChildFrame.erl +++ b/lib/wx/src/gen/wxMDIChildFrame.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxFrame} %% <br />{@link wxTopLevelWindow} %% <br />{@link wxWindow} @@ -170,11 +170,11 @@ restore(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxMDIChildFrame()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMDIChildFrame), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxFrame + %% From wxFrame %% @hidden setToolBar(This,Toolbar) -> wxFrame:setToolBar(This,Toolbar). %% @hidden @@ -211,7 +211,7 @@ createToolBar(This) -> wxFrame:createToolBar(This). createStatusBar(This, Options) -> wxFrame:createStatusBar(This, Options). %% @hidden createStatusBar(This) -> wxFrame:createStatusBar(This). - %% From wxTopLevelWindow + %% From wxTopLevelWindow %% @hidden showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options). %% @hidden @@ -254,7 +254,7 @@ getTitle(This) -> wxTopLevelWindow:getTitle(This). getIcons(This) -> wxTopLevelWindow:getIcons(This). %% @hidden getIcon(This) -> wxTopLevelWindow:getIcon(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -605,7 +605,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxMDIClientWindow.erl b/lib/wx/src/gen/wxMDIClientWindow.erl index a1bcaf0dee..79a11b4eb7 100644 --- a/lib/wx/src/gen/wxMDIClientWindow.erl +++ b/lib/wx/src/gen/wxMDIClientWindow.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} %% </p> @@ -118,11 +118,11 @@ createClient(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef} %% @spec (This::wxMDIClientWindow()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMDIClientWindow), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -473,7 +473,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxMDIParentFrame.erl b/lib/wx/src/gen/wxMDIParentFrame.erl index 1519ec985c..db47e7ac74 100644 --- a/lib/wx/src/gen/wxMDIParentFrame.erl +++ b/lib/wx/src/gen/wxMDIParentFrame.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxFrame} %% <br />{@link wxTopLevelWindow} %% <br />{@link wxWindow} @@ -202,11 +202,11 @@ tile(#wx_ref{type=ThisT,ref=ThisRef}, Options) %% @spec (This::wxMDIParentFrame()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMDIParentFrame), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxFrame + %% From wxFrame %% @hidden setToolBar(This,Toolbar) -> wxFrame:setToolBar(This,Toolbar). %% @hidden @@ -243,7 +243,7 @@ createToolBar(This) -> wxFrame:createToolBar(This). createStatusBar(This, Options) -> wxFrame:createStatusBar(This, Options). %% @hidden createStatusBar(This) -> wxFrame:createStatusBar(This). - %% From wxTopLevelWindow + %% From wxTopLevelWindow %% @hidden showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options). %% @hidden @@ -290,7 +290,7 @@ getTitle(This) -> wxTopLevelWindow:getTitle(This). getIcons(This) -> wxTopLevelWindow:getIcons(This). %% @hidden getIcon(This) -> wxTopLevelWindow:getIcon(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -641,7 +641,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxMask.erl b/lib/wx/src/gen/wxMask.erl index 0686165254..3b5d3340ea 100644 --- a/lib/wx/src/gen/wxMask.erl +++ b/lib/wx/src/gen/wxMask.erl @@ -47,7 +47,7 @@ new(#wx_ref{type=BitmapT,ref=BitmapRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% new(Bitmap::wxBitmap:wxBitmap(), PaletteIndex::integer()) -> wxMask() </c> %% </p> @@ -75,7 +75,7 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% create(This::wxMask(), Bitmap::wxBitmap:wxBitmap(), PaletteIndex::integer()) -> bool() </c> %% </p> @@ -97,7 +97,7 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef},Colou %% @spec (This::wxMask()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 0d775bf201..6dd371908b 100644 --- a/lib/wx/src/gen/wxMaximizeEvent.erl +++ b/lib/wx/src/gen/wxMaximizeEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxMaximizeEvent(). An object reference, The representation is internal @@ -41,7 +41,7 @@ parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxMemoryDC.erl b/lib/wx/src/gen/wxMemoryDC.erl index 97b74a4d9f..d17ebba4b7 100644 --- a/lib/wx/src/gen/wxMemoryDC.erl +++ b/lib/wx/src/gen/wxMemoryDC.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxDC} %% </p> %% @type wxMemoryDC(). An object reference, The representation is internal @@ -92,11 +92,11 @@ selectObjectAsSource(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BmpT,ref=BmpRe %% @spec (This::wxMemoryDC()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMemoryDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxDC + %% From wxDC %% @hidden startPage(This) -> wxDC:startPage(This). %% @hidden diff --git a/lib/wx/src/gen/wxMenu.erl b/lib/wx/src/gen/wxMenu.erl index 02a8c5e76e..615a845d11 100644 --- a/lib/wx/src/gen/wxMenu.erl +++ b/lib/wx/src/gen/wxMenu.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvtHandler} %% </p> %% @type wxMenu(). An object reference, The representation is internal @@ -88,7 +88,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% append(This::wxMenu(), Itemid::integer(), Text::string(), Submenu::wxMenu()) -> append(This,Itemid,Text,Submenu, []) </c></p> %% <p><c> @@ -114,7 +114,7 @@ append(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options) %% @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: +%% <br /> Alternatives: %% <p><c> %% append(This::wxMenu(), Itemid::integer(), Text::string(), Help::string(), IsCheckable::bool()) -> ok </c> %% </p> @@ -202,7 +202,7 @@ check(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Check) %% @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: +%% <br /> Alternatives: %% <p><c> %% delete(This::wxMenu(), Itemid::integer()) -> bool() </c> %% </p> @@ -222,7 +222,7 @@ delete(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% 'Destroy'(This::wxMenu(), Itemid::integer()) -> bool() </c> %% </p> @@ -250,7 +250,7 @@ enable(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Enable) %% @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: +%% <br /> Alternatives: %% <p><c> %% findItem(This::wxMenu(), Itemid::integer()) -> wxMenuItem:wxMenuItem() </c> %% </p> @@ -316,7 +316,7 @@ getTitle(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% insert(This::wxMenu(), Pos::integer(), Itemid::integer()) -> insert(This,Pos,Itemid, []) </c></p> %% <p><c> @@ -357,7 +357,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% insert(This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), Help::string(), IsCheckable::bool()) -> ok </c> %% </p> @@ -447,7 +447,7 @@ isEnabled(#wx_ref{type=ThisT,ref=ThisRef},Itemid) %% @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: +%% <br /> Alternatives: %% <p><c> %% prepend(This::wxMenu(), Itemid::integer()) -> prepend(This,Itemid, []) </c></p> %% <p><c> @@ -487,7 +487,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% prepend(This::wxMenu(), Itemid::integer(), Text::string(), Help::string(), IsCheckable::bool()) -> ok </c> %% </p> @@ -560,7 +560,7 @@ prependSeparator(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% remove(This::wxMenu(), Itemid::integer()) -> wxMenuItem:wxMenuItem() </c> %% </p> @@ -607,11 +607,11 @@ setTitle(#wx_ref{type=ThisT,ref=ThisRef},Title) %% @spec (This::wxMenu()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMenu), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxMenuBar.erl b/lib/wx/src/gen/wxMenuBar.erl index 84017d1526..4ed1b2cbe6 100644 --- a/lib/wx/src/gen/wxMenuBar.erl +++ b/lib/wx/src/gen/wxMenuBar.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} %% </p> @@ -304,11 +304,11 @@ setLabelTop(#wx_ref{type=ThisT,ref=ThisRef},Pos,Label) %% @spec (This::wxMenuBar()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMenuBar), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -649,7 +649,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxMenuEvent.erl b/lib/wx/src/gen/wxMenuEvent.erl index 47e696d0ba..fe368e679a 100644 --- a/lib/wx/src/gen/wxMenuEvent.erl +++ b/lib/wx/src/gen/wxMenuEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxMenuEvent(). An object reference, The representation is internal @@ -62,7 +62,7 @@ isPopup(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxMenuEvent_IsPopup, <<ThisRef:32/?UI>>). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxMenuItem.erl b/lib/wx/src/gen/wxMenuItem.erl index 74f314f468..e2bbe681c5 100644 --- a/lib/wx/src/gen/wxMenuItem.erl +++ b/lib/wx/src/gen/wxMenuItem.erl @@ -239,7 +239,7 @@ setText(#wx_ref{type=ThisT,ref=ThisRef},Str) %% @spec (This::wxMenuItem()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 83e6dcee7f..916b201d3f 100644 --- a/lib/wx/src/gen/wxMessageDialog.erl +++ b/lib/wx/src/gen/wxMessageDialog.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxDialog} %% <br />{@link wxTopLevelWindow} %% <br />{@link wxWindow} @@ -107,11 +107,11 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Message, Options) %% @spec (This::wxMessageDialog()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMessageDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxDialog + %% From wxDialog %% @hidden showModal(This) -> wxDialog:showModal(This). %% @hidden @@ -134,7 +134,7 @@ endModal(This,RetCode) -> wxDialog:endModal(This,RetCode). createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags). %% @hidden createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags). - %% From wxTopLevelWindow + %% From wxTopLevelWindow %% @hidden showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options). %% @hidden @@ -181,7 +181,7 @@ getTitle(This) -> wxTopLevelWindow:getTitle(This). getIcons(This) -> wxTopLevelWindow:getIcons(This). %% @hidden getIcon(This) -> wxTopLevelWindow:getIcon(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -528,7 +528,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxMiniFrame.erl b/lib/wx/src/gen/wxMiniFrame.erl index f99b74da1f..b86f1d7cfa 100644 --- a/lib/wx/src/gen/wxMiniFrame.erl +++ b/lib/wx/src/gen/wxMiniFrame.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxFrame} %% <br />{@link wxTopLevelWindow} %% <br />{@link wxWindow} @@ -138,11 +138,11 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Ti %% @spec (This::wxMiniFrame()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMiniFrame), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxFrame + %% From wxFrame %% @hidden setToolBar(This,Toolbar) -> wxFrame:setToolBar(This,Toolbar). %% @hidden @@ -179,7 +179,7 @@ createToolBar(This) -> wxFrame:createToolBar(This). createStatusBar(This, Options) -> wxFrame:createStatusBar(This, Options). %% @hidden createStatusBar(This) -> wxFrame:createStatusBar(This). - %% From wxTopLevelWindow + %% From wxTopLevelWindow %% @hidden showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options). %% @hidden @@ -226,7 +226,7 @@ getTitle(This) -> wxTopLevelWindow:getTitle(This). getIcons(This) -> wxTopLevelWindow:getIcons(This). %% @hidden getIcon(This) -> wxTopLevelWindow:getIcon(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -577,7 +577,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxMirrorDC.erl b/lib/wx/src/gen/wxMirrorDC.erl index 20cc2b2f28..c218bd7e72 100644 --- a/lib/wx/src/gen/wxMirrorDC.erl +++ b/lib/wx/src/gen/wxMirrorDC.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxDC} %% </p> %% @type wxMirrorDC(). An object reference, The representation is internal @@ -66,11 +66,11 @@ new(#wx_ref{type=DcT,ref=DcRef},Mirror) %% @spec (This::wxMirrorDC()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMirrorDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxDC + %% From wxDC %% @hidden startPage(This) -> wxDC:startPage(This). %% @hidden diff --git a/lib/wx/src/gen/wxMouseCaptureChangedEvent.erl b/lib/wx/src/gen/wxMouseCaptureChangedEvent.erl index c156f0e87e..cb921bf2df 100644 --- a/lib/wx/src/gen/wxMouseCaptureChangedEvent.erl +++ b/lib/wx/src/gen/wxMouseCaptureChangedEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxMouseCaptureChangedEvent(). An object reference, The representation is internal @@ -48,7 +48,7 @@ getCapturedWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxMouseCaptureChangedEvent_GetCapturedWindow, <<ThisRef:32/?UI>>). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxMouseEvent.erl b/lib/wx/src/gen/wxMouseEvent.erl index 69a9efc75d..fed9a33db7 100644 --- a/lib/wx/src/gen/wxMouseEvent.erl +++ b/lib/wx/src/gen/wxMouseEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxMouseEvent(). An object reference, The representation is internal @@ -327,7 +327,7 @@ shiftDown(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxMouseEvent_ShiftDown, <<ThisRef:32/?UI>>). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxMoveEvent.erl b/lib/wx/src/gen/wxMoveEvent.erl index 4d88658262..80bf59074a 100644 --- a/lib/wx/src/gen/wxMoveEvent.erl +++ b/lib/wx/src/gen/wxMoveEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxMoveEvent(). An object reference, The representation is internal @@ -48,7 +48,7 @@ getPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxMoveEvent_GetPosition, <<ThisRef:32/?UI>>). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxMultiChoiceDialog.erl b/lib/wx/src/gen/wxMultiChoiceDialog.erl index 6784dfeb48..e69889a1e0 100644 --- a/lib/wx/src/gen/wxMultiChoiceDialog.erl +++ b/lib/wx/src/gen/wxMultiChoiceDialog.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxDialog} %% <br />{@link wxTopLevelWindow} %% <br />{@link wxWindow} @@ -131,11 +131,11 @@ setSelections(#wx_ref{type=ThisT,ref=ThisRef},Selections) %% @spec (This::wxMultiChoiceDialog()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMultiChoiceDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxDialog + %% From wxDialog %% @hidden showModal(This) -> wxDialog:showModal(This). %% @hidden @@ -158,7 +158,7 @@ endModal(This,RetCode) -> wxDialog:endModal(This,RetCode). createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags). %% @hidden createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags). - %% From wxTopLevelWindow + %% From wxTopLevelWindow %% @hidden showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options). %% @hidden @@ -205,7 +205,7 @@ getTitle(This) -> wxTopLevelWindow:getTitle(This). getIcons(This) -> wxTopLevelWindow:getIcons(This). %% @hidden getIcon(This) -> wxTopLevelWindow:getIcon(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -552,7 +552,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxNavigationKeyEvent.erl b/lib/wx/src/gen/wxNavigationKeyEvent.erl index ed54eca139..7cf7dff9aa 100644 --- a/lib/wx/src/gen/wxNavigationKeyEvent.erl +++ b/lib/wx/src/gen/wxNavigationKeyEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxNavigationKeyEvent(). An object reference, The representation is internal @@ -102,7 +102,7 @@ setCurrentFocus(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WinT,ref=WinRef}) - wxe_util:cast(?wxNavigationKeyEvent_SetCurrentFocus, <<ThisRef:32/?UI,WinRef:32/?UI>>). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxNcPaintEvent.erl b/lib/wx/src/gen/wxNcPaintEvent.erl index 015b7d41b0..b45420a2fc 100644 --- a/lib/wx/src/gen/wxNcPaintEvent.erl +++ b/lib/wx/src/gen/wxNcPaintEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxNcPaintEvent(). An object reference, The representation is internal @@ -41,7 +41,7 @@ parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxNotebook.erl b/lib/wx/src/gen/wxNotebook.erl index 2f00e79607..da543d7ac6 100644 --- a/lib/wx/src/gen/wxNotebook.erl +++ b/lib/wx/src/gen/wxNotebook.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -351,16 +351,16 @@ changeSelection(#wx_ref{type=ThisT,ref=ThisRef},NPage) %% @spec (This::wxNotebook()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxNotebook), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -707,7 +707,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxNotebookEvent.erl b/lib/wx/src/gen/wxNotebookEvent.erl index 58c3c0ccc0..6be826bdd2 100644 --- a/lib/wx/src/gen/wxNotebookEvent.erl +++ b/lib/wx/src/gen/wxNotebookEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxNotifyEvent} %% <br />{@link wxCommandEvent} %% <br />{@link wxEvent} @@ -77,14 +77,14 @@ setSelection(#wx_ref{type=ThisT,ref=ThisRef},NSel) wxe_util:cast(?wxNotebookEvent_SetSelection, <<ThisRef:32/?UI,NSel:32/?UI>>). - %% From wxNotifyEvent + %% From wxNotifyEvent %% @hidden veto(This) -> wxNotifyEvent:veto(This). %% @hidden isAllowed(This) -> wxNotifyEvent:isAllowed(This). %% @hidden allow(This) -> wxNotifyEvent:allow(This). - %% From wxCommandEvent + %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). %% @hidden @@ -101,7 +101,7 @@ getInt(This) -> wxCommandEvent:getInt(This). getExtraLong(This) -> wxCommandEvent:getExtraLong(This). %% @hidden getClientData(This) -> wxCommandEvent:getClientData(This). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxNotifyEvent.erl b/lib/wx/src/gen/wxNotifyEvent.erl index 195e0db0cf..b2a6da16f0 100644 --- a/lib/wx/src/gen/wxNotifyEvent.erl +++ b/lib/wx/src/gen/wxNotifyEvent.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxCommandEvent} %% <br />{@link wxEvent} %% </p> @@ -62,7 +62,7 @@ veto(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:cast(?wxNotifyEvent_Veto, <<ThisRef:32/?UI>>). - %% From wxCommandEvent + %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). %% @hidden @@ -81,7 +81,7 @@ getInt(This) -> wxCommandEvent:getInt(This). getExtraLong(This) -> wxCommandEvent:getExtraLong(This). %% @hidden getClientData(This) -> wxCommandEvent:getClientData(This). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxPageSetupDialog.erl b/lib/wx/src/gen/wxPageSetupDialog.erl index 6802f3b26f..2c11863a21 100644 --- a/lib/wx/src/gen/wxPageSetupDialog.erl +++ b/lib/wx/src/gen/wxPageSetupDialog.erl @@ -66,7 +66,7 @@ showModal(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxPageSetupDialog()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 479c5be963..672ec7c083 100644 --- a/lib/wx/src/gen/wxPageSetupDialogData.erl +++ b/lib/wx/src/gen/wxPageSetupDialogData.erl @@ -260,7 +260,7 @@ setPaperId(#wx_ref{type=ThisT,ref=ThisRef},Id) %% @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: +%% <br /> Alternatives: %% <p><c> %% setPaperSize(This::wxPageSetupDialogData(), Id::integer()) -> ok </c> %% </p> @@ -288,7 +288,7 @@ setPrintData(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PrintDataT,ref=PrintDa %% @spec (This::wxPageSetupDialogData()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index a84bca2342..47d5947097 100644 --- a/lib/wx/src/gen/wxPaintDC.erl +++ b/lib/wx/src/gen/wxPaintDC.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxWindowDC} %% <br />{@link wxDC} %% </p> @@ -73,12 +73,12 @@ new(#wx_ref{type=WinT,ref=WinRef}) -> %% @spec (This::wxPaintDC()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPaintDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxWindowDC - %% From wxDC + %% From wxWindowDC + %% From wxDC %% @hidden startPage(This) -> wxDC:startPage(This). %% @hidden diff --git a/lib/wx/src/gen/wxPaintEvent.erl b/lib/wx/src/gen/wxPaintEvent.erl index 859e00e8dd..2603e61623 100644 --- a/lib/wx/src/gen/wxPaintEvent.erl +++ b/lib/wx/src/gen/wxPaintEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxPaintEvent(). An object reference, The representation is internal @@ -41,7 +41,7 @@ parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxPalette.erl b/lib/wx/src/gen/wxPalette.erl index 38b9be3906..ee1fd0016d 100644 --- a/lib/wx/src/gen/wxPalette.erl +++ b/lib/wx/src/gen/wxPalette.erl @@ -92,7 +92,7 @@ isOk(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxPalette()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 1cde5997a3..1831bf1375 100644 --- a/lib/wx/src/gen/wxPaletteChangedEvent.erl +++ b/lib/wx/src/gen/wxPaletteChangedEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxPaletteChangedEvent(). An object reference, The representation is internal @@ -56,7 +56,7 @@ getChangedWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxPaletteChangedEvent_GetChangedWindow, <<ThisRef:32/?UI>>). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxPanel.erl b/lib/wx/src/gen/wxPanel.erl index 8afbe6df99..55eaa9f404 100644 --- a/lib/wx/src/gen/wxPanel.erl +++ b/lib/wx/src/gen/wxPanel.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} %% </p> @@ -127,11 +127,11 @@ initDialog(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxPanel()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPanel), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -480,7 +480,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxPasswordEntryDialog.erl b/lib/wx/src/gen/wxPasswordEntryDialog.erl index 125a9915c5..f79734ab46 100644 --- a/lib/wx/src/gen/wxPasswordEntryDialog.erl +++ b/lib/wx/src/gen/wxPasswordEntryDialog.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxTextEntryDialog} %% <br />{@link wxDialog} %% <br />{@link wxTopLevelWindow} @@ -111,16 +111,16 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Message, Options) %% @spec (This::wxPasswordEntryDialog()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPasswordEntryDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxTextEntryDialog + %% From wxTextEntryDialog %% @hidden setValue(This,Val) -> wxTextEntryDialog:setValue(This,Val). %% @hidden getValue(This) -> wxTextEntryDialog:getValue(This). - %% From wxDialog + %% From wxDialog %% @hidden showModal(This) -> wxDialog:showModal(This). %% @hidden @@ -143,7 +143,7 @@ endModal(This,RetCode) -> wxDialog:endModal(This,RetCode). createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags). %% @hidden createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags). - %% From wxTopLevelWindow + %% From wxTopLevelWindow %% @hidden showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options). %% @hidden @@ -190,7 +190,7 @@ getTitle(This) -> wxTopLevelWindow:getTitle(This). getIcons(This) -> wxTopLevelWindow:getIcons(This). %% @hidden getIcon(This) -> wxTopLevelWindow:getIcon(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -537,7 +537,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxPen.erl b/lib/wx/src/gen/wxPen.erl index ffd2c42140..ada95b0ee3 100644 --- a/lib/wx/src/gen/wxPen.erl +++ b/lib/wx/src/gen/wxPen.erl @@ -150,7 +150,7 @@ setWidth(#wx_ref{type=ThisT,ref=ThisRef},Width) %% @spec (This::wxPen()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 90c8fa7642..e60ab4f9d8 100644 --- a/lib/wx/src/gen/wxPickerBase.erl +++ b/lib/wx/src/gen/wxPickerBase.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -187,12 +187,12 @@ isPickerCtrlGrowable(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxPickerBase_IsPickerCtrlGrowable, <<ThisRef:32/?UI>>). - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -539,7 +539,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxPostScriptDC.erl b/lib/wx/src/gen/wxPostScriptDC.erl index d142f33bc5..df3edfade9 100644 --- a/lib/wx/src/gen/wxPostScriptDC.erl +++ b/lib/wx/src/gen/wxPostScriptDC.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxDC} %% </p> %% @type wxPostScriptDC(). An object reference, The representation is internal @@ -84,11 +84,11 @@ getResolution() -> %% @spec (This::wxPostScriptDC()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPostScriptDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxDC + %% From wxDC %% @hidden startPage(This) -> wxDC:startPage(This). %% @hidden diff --git a/lib/wx/src/gen/wxPreviewCanvas.erl b/lib/wx/src/gen/wxPreviewCanvas.erl index d483d78f39..d33aeedb70 100644 --- a/lib/wx/src/gen/wxPreviewCanvas.erl +++ b/lib/wx/src/gen/wxPreviewCanvas.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxScrolledWindow} %% <br />{@link wxPanel} %% <br />{@link wxWindow} @@ -81,7 +81,7 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). - %% From wxScrolledWindow + %% From wxScrolledWindow %% @hidden setTargetWindow(This,Target) -> wxScrolledWindow:setTargetWindow(This,Target). %% @hidden @@ -110,10 +110,10 @@ calcUnscrolledPosition(This,Pt) -> wxScrolledWindow:calcUnscrolledPosition(This, calcScrolledPosition(This,X,Y) -> wxScrolledWindow:calcScrolledPosition(This,X,Y). %% @hidden calcScrolledPosition(This,Pt) -> wxScrolledWindow:calcScrolledPosition(This,Pt). - %% From wxPanel + %% From wxPanel %% @hidden initDialog(This) -> wxPanel:initDialog(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -462,7 +462,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxPreviewControlBar.erl b/lib/wx/src/gen/wxPreviewControlBar.erl index db1eee9582..78d46d1b95 100644 --- a/lib/wx/src/gen/wxPreviewControlBar.erl +++ b/lib/wx/src/gen/wxPreviewControlBar.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxPanel} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -128,14 +128,14 @@ setZoomControl(#wx_ref{type=ThisT,ref=ThisRef},Zoom) %% @spec (This::wxPreviewControlBar()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPreviewControlBar), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxPanel + %% From wxPanel %% @hidden initDialog(This) -> wxPanel:initDialog(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -484,7 +484,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxPreviewFrame.erl b/lib/wx/src/gen/wxPreviewFrame.erl index c324680e87..91a32e9889 100644 --- a/lib/wx/src/gen/wxPreviewFrame.erl +++ b/lib/wx/src/gen/wxPreviewFrame.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxFrame} %% <br />{@link wxTopLevelWindow} %% <br />{@link wxWindow} @@ -141,11 +141,11 @@ onCloseWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=EventT,ref=EventRef}) %% @spec (This::wxPreviewFrame()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPreviewFrame), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxFrame + %% From wxFrame %% @hidden setToolBar(This,Toolbar) -> wxFrame:setToolBar(This,Toolbar). %% @hidden @@ -182,7 +182,7 @@ createToolBar(This) -> wxFrame:createToolBar(This). createStatusBar(This, Options) -> wxFrame:createStatusBar(This, Options). %% @hidden createStatusBar(This) -> wxFrame:createStatusBar(This). - %% From wxTopLevelWindow + %% From wxTopLevelWindow %% @hidden showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options). %% @hidden @@ -229,7 +229,7 @@ getTitle(This) -> wxTopLevelWindow:getTitle(This). getIcons(This) -> wxTopLevelWindow:getIcons(This). %% @hidden getIcon(This) -> wxTopLevelWindow:getIcon(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -580,7 +580,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxPrintData.erl b/lib/wx/src/gen/wxPrintData.erl index 3e4fac5912..f3e8ad3612 100644 --- a/lib/wx/src/gen/wxPrintData.erl +++ b/lib/wx/src/gen/wxPrintData.erl @@ -201,7 +201,7 @@ setQuality(#wx_ref{type=ThisT,ref=ThisRef},Quality) %% @spec (This::wxPrintData()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index f167059990..a2f4bfa4eb 100644 --- a/lib/wx/src/gen/wxPrintDialog.erl +++ b/lib/wx/src/gen/wxPrintDialog.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxDialog} %% <br />{@link wxTopLevelWindow} %% <br />{@link wxWindow} @@ -92,7 +92,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% new(Parent::wxWindow:wxWindow(), [Option]) -> wxPrintDialog() </c> %%<br /> Option = {data, wxPrintDialogData:wxPrintDialogData()} @@ -130,11 +130,11 @@ getPrintDC(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxPrintDialog()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPrintDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxDialog + %% From wxDialog %% @hidden showModal(This) -> wxDialog:showModal(This). %% @hidden @@ -157,7 +157,7 @@ endModal(This,RetCode) -> wxDialog:endModal(This,RetCode). createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags). %% @hidden createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags). - %% From wxTopLevelWindow + %% From wxTopLevelWindow %% @hidden showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options). %% @hidden @@ -204,7 +204,7 @@ getTitle(This) -> wxTopLevelWindow:getTitle(This). getIcons(This) -> wxTopLevelWindow:getIcons(This). %% @hidden getIcon(This) -> wxTopLevelWindow:getIcon(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -551,7 +551,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxPrintDialogData.erl b/lib/wx/src/gen/wxPrintDialogData.erl index 3bbac3b4fc..a7e8d41f2e 100644 --- a/lib/wx/src/gen/wxPrintDialogData.erl +++ b/lib/wx/src/gen/wxPrintDialogData.erl @@ -237,7 +237,7 @@ setToPage(#wx_ref{type=ThisT,ref=ThisRef},V) %% @spec (This::wxPrintDialogData()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index cab174e3ee..6f9a0f653f 100644 --- a/lib/wx/src/gen/wxPrintPreview.erl +++ b/lib/wx/src/gen/wxPrintPreview.erl @@ -186,7 +186,7 @@ setZoom(#wx_ref{type=ThisT,ref=ThisRef},Percent) %% @spec (This::wxPrintPreview()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index cc32badeb3..af9afe18af 100644 --- a/lib/wx/src/gen/wxPrinter.erl +++ b/lib/wx/src/gen/wxPrinter.erl @@ -129,7 +129,7 @@ setup(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}) -> %% @spec (This::wxPrinter()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 67a7cb5c82..b5b93921e6 100644 --- a/lib/wx/src/gen/wxPrintout.erl +++ b/lib/wx/src/gen/wxPrintout.erl @@ -268,7 +268,7 @@ offsetLogicalOrigin(#wx_ref{type=ThisT,ref=ThisRef},Xoff,Yoff) %% @spec (This::wxPrintout()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 78b3b1d3a0..69e73454b5 100644 --- a/lib/wx/src/gen/wxProgressDialog.erl +++ b/lib/wx/src/gen/wxProgressDialog.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxDialog} %% <br />{@link wxTopLevelWindow} %% <br />{@link wxWindow} @@ -139,11 +139,11 @@ update(#wx_ref{type=ThisT,ref=ThisRef},Value, Options) %% @spec (This::wxProgressDialog()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxProgressDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxDialog + %% From wxDialog %% @hidden showModal(This) -> wxDialog:showModal(This). %% @hidden @@ -166,7 +166,7 @@ endModal(This,RetCode) -> wxDialog:endModal(This,RetCode). createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags). %% @hidden createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags). - %% From wxTopLevelWindow + %% From wxTopLevelWindow %% @hidden showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options). %% @hidden @@ -213,7 +213,7 @@ getTitle(This) -> wxTopLevelWindow:getTitle(This). getIcons(This) -> wxTopLevelWindow:getIcons(This). %% @hidden getIcon(This) -> wxTopLevelWindow:getIcon(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -558,7 +558,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxQueryNewPaletteEvent.erl b/lib/wx/src/gen/wxQueryNewPaletteEvent.erl index a5322f0d64..96c493e4a6 100644 --- a/lib/wx/src/gen/wxQueryNewPaletteEvent.erl +++ b/lib/wx/src/gen/wxQueryNewPaletteEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxQueryNewPaletteEvent(). An object reference, The representation is internal @@ -56,7 +56,7 @@ getPaletteRealized(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxQueryNewPaletteEvent_GetPaletteRealized, <<ThisRef:32/?UI>>). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxRadioBox.erl b/lib/wx/src/gen/wxRadioBox.erl index 0481b03cd2..06e8833972 100644 --- a/lib/wx/src/gen/wxRadioBox.erl +++ b/lib/wx/src/gen/wxRadioBox.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -133,7 +133,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% enable(This::wxRadioBox(), N::integer()) -> enable(This,N, []) </c></p> %% <p><c> @@ -196,7 +196,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% show(This::wxRadioBox(), N::integer()) -> show(This,N, []) </c></p> %% <p><c> @@ -302,16 +302,16 @@ setItemToolTip(#wx_ref{type=ThisT,ref=ThisRef},Item,Text) %% @spec (This::wxRadioBox()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxRadioBox), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -650,7 +650,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxRadioButton.erl b/lib/wx/src/gen/wxRadioButton.erl index 7d2c41ec10..c2c5a00be6 100644 --- a/lib/wx/src/gen/wxRadioButton.erl +++ b/lib/wx/src/gen/wxRadioButton.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -143,16 +143,16 @@ setValue(#wx_ref{type=ThisT,ref=ThisRef},Val) %% @spec (This::wxRadioButton()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxRadioButton), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -499,7 +499,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxRegion.erl b/lib/wx/src/gen/wxRegion.erl index 6a929480b1..0ceba1d203 100644 --- a/lib/wx/src/gen/wxRegion.erl +++ b/lib/wx/src/gen/wxRegion.erl @@ -43,7 +43,7 @@ new() -> %% @spec (X::term()) -> wxRegion() %% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregionwxregion">external documentation</a>. -%% <br /> Alternatives: +%% <br /> Alternatives: %% <p><c> %% new(Bmp::wxBitmap:wxBitmap()) -> wxRegion() </c> %% </p> @@ -82,7 +82,7 @@ clear(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% contains(This::wxRegion(), Pt::{X::integer(),Y::integer()}) -> WxRegionContain </c> %%<br /> WxRegionContain = integer() @@ -140,7 +140,7 @@ getBox(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% intersect(This::wxRegion(), Region::wxRegion()) -> bool() </c> %% </p> @@ -175,7 +175,7 @@ isEmpty(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% subtract(This::wxRegion(), Region::wxRegion()) -> bool() </c> %% </p> @@ -219,7 +219,7 @@ offset(#wx_ref{type=ThisT,ref=ThisRef},X,Y) %% @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: +%% <br /> Alternatives: %% <p><c> %% union(This::wxRegion(), Region::wxRegion() | wxBitmap:wxBitmap()) -> bool() </c> %% </p> @@ -271,7 +271,7 @@ union(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H) %% @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: +%% <br /> Alternatives: %% <p><c> %% 'Xor'(This::wxRegion(), Region::wxRegion()) -> bool() </c> %% </p> @@ -299,7 +299,7 @@ union(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H) %% @spec (This::wxRegion()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 3df2543378..480e241807 100644 --- a/lib/wx/src/gen/wxSashEvent.erl +++ b/lib/wx/src/gen/wxSashEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxCommandEvent} %% <br />{@link wxEvent} %% </p> @@ -70,7 +70,7 @@ getDragStatus(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxSashEvent_GetDragStatus, <<ThisRef:32/?UI>>). - %% From wxCommandEvent + %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). %% @hidden @@ -89,7 +89,7 @@ getInt(This) -> wxCommandEvent:getInt(This). getExtraLong(This) -> wxCommandEvent:getExtraLong(This). %% @hidden getClientData(This) -> wxCommandEvent:getClientData(This). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxSashLayoutWindow.erl b/lib/wx/src/gen/wxSashLayoutWindow.erl index 9d40021b3f..9bc5a185ba 100644 --- a/lib/wx/src/gen/wxSashLayoutWindow.erl +++ b/lib/wx/src/gen/wxSashLayoutWindow.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxSashWindow} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -177,11 +177,11 @@ setOrientation(#wx_ref{type=ThisT,ref=ThisRef},Orient) %% @spec (This::wxSashLayoutWindow()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSashLayoutWindow), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxSashWindow + %% From wxSashWindow %% @hidden setSashVisible(This,Edge,Sash) -> wxSashWindow:setSashVisible(This,Edge,Sash). %% @hidden @@ -202,7 +202,7 @@ getMaximumSizeY(This) -> wxSashWindow:getMaximumSizeY(This). getMaximumSizeX(This) -> wxSashWindow:getMaximumSizeX(This). %% @hidden getSashVisible(This,Edge) -> wxSashWindow:getSashVisible(This,Edge). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -553,7 +553,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxSashWindow.erl b/lib/wx/src/gen/wxSashWindow.erl index c665dd4c9a..49fb82f828 100644 --- a/lib/wx/src/gen/wxSashWindow.erl +++ b/lib/wx/src/gen/wxSashWindow.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} %% </p> @@ -184,11 +184,11 @@ setSashVisible(#wx_ref{type=ThisT,ref=ThisRef},Edge,Sash) %% @spec (This::wxSashWindow()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSashWindow), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -539,7 +539,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxScreenDC.erl b/lib/wx/src/gen/wxScreenDC.erl index 86b62a48c7..4d7466f4f1 100644 --- a/lib/wx/src/gen/wxScreenDC.erl +++ b/lib/wx/src/gen/wxScreenDC.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxDC} %% </p> %% @type wxScreenDC(). An object reference, The representation is internal @@ -64,11 +64,11 @@ new() -> %% @spec (This::wxScreenDC()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxScreenDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxDC + %% From wxDC %% @hidden startPage(This) -> wxDC:startPage(This). %% @hidden diff --git a/lib/wx/src/gen/wxScrollBar.erl b/lib/wx/src/gen/wxScrollBar.erl index 9ca197af8d..41ca8d867f 100644 --- a/lib/wx/src/gen/wxScrollBar.erl +++ b/lib/wx/src/gen/wxScrollBar.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -181,16 +181,16 @@ setScrollbar(#wx_ref{type=ThisT,ref=ThisRef},Position,ThumbSize,Range,PageSize, %% @spec (This::wxScrollBar()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxScrollBar), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -533,7 +533,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxScrollEvent.erl b/lib/wx/src/gen/wxScrollEvent.erl index 19e21e6b03..61b99fa360 100644 --- a/lib/wx/src/gen/wxScrollEvent.erl +++ b/lib/wx/src/gen/wxScrollEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxCommandEvent} %% <br />{@link wxEvent} %% </p> @@ -59,7 +59,7 @@ getPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxScrollEvent_GetPosition, <<ThisRef:32/?UI>>). - %% From wxCommandEvent + %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). %% @hidden @@ -78,7 +78,7 @@ getInt(This) -> wxCommandEvent:getInt(This). getExtraLong(This) -> wxCommandEvent:getExtraLong(This). %% @hidden getClientData(This) -> wxCommandEvent:getClientData(This). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxScrollWinEvent.erl b/lib/wx/src/gen/wxScrollWinEvent.erl index 9b7fcca3da..6b33b6b564 100644 --- a/lib/wx/src/gen/wxScrollWinEvent.erl +++ b/lib/wx/src/gen/wxScrollWinEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxScrollWinEvent(). An object reference, The representation is internal @@ -55,7 +55,7 @@ getPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxScrollWinEvent_GetPosition, <<ThisRef:32/?UI>>). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxScrolledWindow.erl b/lib/wx/src/gen/wxScrolledWindow.erl index 9673d09fe8..a6f813d1a2 100644 --- a/lib/wx/src/gen/wxScrolledWindow.erl +++ b/lib/wx/src/gen/wxScrolledWindow.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxPanel} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -221,14 +221,14 @@ setTargetWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=TargetT,ref=TargetR %% @spec (This::wxScrolledWindow()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxScrolledWindow), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxPanel + %% From wxPanel %% @hidden initDialog(This) -> wxPanel:initDialog(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -577,7 +577,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxSetCursorEvent.erl b/lib/wx/src/gen/wxSetCursorEvent.erl index 75cf542ba1..75a41eb6ad 100644 --- a/lib/wx/src/gen/wxSetCursorEvent.erl +++ b/lib/wx/src/gen/wxSetCursorEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxSetCursorEvent(). An object reference, The representation is internal @@ -77,7 +77,7 @@ setCursor(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=CursorT,ref=CursorRef}) - wxe_util:cast(?wxSetCursorEvent_SetCursor, <<ThisRef:32/?UI,CursorRef:32/?UI>>). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxShowEvent.erl b/lib/wx/src/gen/wxShowEvent.erl index c00b1acbee..7d5c8300d3 100644 --- a/lib/wx/src/gen/wxShowEvent.erl +++ b/lib/wx/src/gen/wxShowEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxShowEvent(). An object reference, The representation is internal @@ -56,7 +56,7 @@ getShow(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxShowEvent_GetShow, <<ThisRef:32/?UI>>). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxSingleChoiceDialog.erl b/lib/wx/src/gen/wxSingleChoiceDialog.erl index 9424a536cd..16e0c3d8ce 100644 --- a/lib/wx/src/gen/wxSingleChoiceDialog.erl +++ b/lib/wx/src/gen/wxSingleChoiceDialog.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxDialog} %% <br />{@link wxTopLevelWindow} %% <br />{@link wxWindow} @@ -137,11 +137,11 @@ setSelection(#wx_ref{type=ThisT,ref=ThisRef},Sel) %% @spec (This::wxSingleChoiceDialog()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSingleChoiceDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxDialog + %% From wxDialog %% @hidden showModal(This) -> wxDialog:showModal(This). %% @hidden @@ -164,7 +164,7 @@ endModal(This,RetCode) -> wxDialog:endModal(This,RetCode). createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags). %% @hidden createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags). - %% From wxTopLevelWindow + %% From wxTopLevelWindow %% @hidden showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options). %% @hidden @@ -211,7 +211,7 @@ getTitle(This) -> wxTopLevelWindow:getTitle(This). getIcons(This) -> wxTopLevelWindow:getIcons(This). %% @hidden getIcon(This) -> wxTopLevelWindow:getIcon(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -558,7 +558,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxSizeEvent.erl b/lib/wx/src/gen/wxSizeEvent.erl index 115f6d3f6c..9e7619ebbd 100644 --- a/lib/wx/src/gen/wxSizeEvent.erl +++ b/lib/wx/src/gen/wxSizeEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxSizeEvent(). An object reference, The representation is internal @@ -48,7 +48,7 @@ getSize(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxSizeEvent_GetSize, <<ThisRef:32/?UI>>). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxSizer.erl b/lib/wx/src/gen/wxSizer.erl index 7cc31b1b6e..716b2224b5 100644 --- a/lib/wx/src/gen/wxSizer.erl +++ b/lib/wx/src/gen/wxSizer.erl @@ -47,7 +47,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% add(This::wxSizer(), Width::integer(), Height::integer()) -> add(This,Width,Height, []) </c></p> %% <p><c> @@ -159,7 +159,7 @@ clear(#wx_ref{type=ThisT,ref=ThisRef}, Options) %% @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: +%% <br /> Alternatives: %% <p><c> %% detach(This::wxSizer(), Index::integer()) -> bool() </c> %% </p> @@ -207,7 +207,7 @@ getChildren(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% getItem(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> getItem(This,Window, []) </c></p> %% <p><c> @@ -264,7 +264,7 @@ getMinSize(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% hide(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> hide(This,Window, []) </c></p> %% <p><c> @@ -300,7 +300,7 @@ hide(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}, Option %% @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: +%% <br /> Alternatives: %% <p><c> %% insert(This::wxSizer(), Index::integer(), Window::wxWindow:wxWindow() | wxSizer()) -> insert(This,Index,Window, []) </c></p> %% <p><c> @@ -319,7 +319,7 @@ insert(#wx_ref{type=ThisT,ref=ThisRef},Index,#wx_ref{type=ItemT,ref=ItemRef}) %% @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: +%% <br /> Alternatives: %% <p><c> %% insert(This::wxSizer(), Index::integer(), Width::integer(), Height::integer()) -> insert(This,Index,Width,Height, []) </c></p> %% <p><c> @@ -407,7 +407,7 @@ insertStretchSpacer(#wx_ref{type=ThisT,ref=ThisRef},Index, Options) %% @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: +%% <br /> Alternatives: %% <p><c> %% isShown(This::wxSizer(), Index::integer()) -> bool() </c> %% </p> @@ -439,7 +439,7 @@ layout(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% prepend(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> prepend(This,Window, []) </c></p> %% <p><c> @@ -457,7 +457,7 @@ prepend(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% prepend(This::wxSizer(), Width::integer(), Height::integer()) -> prepend(This,Width,Height, []) </c></p> %% <p><c> @@ -551,7 +551,7 @@ recalcSizes(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% remove(This::wxSizer(), Index::integer()) -> bool() </c> %% </p> @@ -571,7 +571,7 @@ remove(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=SizerT,ref=SizerRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% replace(This::wxSizer(), Oldwin::wxWindow:wxWindow() | wxSizer(), Newwin::wxWindow:wxWindow() | wxSizer()) -> replace(This,Oldwin,Newwin, []) </c></p> %% <p><c> @@ -634,7 +634,7 @@ setMinSize(#wx_ref{type=ThisT,ref=ThisRef},Width,Height) %% @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: +%% <br /> Alternatives: %% <p><c> %% setItemMinSize(This::wxSizer(), Index::integer(), Size::{W::integer(),H::integer()}) -> bool() </c> %% </p> @@ -660,7 +660,7 @@ setItemMinSize(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRe %% @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: +%% <br /> Alternatives: %% <p><c> %% setItemMinSize(This::wxSizer(), Index::integer(), Width::integer(), Height::integer()) -> bool() </c> %% </p> @@ -702,7 +702,7 @@ setVirtualSizeHints(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=Win %% @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: +%% <br /> Alternatives: %% <p><c> %% show(This::wxSizer(), Index::integer()) -> show(This,Index, []) </c></p> %% <p><c> @@ -726,7 +726,7 @@ show(#wx_ref{type=ThisT,ref=ThisRef},Show) %% @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: +%% <br /> Alternatives: %% <p><c> %% show(This::wxSizer(), Index::integer(), [Option]) -> bool() </c> %%<br /> Option = {show, bool()} diff --git a/lib/wx/src/gen/wxSizerFlags.erl b/lib/wx/src/gen/wxSizerFlags.erl index 8dfaa2ca4b..2a25fd2c1a 100644 --- a/lib/wx/src/gen/wxSizerFlags.erl +++ b/lib/wx/src/gen/wxSizerFlags.erl @@ -128,7 +128,7 @@ right(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxSizerFlags()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index e69b269b21..1e9f05d53c 100644 --- a/lib/wx/src/gen/wxSizerItem.erl +++ b/lib/wx/src/gen/wxSizerItem.erl @@ -280,7 +280,7 @@ setProportion(#wx_ref{type=ThisT,ref=ThisRef},Proportion) %% @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: +%% <br /> Alternatives: %% <p><c> %% setRatio(This::wxSizerItem(), Ratio::float()) -> ok </c> %% </p> @@ -348,7 +348,7 @@ show(#wx_ref{type=ThisT,ref=ThisRef},Show) %% @spec (This::wxSizerItem()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 55418ece91..c70f127a5b 100644 --- a/lib/wx/src/gen/wxSlider.erl +++ b/lib/wx/src/gen/wxSlider.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -210,16 +210,16 @@ setValue(#wx_ref{type=ThisT,ref=ThisRef},Value) %% @spec (This::wxSlider()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSlider), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -566,7 +566,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxSpinButton.erl b/lib/wx/src/gen/wxSpinButton.erl index 5c0c3637a1..027699e295 100644 --- a/lib/wx/src/gen/wxSpinButton.erl +++ b/lib/wx/src/gen/wxSpinButton.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -164,16 +164,16 @@ setValue(#wx_ref{type=ThisT,ref=ThisRef},Value) %% @spec (This::wxSpinButton()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSpinButton), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -520,7 +520,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxSpinCtrl.erl b/lib/wx/src/gen/wxSpinCtrl.erl index ae137195c9..6b77376b40 100644 --- a/lib/wx/src/gen/wxSpinCtrl.erl +++ b/lib/wx/src/gen/wxSpinCtrl.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -135,7 +135,7 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Opti %% @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: +%% <br /> Alternatives: %% <p><c> %% setValue(This::wxSpinCtrl(), Value::integer()) -> ok </c> %% </p> @@ -193,16 +193,16 @@ getMax(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxSpinCtrl()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSpinCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -549,7 +549,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxSpinEvent.erl b/lib/wx/src/gen/wxSpinEvent.erl index 37fc6e6457..82edc70983 100644 --- a/lib/wx/src/gen/wxSpinEvent.erl +++ b/lib/wx/src/gen/wxSpinEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxNotifyEvent} %% <br />{@link wxCommandEvent} %% <br />{@link wxEvent} @@ -62,14 +62,14 @@ setPosition(#wx_ref{type=ThisT,ref=ThisRef},Pos) wxe_util:cast(?wxSpinEvent_SetPosition, <<ThisRef:32/?UI,Pos:32/?UI>>). - %% From wxNotifyEvent + %% From wxNotifyEvent %% @hidden veto(This) -> wxNotifyEvent:veto(This). %% @hidden isAllowed(This) -> wxNotifyEvent:isAllowed(This). %% @hidden allow(This) -> wxNotifyEvent:allow(This). - %% From wxCommandEvent + %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). %% @hidden @@ -88,7 +88,7 @@ getInt(This) -> wxCommandEvent:getInt(This). getExtraLong(This) -> wxCommandEvent:getExtraLong(This). %% @hidden getClientData(This) -> wxCommandEvent:getClientData(This). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxSplashScreen.erl b/lib/wx/src/gen/wxSplashScreen.erl index c7c5d5cf90..8806d07018 100644 --- a/lib/wx/src/gen/wxSplashScreen.erl +++ b/lib/wx/src/gen/wxSplashScreen.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxFrame} %% <br />{@link wxTopLevelWindow} %% <br />{@link wxWindow} @@ -130,11 +130,11 @@ getTimeout(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxSplashScreen()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSplashScreen), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxFrame + %% From wxFrame %% @hidden setToolBar(This,Toolbar) -> wxFrame:setToolBar(This,Toolbar). %% @hidden @@ -171,7 +171,7 @@ createToolBar(This) -> wxFrame:createToolBar(This). createStatusBar(This, Options) -> wxFrame:createStatusBar(This, Options). %% @hidden createStatusBar(This) -> wxFrame:createStatusBar(This). - %% From wxTopLevelWindow + %% From wxTopLevelWindow %% @hidden showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options). %% @hidden @@ -218,7 +218,7 @@ getTitle(This) -> wxTopLevelWindow:getTitle(This). getIcons(This) -> wxTopLevelWindow:getIcons(This). %% @hidden getIcon(This) -> wxTopLevelWindow:getIcon(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -569,7 +569,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxSplitterEvent.erl b/lib/wx/src/gen/wxSplitterEvent.erl index 0f40455998..512f858284 100644 --- a/lib/wx/src/gen/wxSplitterEvent.erl +++ b/lib/wx/src/gen/wxSplitterEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxNotifyEvent} %% <br />{@link wxCommandEvent} %% <br />{@link wxEvent} @@ -83,14 +83,14 @@ setSashPosition(#wx_ref{type=ThisT,ref=ThisRef},Pos) wxe_util:cast(?wxSplitterEvent_SetSashPosition, <<ThisRef:32/?UI,Pos:32/?UI>>). - %% From wxNotifyEvent + %% From wxNotifyEvent %% @hidden veto(This) -> wxNotifyEvent:veto(This). %% @hidden isAllowed(This) -> wxNotifyEvent:isAllowed(This). %% @hidden allow(This) -> wxNotifyEvent:allow(This). - %% From wxCommandEvent + %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). %% @hidden @@ -109,7 +109,7 @@ getInt(This) -> wxCommandEvent:getInt(This). getExtraLong(This) -> wxCommandEvent:getExtraLong(This). %% @hidden getClientData(This) -> wxCommandEvent:getClientData(This). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxSplitterWindow.erl b/lib/wx/src/gen/wxSplitterWindow.erl index 689ddd03b2..9e27be7475 100644 --- a/lib/wx/src/gen/wxSplitterWindow.erl +++ b/lib/wx/src/gen/wxSplitterWindow.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} %% </p> @@ -312,11 +312,11 @@ updateSize(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxSplitterWindow()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSplitterWindow), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -667,7 +667,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxStaticBitmap.erl b/lib/wx/src/gen/wxStaticBitmap.erl index 8c6adc16aa..6fbc59236d 100644 --- a/lib/wx/src/gen/wxStaticBitmap.erl +++ b/lib/wx/src/gen/wxStaticBitmap.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -141,16 +141,16 @@ setBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) - %% @spec (This::wxStaticBitmap()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStaticBitmap), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -497,7 +497,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxStaticBox.erl b/lib/wx/src/gen/wxStaticBox.erl index da53a5c2fe..ad54184867 100644 --- a/lib/wx/src/gen/wxStaticBox.erl +++ b/lib/wx/src/gen/wxStaticBox.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -126,16 +126,16 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,La %% @spec (This::wxStaticBox()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStaticBox), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -482,7 +482,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxStaticBoxSizer.erl b/lib/wx/src/gen/wxStaticBoxSizer.erl index efe1918b21..5f346b7a1e 100644 --- a/lib/wx/src/gen/wxStaticBoxSizer.erl +++ b/lib/wx/src/gen/wxStaticBoxSizer.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxBoxSizer} %% <br />{@link wxSizer} %% </p> @@ -48,7 +48,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% new(Orient::integer(), Win::wxWindow:wxWindow()) -> new(Orient,Win, []) </c></p> %% <p><c> @@ -85,14 +85,14 @@ getStaticBox(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxStaticBoxSizer()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStaticBoxSizer), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxBoxSizer + %% From wxBoxSizer %% @hidden getOrientation(This) -> wxBoxSizer:getOrientation(This). - %% From wxSizer + %% From wxSizer %% @hidden show(This,Index, Options) -> wxSizer:show(This,Index, Options). %% @hidden diff --git a/lib/wx/src/gen/wxStaticLine.erl b/lib/wx/src/gen/wxStaticLine.erl index b879e53ab0..e3a1bedbdc 100644 --- a/lib/wx/src/gen/wxStaticLine.erl +++ b/lib/wx/src/gen/wxStaticLine.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -140,16 +140,16 @@ getDefaultSize() -> %% @spec (This::wxStaticLine()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStaticLine), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -496,7 +496,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxStaticText.erl b/lib/wx/src/gen/wxStaticText.erl index baac7b1877..46c73a5998 100644 --- a/lib/wx/src/gen/wxStaticText.erl +++ b/lib/wx/src/gen/wxStaticText.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -150,12 +150,12 @@ wrap(#wx_ref{type=ThisT,ref=ThisRef},Width) %% @spec (This::wxStaticText()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStaticText), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl - %% From wxWindow + %% From wxControl + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -502,7 +502,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxStatusBar.erl b/lib/wx/src/gen/wxStatusBar.erl index c7e605c65b..52467117d7 100644 --- a/lib/wx/src/gen/wxStatusBar.erl +++ b/lib/wx/src/gen/wxStatusBar.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} %% </p> @@ -257,11 +257,11 @@ setStatusStyles(#wx_ref{type=ThisT,ref=ThisRef},Styles) %% @spec (This::wxStatusBar()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStatusBar), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -612,7 +612,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxStdDialogButtonSizer.erl b/lib/wx/src/gen/wxStdDialogButtonSizer.erl index 4826fae0a7..b0052ca2e1 100644 --- a/lib/wx/src/gen/wxStdDialogButtonSizer.erl +++ b/lib/wx/src/gen/wxStdDialogButtonSizer.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxBoxSizer} %% <br />{@link wxSizer} %% </p> @@ -94,14 +94,14 @@ setNegativeButton(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ButtonT,ref=Butto %% @spec (This::wxStdDialogButtonSizer()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStdDialogButtonSizer), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxBoxSizer + %% From wxBoxSizer %% @hidden getOrientation(This) -> wxBoxSizer:getOrientation(This). - %% From wxSizer + %% From wxSizer %% @hidden show(This,Index, Options) -> wxSizer:show(This,Index, Options). %% @hidden diff --git a/lib/wx/src/gen/wxStyledTextCtrl.erl b/lib/wx/src/gen/wxStyledTextCtrl.erl index edf6d9cfed..71d1bd0d53 100644 --- a/lib/wx/src/gen/wxStyledTextCtrl.erl +++ b/lib/wx/src/gen/wxStyledTextCtrl.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -3619,16 +3619,16 @@ appendTextRaw(#wx_ref{type=ThisT,ref=ThisRef},Text) %% @spec (This::wxStyledTextCtrl()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStyledTextCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -3967,7 +3967,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxStyledTextEvent.erl b/lib/wx/src/gen/wxStyledTextEvent.erl index 753431e47e..5d98ae585d 100644 --- a/lib/wx/src/gen/wxStyledTextEvent.erl +++ b/lib/wx/src/gen/wxStyledTextEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxCommandEvent} %% <br />{@link wxEvent} %% </p> @@ -212,7 +212,7 @@ getAlt(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxStyledTextEvent_GetAlt, <<ThisRef:32/?UI>>). - %% From wxCommandEvent + %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). %% @hidden @@ -231,7 +231,7 @@ getInt(This) -> wxCommandEvent:getInt(This). getExtraLong(This) -> wxCommandEvent:getExtraLong(This). %% @hidden getClientData(This) -> wxCommandEvent:getClientData(This). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxSysColourChangedEvent.erl b/lib/wx/src/gen/wxSysColourChangedEvent.erl index 2b0d12d78a..0d86edcf5b 100644 --- a/lib/wx/src/gen/wxSysColourChangedEvent.erl +++ b/lib/wx/src/gen/wxSysColourChangedEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvent} %% </p> %% @type wxSysColourChangedEvent(). An object reference, The representation is internal @@ -41,7 +41,7 @@ parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxTextAttr.erl b/lib/wx/src/gen/wxTextAttr.erl index d504588e28..056dc59161 100644 --- a/lib/wx/src/gen/wxTextAttr.erl +++ b/lib/wx/src/gen/wxTextAttr.erl @@ -247,7 +247,7 @@ setTextColour(#wx_ref{type=ThisT,ref=ThisRef},ColText) %% @spec (This::wxTextAttr()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 43ce66d744..b4af23bdd9 100644 --- a/lib/wx/src/gen/wxTextCtrl.erl +++ b/lib/wx/src/gen/wxTextCtrl.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -507,16 +507,16 @@ xYToPosition(#wx_ref{type=ThisT,ref=ThisRef},X,Y) %% @spec (This::wxTextCtrl()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxTextCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -863,7 +863,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxTextDataObject.erl b/lib/wx/src/gen/wxTextDataObject.erl index 5905977270..f4fe3b5e0c 100644 --- a/lib/wx/src/gen/wxTextDataObject.erl +++ b/lib/wx/src/gen/wxTextDataObject.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxDataObject} %% </p> %% @type wxTextDataObject(). An object reference, The representation is internal @@ -77,8 +77,8 @@ setText(#wx_ref{type=ThisT,ref=ThisRef},Text) %% @spec (This::wxTextDataObject()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxTextDataObject), wxe_util:destroy(?wxTextDataObject_destroy,Obj), ok. - %% From wxDataObject + %% From wxDataObject diff --git a/lib/wx/src/gen/wxTextEntryDialog.erl b/lib/wx/src/gen/wxTextEntryDialog.erl index 5957a8aa54..a30c32dd53 100644 --- a/lib/wx/src/gen/wxTextEntryDialog.erl +++ b/lib/wx/src/gen/wxTextEntryDialog.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxDialog} %% <br />{@link wxTopLevelWindow} %% <br />{@link wxWindow} @@ -124,11 +124,11 @@ setValue(#wx_ref{type=ThisT,ref=ThisRef},Val) %% @spec (This::wxTextEntryDialog()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxTextEntryDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxDialog + %% From wxDialog %% @hidden showModal(This) -> wxDialog:showModal(This). %% @hidden @@ -151,7 +151,7 @@ endModal(This,RetCode) -> wxDialog:endModal(This,RetCode). createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags). %% @hidden createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags). - %% From wxTopLevelWindow + %% From wxTopLevelWindow %% @hidden showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options). %% @hidden @@ -198,7 +198,7 @@ getTitle(This) -> wxTopLevelWindow:getTitle(This). getIcons(This) -> wxTopLevelWindow:getIcons(This). %% @hidden getIcon(This) -> wxTopLevelWindow:getIcon(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -545,7 +545,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxToggleButton.erl b/lib/wx/src/gen/wxToggleButton.erl index dccf2e6e7d..ab595c1906 100644 --- a/lib/wx/src/gen/wxToggleButton.erl +++ b/lib/wx/src/gen/wxToggleButton.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -143,16 +143,16 @@ setValue(#wx_ref{type=ThisT,ref=ThisRef},State) %% @spec (This::wxToggleButton()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxToggleButton), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -499,7 +499,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxToolBar.erl b/lib/wx/src/gen/wxToolBar.erl index 0af762e0bd..c68936d493 100644 --- a/lib/wx/src/gen/wxToolBar.erl +++ b/lib/wx/src/gen/wxToolBar.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -114,7 +114,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% addTool(This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap()) -> addTool(This,Toolid,Label,Bitmap, []) </c></p> %% <p><c> @@ -144,7 +144,7 @@ addTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,#wx_ref{type=BitmapT,ref=BitmapRe %% @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: +%% <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> @@ -188,7 +188,7 @@ addTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,#wx_ref{type=BitmapT,ref=BitmapRe %% @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: +%% <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> @@ -436,7 +436,7 @@ 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: +%% <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> @@ -554,12 +554,12 @@ toggleTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Toggle) wxe_util:cast(?wxToolBar_ToggleTool, <<ThisRef:32/?UI,Toolid:32/?UI,(wxe_util:from_bool(Toggle)):32/?UI>>). - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -906,7 +906,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxToolTip.erl b/lib/wx/src/gen/wxToolTip.erl index b56e632cab..b0749c851a 100644 --- a/lib/wx/src/gen/wxToolTip.erl +++ b/lib/wx/src/gen/wxToolTip.erl @@ -79,7 +79,7 @@ getWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @spec (This::wxToolTip()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +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 index 31f4830700..4d188e979d 100644 --- a/lib/wx/src/gen/wxToolbook.erl +++ b/lib/wx/src/gen/wxToolbook.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -329,16 +329,16 @@ changeSelection(#wx_ref{type=ThisT,ref=ThisRef},N) %% @spec (This::wxToolbook()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxToolbook), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -685,7 +685,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxTopLevelWindow.erl b/lib/wx/src/gen/wxTopLevelWindow.erl index 75eeaca2bb..e0551b480f 100644 --- a/lib/wx/src/gen/wxTopLevelWindow.erl +++ b/lib/wx/src/gen/wxTopLevelWindow.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} %% </p> @@ -267,7 +267,7 @@ showFullScreen(#wx_ref{type=ThisT,ref=ThisRef},Show, Options) wxe_util:call(?wxTopLevelWindow_ShowFullScreen, <<ThisRef:32/?UI,(wxe_util:from_bool(Show)):32/?UI, BinOpt/binary>>). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -618,7 +618,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxTreeCtrl.erl b/lib/wx/src/gen/wxTreeCtrl.erl index e53726a6a6..4fcbb9366e 100644 --- a/lib/wx/src/gen/wxTreeCtrl.erl +++ b/lib/wx/src/gen/wxTreeCtrl.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2009. All Rights Reserved. +%% Copyright Ericsson AB 2008-2010. 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 @@ -22,7 +22,7 @@ %% Note: The representation of treeItemId() have changed from the original class implementation to be an semi-opaque type,Equality between TreeItemId's can be tested and zero means that the TreeItem is invalid. %% -%% <p>This class is derived (and can use functions) from: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -801,16 +801,16 @@ unselectItem(#wx_ref{type=ThisT,ref=ThisRef},Item) %% @spec (This::wxTreeCtrl()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxTreeCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -1155,7 +1155,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxTreeEvent.erl b/lib/wx/src/gen/wxTreeEvent.erl index 42edab5f3d..d5379b7abe 100644 --- a/lib/wx/src/gen/wxTreeEvent.erl +++ b/lib/wx/src/gen/wxTreeEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2009. All Rights Reserved. +%% Copyright Ericsson AB 2008-2010. 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 @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxNotifyEvent} %% <br />{@link wxCommandEvent} %% <br />{@link wxEvent} @@ -106,14 +106,14 @@ setToolTip(#wx_ref{type=ThisT,ref=ThisRef},ToolTip) 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 + %% From wxNotifyEvent %% @hidden veto(This) -> wxNotifyEvent:veto(This). %% @hidden isAllowed(This) -> wxNotifyEvent:isAllowed(This). %% @hidden allow(This) -> wxNotifyEvent:allow(This). - %% From wxCommandEvent + %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). %% @hidden @@ -132,7 +132,7 @@ getInt(This) -> wxCommandEvent:getInt(This). getExtraLong(This) -> wxCommandEvent:getExtraLong(This). %% @hidden getClientData(This) -> wxCommandEvent:getClientData(This). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxTreebook.erl b/lib/wx/src/gen/wxTreebook.erl index 2117388623..a515ec9639 100644 --- a/lib/wx/src/gen/wxTreebook.erl +++ b/lib/wx/src/gen/wxTreebook.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxControl} %% <br />{@link wxWindow} %% <br />{@link wxEvtHandler} @@ -377,16 +377,16 @@ changeSelection(#wx_ref{type=ThisT,ref=ThisRef},N) %% @spec (This::wxTreebook()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxTreebook), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxControl + %% From wxControl %% @hidden setLabel(This,Label) -> wxControl:setLabel(This,Label). %% @hidden getLabel(This) -> wxControl:getLabel(This). - %% From wxWindow + %% From wxWindow %% @hidden warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y). %% @hidden @@ -733,7 +733,7 @@ center(This) -> wxWindow:center(This). captureMouse(This) -> wxWindow:captureMouse(This). %% @hidden cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size). - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxUpdateUIEvent.erl b/lib/wx/src/gen/wxUpdateUIEvent.erl index 9dd4c5caf9..baf9fc8b52 100644 --- a/lib/wx/src/gen/wxUpdateUIEvent.erl +++ b/lib/wx/src/gen/wxUpdateUIEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxCommandEvent} %% <br />{@link wxEvent} %% </p> @@ -179,7 +179,7 @@ setUpdateInterval(UpdateInterval) wxe_util:cast(?wxUpdateUIEvent_SetUpdateInterval, <<UpdateInterval:32/?UI>>). - %% From wxCommandEvent + %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). %% @hidden @@ -198,7 +198,7 @@ getInt(This) -> wxCommandEvent:getInt(This). getExtraLong(This) -> wxCommandEvent:getExtraLong(This). %% @hidden getClientData(This) -> wxCommandEvent:getClientData(This). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxWindow.erl b/lib/wx/src/gen/wxWindow.erl index be9727757c..33665a0ad6 100644 --- a/lib/wx/src/gen/wxWindow.erl +++ b/lib/wx/src/gen/wxWindow.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxEvtHandler} %% </p> %% @type wxWindow(). An object reference, The representation is internal @@ -290,7 +290,7 @@ 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: +%% <br /> Alternatives: %% <p><c> %% findWindow(This::wxWindow(), Winid::integer()) -> wxWindow() </c> %% </p> @@ -747,7 +747,7 @@ isEnabled(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% isExposed(This::wxWindow(), Pt::{X::integer(),Y::integer()}) -> bool() </c> %% </p> @@ -856,7 +856,7 @@ move(This,Pt={PtX,PtY}) %% @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: +%% <br /> Alternatives: %% <p><c> %% move(This::wxWindow(), X::integer(), Y::integer()) -> move(This,X,Y, []) </c></p> %% <p><c> @@ -1142,7 +1142,7 @@ setCaret(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=CaretT,ref=CaretRef}) -> %% @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: +%% <br /> Alternatives: %% <p><c> %% setClientSize(This::wxWindow(), Size::{W::integer(),H::integer()}) -> ok </c> %% </p> @@ -1351,7 +1351,7 @@ setScrollPos(#wx_ref{type=ThisT,ref=ThisRef},Orient,Pos, Options) %% @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: +%% <br /> Alternatives: %% <p><c> %% setSize(This::wxWindow(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> setSize(This,Rect, []) </c></p> %% <p><c> @@ -1369,7 +1369,7 @@ setSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) %% @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: +%% <br /> Alternatives: %% <p><c> %% setSize(This::wxWindow(), Width::integer(), Height::integer()) -> ok </c> %% </p> @@ -1417,7 +1417,7 @@ setSizeHints(This,MinSize={MinSizeW,MinSizeH}) %% @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: +%% <br /> Alternatives: %% <p><c> %% setSizeHints(This::wxWindow(), MinW::integer(), MinH::integer()) -> setSizeHints(This,MinW,MinH, []) </c></p> %% <p><c> @@ -1501,7 +1501,7 @@ setThemeEnabled(#wx_ref{type=ThisT,ref=ThisRef},EnableTheme) %% @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: +%% <br /> Alternatives: %% <p><c> %% setToolTip(This::wxWindow(), Tip::string()) -> ok </c> %% </p> @@ -1544,7 +1544,7 @@ setVirtualSizeHints(This,MinSize={MinSizeW,MinSizeH}) %% @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: +%% <br /> Alternatives: %% <p><c> %% setVirtualSizeHints(This::wxWindow(), MinW::integer(), MinH::integer()) -> setVirtualSizeHints(This,MinW,MinH, []) </c></p> %% <p><c> @@ -1691,11 +1691,11 @@ warpPointer(#wx_ref{type=ThisT,ref=ThisRef},X,Y) %% @spec (This::wxWindow()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxWindow), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxEvtHandler + %% From wxEvtHandler %% @hidden disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). %% @hidden diff --git a/lib/wx/src/gen/wxWindowCreateEvent.erl b/lib/wx/src/gen/wxWindowCreateEvent.erl index fa58999b92..c8b3c74f81 100644 --- a/lib/wx/src/gen/wxWindowCreateEvent.erl +++ b/lib/wx/src/gen/wxWindowCreateEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxCommandEvent} %% <br />{@link wxEvent} %% </p> @@ -45,7 +45,7 @@ parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). - %% From wxCommandEvent + %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). %% @hidden @@ -64,7 +64,7 @@ getInt(This) -> wxCommandEvent:getInt(This). getExtraLong(This) -> wxCommandEvent:getExtraLong(This). %% @hidden getClientData(This) -> wxCommandEvent:getClientData(This). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxWindowDC.erl b/lib/wx/src/gen/wxWindowDC.erl index a441d178da..17cbd3d378 100644 --- a/lib/wx/src/gen/wxWindowDC.erl +++ b/lib/wx/src/gen/wxWindowDC.erl @@ -18,7 +18,7 @@ %% 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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxDC} %% </p> %% @type wxWindowDC(). An object reference, The representation is internal @@ -71,11 +71,11 @@ new(#wx_ref{type=WinT,ref=WinRef}) -> %% @spec (This::wxWindowDC()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxWindowDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. - %% From wxDC + %% From wxDC %% @hidden startPage(This) -> wxDC:startPage(This). %% @hidden diff --git a/lib/wx/src/gen/wxWindowDestroyEvent.erl b/lib/wx/src/gen/wxWindowDestroyEvent.erl index 40ec93af5d..e62700da4a 100644 --- a/lib/wx/src/gen/wxWindowDestroyEvent.erl +++ b/lib/wx/src/gen/wxWindowDestroyEvent.erl @@ -22,7 +22,7 @@ %% <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: +%% <p>This class is derived (and can use functions) from: %% <br />{@link wxCommandEvent} %% <br />{@link wxEvent} %% </p> @@ -45,7 +45,7 @@ parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). - %% From wxCommandEvent + %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). %% @hidden @@ -64,7 +64,7 @@ getInt(This) -> wxCommandEvent:getInt(This). getExtraLong(This) -> wxCommandEvent:getExtraLong(This). %% @hidden getClientData(This) -> wxCommandEvent:getClientData(This). - %% From wxEvent + %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). %% @hidden diff --git a/lib/wx/src/gen/wxXmlResource.erl b/lib/wx/src/gen/wxXmlResource.erl index 3a7070e2c1..2b69a49bd7 100644 --- a/lib/wx/src/gen/wxXmlResource.erl +++ b/lib/wx/src/gen/wxXmlResource.erl @@ -320,7 +320,7 @@ xrcctrl(Window = #wx_ref{}, Name, Type) when is_list(Name), is_atom(Type) -> %% @spec (This::wxXmlResource()) -> ok %% @doc Destroys this object, do not use object again -destroy(Obj=#wx_ref{type=Type}) -> +destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxXmlResource), wxe_util:destroy(?DESTROY_OBJECT,Obj), ok. diff --git a/lib/wx/src/gen/wxe_debug.hrl b/lib/wx/src/gen/wxe_debug.hrl index e46a05d0d6..68a3b4ccd8 100644 --- a/lib/wx/src/gen/wxe_debug.hrl +++ b/lib/wx/src/gen/wxe_debug.hrl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2009. All Rights Reserved. +%% Copyright Ericsson AB 2008-2010. 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 @@ -17,7 +17,7 @@ %% %CopyrightEnd% %% This file is generated DO NOT EDIT -wxdebug_table() -> +wxdebug_table() -> [ {0, {wx, internal_batch_start, 0}}, {1, {wx, internal_batch_end, 0}}, |