From: John L. <jr...@us...> - 2007-03-19 02:17:16
|
Update of /cvsroot/wxlua/wxLua/bindings/wxwidgets In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv10862/wxLua/bindings/wxwidgets Modified Files: defsutil.i dialogs.i wx_datatypes.lua xml.i Log Message: fixes in the bindings for MSW missing functions rem out wxXMLResourceHandler since it didn't have any methods Index: xml.i =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/xml.i,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** xml.i 9 Mar 2007 00:15:12 -0000 1.7 --- xml.i 17 Mar 2007 19:08:09 -0000 1.8 *************** *** 124,129 **** // wxXmlResourceHandler ! %class %noclassinfo wxXmlResourceHandler, wxObject ! %endclass %enum wxXmlResourceFlags --- 124,129 ---- // wxXmlResourceHandler ! //%class %noclassinfo wxXmlResourceHandler, wxObject ! //%endclass %enum wxXmlResourceFlags Index: wx_datatypes.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wx_datatypes.lua,v retrieving revision 1.58 retrieving revision 1.59 diff -C2 -d -r1.58 -r1.59 *** wx_datatypes.lua 15 Mar 2007 00:01:12 -0000 1.58 --- wx_datatypes.lua 17 Mar 2007 19:08:09 -0000 1.59 *************** *** 394,404 **** Name = "wxBusyCursor", }, - wxBusyCursorSuspender = { - Condition = "wxLUA_USE_wxBusyCursor", - DefType = "class", - Encapsulate = true, - IsNumber = false, - Name = "wxBusyCursorSuspender", - }, wxBusyInfo = { BaseClass = "wxObject", --- 394,397 ---- *************** *** 3646,3656 **** Name = "wxXmlResourceFlags", }, - wxXmlResourceHandler = { - BaseClass = "wxObject", - Condition = "wxLUA_USE_wxXMLResource && wxUSE_XML", - DefType = "class", - IsNumber = false, - Name = "wxXmlResourceHandler", - }, } --- 3639,3642 ---- Index: dialogs.i =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/dialogs.i,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** dialogs.i 12 Mar 2007 23:12:31 -0000 1.26 --- dialogs.i 17 Mar 2007 19:08:09 -0000 1.27 *************** *** 237,245 **** %class wxFileDialog, wxDialog ! %constructor wxFileDialogDefault() !%wxchkver_2_8 wxFileDialog(wxWindow* parent, const wxString& message = "Choose a file", const wxString& defaultDir = "", const wxString& defaultFile = "", const wxString& wildcard = "*.*", long style = 0, const wxPoint& pos = wxDefaultPosition) %wxchkver_2_8 wxFileDialog(wxWindow *parent, const wxString& message = wxFileSelectorPromptStr, const wxString& defaultDir = "", const wxString& defaultFile = "", const wxString& wildCard = wxFileSelectorDefaultWildcardStr, long style = wxFD_DEFAULT_STYLE, const wxPoint& pos = wxDefaultPosition, const wxSize& sz = wxDefaultSize, const wxString& name = "wxFileDialog") ! %wxchkver_2_8 bool Create(wxWindow *parent, const wxString& message = wxFileSelectorPromptStr, const wxString& defaultDir = "", const wxString& defaultFile = "", const wxString& wildCard = wxFileSelectorDefaultWildcardStr, long style = wxFD_DEFAULT_STYLE, const wxPoint& pos = wxDefaultPosition, const wxSize& sz = wxDefaultSize, const wxString& name = "wxFileDialog") wxString GetDirectory() const wxString GetFilename() const --- 237,246 ---- %class wxFileDialog, wxDialog ! // %constructor wxFileDialogDefault() no default constructor in MSW !%wxchkver_2_8 wxFileDialog(wxWindow* parent, const wxString& message = "Choose a file", const wxString& defaultDir = "", const wxString& defaultFile = "", const wxString& wildcard = "*.*", long style = 0, const wxPoint& pos = wxDefaultPosition) %wxchkver_2_8 wxFileDialog(wxWindow *parent, const wxString& message = wxFileSelectorPromptStr, const wxString& defaultDir = "", const wxString& defaultFile = "", const wxString& wildCard = wxFileSelectorDefaultWildcardStr, long style = wxFD_DEFAULT_STYLE, const wxPoint& pos = wxDefaultPosition, const wxSize& sz = wxDefaultSize, const wxString& name = "wxFileDialog") ! // since there's no default constructor in MSW you can't call this so it's best to not have it at all ! //%wxchkver_2_8 bool Create(wxWindow *parent, const wxString& message = wxFileSelectorPromptStr, const wxString& defaultDir = "", const wxString& defaultFile = "", const wxString& wildCard = wxFileSelectorDefaultWildcardStr, long style = wxFD_DEFAULT_STYLE, const wxPoint& pos = wxDefaultPosition, const wxSize& sz = wxDefaultSize, const wxString& name = "wxFileDialog") wxString GetDirectory() const wxString GetFilename() const Index: defsutil.i =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/defsutil.i,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** defsutil.i 15 Mar 2007 23:24:50 -0000 1.38 --- defsutil.i 17 Mar 2007 19:08:09 -0000 1.39 *************** *** 601,611 **** //----------------------------------------------------------------------------- ! // wxBusyCursorSuspender ! %class %delete %noclassinfo %encapsulate wxBusyCursorSuspender // NOTE: ALWAYS Delete() this when done since lua's gc may not delete it soon enough ! wxBusyCursorSuspender() ! %endclass %endif //wxLUA_USE_wxBusyCursor --- 601,613 ---- //----------------------------------------------------------------------------- ! // wxBusyCursorSuspender - we don't wrap this since lua's garbage collector doesn't ! // automatically collect items when they go out of scope so you would have to ! // Delete this anyway which is just as easy as ! //%class %delete %noclassinfo %encapsulate wxBusyCursorSuspender // NOTE: ALWAYS Delete() this when done since lua's gc may not delete it soon enough ! // wxBusyCursorSuspender() ! //%endclass %endif //wxLUA_USE_wxBusyCursor |