Displaying 4 results from an estimated 4 matches for "wxitemkind".
2007 Jun 22
0
[1056] trunk/wxruby2/swig/classes/include/wxToolBar.h: Add missing param to InsertTool long version; uncomment some methods now
...mp;
-         * \param const wxBitmap&
-         * \param const wxString&
-         * \param wxItemKind
-        */
-
- wxToolBarTool* AddTool(int toolId , const wxString& label , const wxBitmap& bitmap1 , const wxString& shortHelpString = wxT(""), wxItemKind kind = wxITEM_NORMAL) ;
-  &nb...
2005 Jul 26
10
Patch for wxRuby2
...Changed line 5 of wx.i from wxruby2 to wx, could not get wxruby2 to
work. I also
changed line 13 in fixmodule.rb to mWx and line 11 in
fixmainmodule.rb to mWx from mWxruby2.
Also changed mWx in functions.i and XmlResource.i
- Added the xrc example program (again)
- Added typemap to finally get wxItemKind working correctly, gets rid
of my fixedswigcode.rb hack.
- Added the wxMenuItem class.
- Added a type check for wxDateTime so CalendarCtrl now works properly
with ruby class DateTime.
- Changed $DEBUG in extconf.rb to $DEBUG_BUILD, for some reason it was
clashing with mkmf on Windows.
- Added wxBeg...
2007 Jun 22
0
[1055] trunk/wxruby2/swig/classes/ToolBar.i: Chnage methods returning ToolBarToolBase to return position of new tool;
...s.
-#// fake it by saying it''s just a control
-typedef wxControl wxToolBarTool;
</del><span class="cx">
</span><del>-%ignore wxToolBar::AddTool(int toolId, const wxString& label, const wxBitmap& bitmap1, const wxBitmap& bitmap2 = wxNullBitmap, wxItemKind kind = wxITEM_NORMAL, const wxString& shortHelpString = "", const wxString& longHelpString = "", wxObject* clientData = NULL);
</del><ins>+//
+%typemap(out) wxToolBarToolBase* {
+ int pos_of_tool = arg1->GetToolPos($1->GetId());
+ $result = INT2NUM(p...
2005 May 03
10
Is wxRuby-SWIG version usable enough to package for download?
If wxRuby-SWIG is as usable as wxRuby 0.6.0, maybe it should be given a
version number and packaged up for download.
Given the nature of SWIG, having a lot more people use it would probably
result in more code contributions to this project.
Seems most of the changes are 2+ months old, so I''m guessing wxRuby-SWIG
is fairly stable right now in terms of frequency of changes...