1//--------------------------------------------------------------------------- 2// This file is generated by wxPython's SIP generator. Do not edit by hand. 3// 4// Copyright: (c) 2018 by Total Control Software 5// License: wxWindows License 6// 7// This file will be included by _msw.sip 8// 9//--------------------------------------------------------------------------- 10 11%ModuleHeaderCode 12 class wxPyAxBaseWindow : public wxWindow 13 { 14 DECLARE_DYNAMIC_CLASS(wxPyAxBaseWindow) 15 public: 16 wxPyAxBaseWindow(wxWindow* parent, const wxWindowID id=-1, 17 const wxPoint& pos = wxDefaultPosition, 18 const wxSize& size = wxDefaultSize, 19 long style = 0, 20 const wxString& name = wxPanelNameStr) 21 : wxWindow(parent, id, pos, size, style, name) {} 22 wxPyAxBaseWindow() : wxWindow() {} 23 virtual bool MSWTranslateMessage(WXMSG* msg) 24 { 25 return wxWindow::MSWTranslateMessage(msg); 26 } 27 }; 28 29%End 30 31%ModuleCode 32 IMPLEMENT_DYNAMIC_CLASS(wxPyAxBaseWindow, wxWindow); 33 34%End 35 36//--------------------------------------------------------------------------- 37 38typedef void WXMSG; 39 40class wxPyAxBaseWindow : wxWindow 41{ 42 %Docstring 43 PyAxBaseWindow(parent, id=-1, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0, name=wx.PanelNameStr) 44 PyAxBaseWindow() 45 46 A Window class for use with ActiveX controls. 47 48 This Window class exposes some low-level Microsoft Windows 49 specific methods which can be overridden in Python. Intended for 50 use as an ActiveX container, but could also be useful 51 elsewhere. 52 %End 53public: 54 wxPyAxBaseWindow( 55 wxWindow* parent, 56 const wxWindowID id = -1, 57 const wxPoint& pos = wxDefaultPosition, 58 const wxSize& size = wxDefaultSize, 59 long style = 0, 60 const wxString& name = wxPanelNameStr 61 ); 62 63 wxPyAxBaseWindow(); 64 65 virtual 66 bool MSWTranslateMessage( 67 WXMSG* msg 68 ); 69 %Docstring 70 MSWTranslateMessage(msg) -> bool 71 %End 72 73}; // end of class wxPyAxBaseWindow 74 75 76 77//--------------------------------------------------------------------------- 78 79