Update of /cvsroot/wxlua/wxLua/bindings/wxwidgets
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv18179/wxLua/bindings/wxwidgets
Modified Files:
appframe.i windows.i
Log Message:
update for wxWidgets 2.7, Get/SetDefaultItem is now in toplevel not in window
update wxluaedit for wxstedit 1.2.3
Index: windows.i
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/windows.i,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** windows.i 12 Jun 2006 02:48:09 -0000 1.20
--- windows.i 23 Aug 2006 04:57:52 -0000 1.21
***************
*** 128,131 ****
--- 128,132 ----
wxCursor GetCursor() const
//virtual wxVisualAttributes GetDefaultAttributes() const
+ !%wxchkver27 wxWindow* GetDefaultItem() const
wxDropTarget* GetDropTarget() const
wxEvtHandler* GetEventHandler() const
***************
*** 218,221 ****
--- 219,223 ----
virtual void SetCursor(const wxCursor& cursor)
!%wxchkver26 void SetConstraints(wxLayoutConstraints* constraints)
+ !%wxchkver27 wxWindow* SetDefaultItem(wxWindow *win)
// virtual void SetInitialBestSize(const wxSize& size) protected
void SetMaxSize(const wxSize& size)
***************
*** 277,280 ****
--- 279,283 ----
%property=ClientSize, read, write
%property=Constraints, read, write
+ !%wxchkver27 %property=DefaultItem, read, write
%property=DropTarget, read, write
%property=EventHandler, read, write
***************
*** 316,326 ****
bool Create(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL, const wxString& name = "wxPanel")
! wxWindow* GetDefaultItem() const
void InitDialog()
! void SetDefaultItem(wxButton *btn)
//virtual void SetFocus() - see wxWindow
virtual void SetFocusIgnoringChildren()
-
- %property=DefaultItem, read, write
%endclass
--- 319,327 ----
bool Create(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL, const wxString& name = "wxPanel")
! //!%wxchkver27 wxWindow* GetDefaultItem() const - see wxWindow
void InitDialog()
! //!%wxchkver27 wxWindow* SetDefaultItem(wxWindow *win) - see wxWindow
//virtual void SetFocus() - see wxWindow
virtual void SetFocusIgnoringChildren()
%endclass
Index: appframe.i
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/appframe.i,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** appframe.i 26 May 2006 03:19:51 -0000 1.19
--- appframe.i 23 Aug 2006 04:57:52 -0000 1.20
***************
*** 97,103 ****
--- 97,105 ----
// No constructors, virtual base class, use wxFrame or wxDialog
+ %wxchkver27 wxWindow* GetDefaultItem() const
wxIcon GetIcon() const
//const wxIconBundle& GetIcons() const
wxString GetTitle() const
+ %wxchkver27 wxWindow* GetTmpDefaultItem() const
bool IsActive() const
void Iconize(bool iconize)
***************
*** 107,110 ****
--- 109,113 ----
void Maximize(bool maximize)
void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO)
+ %wxchkver27 wxWindow* SetDefaultItem(wxWindow *win)
void SetIcon(const wxIcon& icon)
//void SetIcons(const wxIconBundle& icons)
***************
*** 113,118 ****
--- 116,124 ----
bool SetShape(const wxRegion& region)
virtual void SetTitle(const wxString& title)
+ %wxchkver27 wxWindow* SetTmpDefaultItem(wxWindow *win)
%win bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL)
+ %wxchkver27 %property=DefaultItem, read, write
+ %wxchkver27 %property=TmpDefaultItem, read, write
%property=Title, read, write
%endclass
|