search for: wxicon

Displaying 20 results from an estimated 22 matches for "wxicon".

2005 Aug 02
3
compile fix for wx2.6
building on ubuntu with wx2.6 gives only one error: an argument type has changed from long to wxBitmapType in a constructor of the wxIcon class. These changes were needed to fix the build. This brings up the question what is the status of the swig/classes/include files which were generated using the xml extract script which is no longer available in CVS. Should that script be rerun using wx2.6 headers? Jani ______________________...
2007 Jan 06
0
[833] trunk/wxruby2/swig/classes: Fix the inheritance chain of wxIcon (varies cross-platform)
...ns {background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[833] trunk/wxruby2/swig/classes: Fix the inheritance chain of wxIcon (varies cross-platform)</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>833</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-01-05 19:02:24 -0500 (Fri, 05 Jan 20...
2005 Aug 04
8
swigwin
Anyone on the list have some pointers for getting swig working properly on Windows? Anytime I reswig a file it breaks wx.cpp. I''m sure I''ve got a setup problem but I haven''t been able to put my finger on it yet. Roy
2007 Apr 13
0
[955] branches/wxruby2/wxwidgets_282/swig/classes/include/wxIcon.h: Change Icon.ok to Icon.is_ok (2.8)
...tch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[955] branches/wxruby2/wxwidgets_282/swig/classes/include/wxIcon.h: Change Icon.ok to Icon.is_ok (2.8)</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>955</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-04-13 15:16:19 -0400 (...
2005 Aug 07
2
Icon problem still exists on latest tarball
Icon.cpp still errors with: src/Icon.cpp(1200) : error C2666: ''wxIcon::wxIcon'' : 2 overloads have similar conversions I''ll now re-swig everything and see how it goes. Roy
2007 Jan 08
0
[844] trunk/wxruby2/swig/classes: Added IconBundle class for multi-resolution icons, cleaned comment cruft
...-01-08 16:07:41 -0500 (Mon, 08 Jan 2007)</dd> </dl> <h3>Log Message</h3> <pre>Added IconBundle class for multi-resolution icons, cleaned comment cruft</pre> <h3>Modified Paths</h3> <ul> <li><a href="#trunkwxruby2swigclassesincludewxIconBundleh">trunk/wxruby2/swig/classes/include/wxIconBundle.h</a></li> </ul> <h3>Added Paths</h3> <ul> <li><a href="#trunkwxruby2swigclassesIconBundlei">trunk/wxruby2/swig/classes/IconBundle.i</a></li> </ul> </div&...
2005 Aug 03
24
patch for Icon
I just checked out a fresh copy and had to tweak wxIcon.h to get it to compile on Mac OS X and windows. The problem is with: wxIcon(const wxString& filename, wxBitmapType type = wxBITMAP_TYPE_XPM, int desiredWidth=-1, int desiredHeight=-1); that signature is only used on GTK on other systems it is: wxIcon(co...
2005 Jul 30
7
Can''t compile the cvs-tree
Hi folks, Let me start off by saying I''ve just been following wxruby development for two or three days now and have read up on alot on what has been going on. I must say I''m impressed and happy about all the things being developed and created by you guys! You got me all excited and I know I''m not the only one. If I have an opportunity to spend more time investigating
2007 Aug 23
7
TaskBarIcon gives Typerror
...String tooltip) Sets the icon, and optional tooltip text. shutdown.svg is an Icon and next to it comes a string, so it should be right or? But executed I''m always getting this error: ./task.rb:15:in `set_icon'': in method ''SetIcon'', argument 2 of type ''wxIcon const &'' (TypeError) from ./task.rb:15:in `on_init'' from ./task.rb:21:in `main_loop'' from ./task.rb:21 Someone knows why this happens? greets -- kazaam <kazaam@oleco.net>
2007 Jan 05
0
[827] trunk/wxruby2/swig: Moved NULL objects into constants so they can be used for default args
...sition; </span><span class="cx"> %constant const wxValidator DEFAULT_VALIDATOR = wxDefaultValidator; </span><span class="cx"> </span><ins>+ +// ''Null'' objects +%constant wxBitmap const NULL_BITMAP = wxNullBitmap; +%constant wxIcon const NULL_ICON = wxNullIcon; +%constant wxCursor const NULL_CURSOR = wxNullCursor; +%constant wxPen const NULL_PEN = wxNullPen; +%constant wxBrush const NULL_BRUSH = wxNullBrush; +%constant wxPalette const NULL_PALETTE = wxNullPalette; +%constant wxFont const NULL_FONT = wxNullFont; +...
2005 Jul 26
10
Patch for wxRuby2
Ok so I made a lot of changes and the controls sample works pretty good now. What I changed or added: - Got all my modifications meshed into wxRuby2. - Added constructors to wxIcon.h - Changed Xrc.i to XmlResource.i and changed wxXrc to wxXmlResource within the file. I also had to change Xrc to XmlResource in rakewx.rb. - For backwards compatability with wxRuby 0.6 I added the subclass methods to XmlResource. - Changed line 5 of wx.i from wxruby2 to wx, could not get wxr...
2007 Jul 04
0
[1103] trunk/wxruby2: Added 2.8 methods to StaticBitmap & document them; cleanup header file
...\brief Sets the bitmap label. -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param const wxBitmap& -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp*/ - - virtual void SetBitmap(const wxBitmap& label ) ; </del><ins>+ wxIcon GetIcon() const; + virtual void SetBitmap(const wxBitmap& label); + virtual void SetIcon(const wxIcon& label); </ins><span class="cx"> }; </span><span class="cx"> </span><span class="cx"> </span></span></pr...
2005 Aug 21
2
Latest tarball doesn''t compile
1) SetScrollRange and SetScroll page in wxWindow.h is apparently only defined for ''microwindows''. No idea what that is but it''s not Windows. I replaced the #if !__WXGTK__ with #if __WXMICROWIN__ See patched wxWindow.h file. 2) wxIcon does not (on windows at least) descend from wxBitmap. I don''t have the gtk or mac headers to compare against. I''ve removed the wxBitmap.h %import and added a commented out %import for wGDIImage.h (which we don''t have a header file for and don''t know if we...
2005 Aug 30
1
Patch to controls.rb
This patch fixes the controls.rb sample so the images load properly on windows. On windows, wxIcon does -not- descend from wxImage. This means it does not have access to the image handling routines wxImage does. Furthermore, despite the documentation, it does -not- support XPM icons on Windows. The solution is to just not use icons where images are needed. The second solution was to defa...
2007 Mar 29
0
[929] branches/wxruby2/wxwidgets_282/swig/classes: Fix virtual methods that shouldn''t be (Bug 9682); Add missing methods and
...rtual void DrawEllipse(const wxPoint& pt , const wxSize& size ) = 0; - virtual void DrawEllipse(const wxRect& rect ) = 0; - virtual void DrawEllipticArc(wxCoord x , wxCoord y , wxCoord width , wxCoord height , double start , double end ) = 0; - virtual void DrawIcon(const wxIcon& icon , wxCoord x , wxCoord y ) = 0; - virtual void DrawLine(wxCoord x1 , wxCoord y1 , wxCoord x2 , wxCoord y2 ) = 0; - virtual void DrawLines(int n , wxPoint points[] , wxCoord xoffset = 0, wxCoord yoffset = 0) = 0; - virtual void DrawLines(wxList * points , wxCoord xoffset = 0,...
2007 Mar 09
0
[877] trunk/wxruby2/Changelog: Update with 0.0.39 changes; correct last version number
...ocumentation main page (Hawley Waldman) +- Added IconBundle class (Alex Fenton) +- Added PasswordEntryDialog class (Alex Fenton) +- Fix segfault on exit on GTK (Alex Fenton) +- Added missing ''methods'' list in docs for numerous classes (Alex Fenton) +- Fix the inheritance chain for wxIcon, fixes the ''ok'' method on M (Alex Fenton) +- Typemap wxTreeItemId to a simple ruby Integer, not a full ruby class (Alex Fenton) +- Make wx raise an exception if Icon created from non-existent file (Alex Fenton) +- Fix a GC crasher when using nested sizers (Alex Fenton) +- Made NUL...
2007 Mar 29
0
[926] branches/wxruby2/wxwidgets_282: Update Dialog wx2.6 -> wx2.8 API, remove deprecations and cruft, update doc
...p;nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp/** -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \brief Sets the icon for this dialog. - - - - - -See also . -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param const wxIcon& -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp*/ - </del><ins>+ void SetAffirmativeId(int id); + void SetEscapeId(int id); </ins><span class="cx"> void SetIcon(const wxIcon& icon ) ; </span><del>-&nbsp&amp...
2007 Apr 30
0
[996] branches/wxruby2/wxwidgets_282: TopLevelWindow: add some 2.8 methods; document; add missing CentreOnScreen
.../span><del>- virtual bool IsIconized() const = 0; </del><ins>+ virtual bool IsIconized() const; </ins><span class="cx"> </span><span class="cx"> // get the frame icon </span><span class="cx"> const wxIcon& GetIcon() const; </span><span class="cx"> </span><span class="cx"> // get the frame icons </span><span class="cx"> const wxIconBundle& GetIcons() const; </span><del>- </del><ins>+&nbsp&am...
2007 Mar 17
0
[883] branches/wxruby2/wxwidgets_282/swig: API changes for move to WxWidgets 2.8
...: public wxObject </span><span class="cx"> { </span><span class="cx"> public: </span><del>- static wxBitmap GetBitmap(const wxArtID& id , const wxArtClient& client = wxART_OTHER, const wxSize& size = wxDefaultSize) ; - static wxIcon GetIcon(const wxArtID& id , const wxArtClient& client = wxART_OTHER, const wxSize& size = wxDefaultSize) ; - static bool PopProvider() ; - static void PushProvider(wxArtProvider* provider ) ; - static bool RemoveProvider(wxArtProvider* provider ) ; </del><ins>+ stat...
2006 Sep 14
2
Patch to fix ArtProvider and ArtProvider sample
These patches better implement ArtProvider and add the demo for it. I also expanded the bigdemo window a little bit. I really think we should go larger but I suppose there might be some people at 800x600 still. Note that creating your own art provider still doesn''t quite work correctly. I didn''t have time to get into that. The RubyConstants.i.patch file looks weird. Not