diff options
Diffstat (limited to 'lib/wx/c_src/gen')
-rw-r--r-- | lib/wx/c_src/gen/wxe_derived_dest.h | 692 | ||||
-rw-r--r-- | lib/wx/c_src/gen/wxe_events.cpp | 52 | ||||
-rw-r--r-- | lib/wx/c_src/gen/wxe_funcs.cpp | 14434 | ||||
-rw-r--r-- | lib/wx/c_src/gen/wxe_macros.h | 2 |
4 files changed, 7590 insertions, 7590 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 |