Displaying 20 results from an estimated 29 matches for "wxbitmap".
Did you mean:
xbitmap
2007 Mar 18
0
[893] branches/wxruby2/wxwidgets_282: New hover bitmap methods in 2.6 -> 2.8 API
...gt;
<h3>Modified Paths</h3>
<ul>
<li><a href="#brancheswxruby2wxwidgets_282doctextilebitmapbuttontxtl">branches/wxruby2/wxwidgets_282/doc/textile/bitmapbutton.txtl</a></li>
<li><a href="#brancheswxruby2wxwidgets_282swigclassesincludewxBitmapButtonh">branches/wxruby2/wxwidgets_282/swig/classes/include/wxBitmapButton.h</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="brancheswxruby2wxwidgets_282doctextilebitmapbuttontxtl"></a>
<div class=&quo...
2007 Jun 22
0
[1056] trunk/wxruby2/swig/classes/include/wxToolBar.h: Add missing param to InsertTool long version; uncomment some methods now
...;nbsp * \brief
-         * \param int
-         * \param const wxString&
-         * \param const wxBitmap&
-         * \param const wxString&
-         * \param wxItemKind
-        */
-
- wxToolBar...
2007 Jul 04
0
[1103] trunk/wxruby2: Added 2.8 methods to StaticBitmap & document them; cleanup header file
...g a text control.
-         * \param wxWindow*
-         * \param wxWindowID
-         * \param const wxBitmap&
-         * \param const wxPoint&
-         * \param const wxSize&
-         * \param...
2005 May 02
3
where is destructors?
Hello, wxruby-users.
I`m noticed huge GDI resources leakage when working with my programs
(on windows). Fortunately, i simple fix this by calling ''delete'' on
wxBitmap object (patch bellow). But i`m wondering -- why there are no
calls to destructors of wrapped wxwidgets objects in wxruby? Is there
some problems?
This is a patch:
================================================================
--- src/bitmap.cpp 30 Nov 2003 22:54:48 -0000 1.2
+++ src/b...
2007 Jun 22
0
[1057] trunk/wxruby2/swig/classes/include/wxToolBar.h: Add new methods from the 2.8 API
...;/span><span class="lines">@@ -16,11 +16,14 @@
</span><span class="cx"> wxToolBarToolBase* AddTool(wxToolBarToolBase* tool );
</span><span class="cx"> wxToolBarToolBase* AddCheckTool(int toolId , const wxString& label , const wxBitmap& bitmap1 , const wxBitmap& bitmap2 , const wxString& shortHelpString = wxT(""), const wxString& longHelpString = wxT(""), wxObject* clientData = NULL) ;
</span><span class="cx"> wxToolBarToolBase* AddRadioTool(int toolId , const wxSt...
2006 Oct 20
0
[695] trunk/wxruby2/swig/classes/include/wxPen.h: Get/SetStipple not available on GTK
...nes">@@ -21,7 +21,10 @@
</span><span class="cx"> wxColour& GetColour() const;
</span><span class="cx"> int GetDashes(wxDash** dashes ) const;
</span><span class="cx"> int GetJoin() const;
</span><del>- wxBitmap* GetStipple() const;
</del><ins>+// not available on GTK
+#if defined(__WXMSW__) || defined(__WXMAC__)
+ wxBitmap* GetStipple() const;
+#endif
</ins><span class="cx"> int GetStyle() const;
</span><span class="cx"> int GetWidth() const;
&...
2006 Nov 21
0
[ wxruby-Bugs-6808 ] Double-free segfault on closing app when BitmapButton has been used
...in Smith (qualitycode)
Summary: Double-free segfault on closing app when BitmapButton has been used
Initial Comment:
If an application has used the BitmapButton class it might segfault instead of exiting cleanly. This can be demonstrated by starting the bigdemo, opening the ''Core Controls/wxBitmapButton'' demo, then shutting the application.
It appears to be because wxBitmap does reference counting of its own, and tries to free the underlying memory containing the image on exit.
On OS X 10.3 it gives the following backtrace:
Program received signal EXC_BAD_ACCESS, Could not acce...
2007 Jan 06
0
[833] trunk/wxruby2/swig/classes: Fix the inheritance chain of wxIcon (varies cross-platform)
...helpful for MSWin?
</del><ins>+
+// inheritance pattern is slightly different across platforms
+// GTK: Icon < Bitmap < GDIOBject
+// OS X: Icon < GDIObject
+// Windows: Icon < GDIImage < GDIObject (no public class GDIImage)
+#if defined(__WXGTK__)
+%import "include/wxBitmap.h"
+#endif
+
+// #if defined(__WXMSW__)
</ins><span class="cx"> // %import "include/wxGDIImage.h"
</span><del>-// the following works on GTK but not MS Win
-// %import "include/wxBitmap.h"
</del><ins>+// #endif
</ins><s...
2004 Apr 22
13
Rake and VC++ 6
Has anybody tried the new wxruby-swig from the msvc++ command line
compiler using ''rake''? The rakefile seems to depend on the wx_config
method, which doesn''t exist for msw because it doesn''t have BASH to
execute the shell script. Has anyone hacked the rakefile to fix this?
Nick
2006 Dec 07
0
[ wxruby-Bugs-7146 ] Setting item image in TreeCtrl crashes on OS X
...x Fenton (brokentoy)
Assigned to: Kevin Smith (qualitycode)
Summary: Setting item image in TreeCtrl crashes on OS X
Initial Comment:
When a TreeCtrl is redrawn and items have images set (using ImageList), it causes a crash on OS X. The same code works correctly on Linux.
Looks like the underlying wxBitmap is broken or has got GC''d somewhere...
The (snipped) backtrace is:
Program received signal EXC_BAD_ACCESS, Could not access memory.
0x915f9f3c in GetGWorldPixMap ()
(gdb) whe
#0 0x915f9f3c in GetGWorldPixMap ()
#1 0x032bdc64 in wxDC::DoDrawBitmap(wxBitmap const&, int, int, bool) ()...
2005 Aug 21
2
Latest tarball doesn''t compile
...lRange 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''ll need later)
See patched Icon.i
3) ListIt...
2004 Jun 10
2
Building wxruby-swig on WinXP
Sorry for the lameness, but I need things explained to me very slowly...
-----Original Message-----
Subject: RE: [Wxruby-users] wxGrid Question
>
> Yes, grab the latest tarball from the above location. Then, you should
> install rubygems if you haven''t already:
> http://rubyforge.org/projects/rubygems/
>
> That should allow you to easily install rake:
>
2007 Jun 22
0
[1055] trunk/wxruby2/swig/classes/ToolBar.i: Chnage methods returning ToolBarToolBase to return position of new tool;
...oolBarTool,
-#// even though that''s not a documented class.
-#// 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_...
2007 Jan 05
0
[827] trunk/wxruby2/swig: Moved NULL objects into constants so they can be used for default args
...%constant const wxPoint DEFAULT_POSITION = wxDefaultPosition;
</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;...
2006 Aug 27
3
Licensing issues
I was trying to figure out a license for the samples, and stumbled
across a couple other issues that affect how we should be building
wxWidgets for inclusion into our gem.
If possible, we should NOT build in TIFF nor JPEG support, as both have
special attribution requirements. Other wx modules do as well, but we
don''t use them anyway (ODBC, wxXML, and wx 2.4 regex).
For those of you
2004 Mar 03
10
status?
Hi!
Is the wxruby project stalled?
ps: at least the list...
Gergo
--
+-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+
| http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy |
| Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" |
+-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+
2007 Mar 29
0
[929] branches/wxruby2/wxwidgets_282/swig/classes: Fix virtual methods that shouldn''t be (Bug 9682); Add missing methods and
...Coord DeviceToLogicalY(wxCoord y ) ;
</span><span class="cx"> wxCoord DeviceToLogicalYRel(wxCoord y ) ;
</span><del>- virtual void DrawArc(wxCoord x1 , wxCoord y1 , wxCoord x2 , wxCoord y2 , wxCoord xc , wxCoord yc ) = 0;
- virtual void DrawBitmap(const wxBitmap& bitmap , wxCoord x , wxCoord y , bool transparent ) = 0;
</del><ins>+ void DrawArc(wxCoord x1 , wxCoord y1 , wxCoord x2 , wxCoord y2 , wxCoord xc , wxCoord yc );
+ void DrawBitmap(const wxBitmap& bitmap , wxCoord x , wxCoord y , bool transparent );
</ins>...
2004 Apr 23
11
Building wxruby-swig for Mac
.../lib/ruby/site_ruby -I /usr/local/lib/ruby/1.8 -I
/usr/local/lib/ruby/1.8/powerpc-darwin -I . -o obj/Icon.o src/Icon.cpp
src/Icon.cpp: In function `VALUE _wrap_wxIcon_LoadFile(int, VALUE*, long
unsigned int)'':
src/Icon.cpp:817: warning: invalid conversion from `long int'' to
`wxBitmapType''
src/Icon.cpp:817: warning: initializing argument 2 of `virtual bool
wxIcon::LoadFile(const wxString&, wxBitmapType)''
src/Icon.cpp: In function `VALUE _wrap_wxIcon_SaveFile(int, VALUE*, long
unsigned int)'':
src/Icon.cpp:859: warning: invalid conversion f...
2010 Jan 21
0
[ wxruby-Bugs-27716 ] ruby 1.9.1p243 [i386-mingw32] not compile with wxWidgests 2.8.10
...not compile with wxWidgests 2.8.10
compile with wxWidgests 2.8.9
[SOLVED]
IF i compile wxWidgests 2.8.10 i''ve this error:
C:\msys\1.0\src\wxWidgets-2.8.10/lib/libwx_mswu-2.8.a(monolib_graphcmn.o):graphcmn.cpp:(.text+0x3374):
undefined reference to `wxGraphicsRenderer::CreateBitmap(wxBitmap
const&)''
If i compile with wxWidgets 2.8.9 WORK !!!
this is the gem :
svn version: 2107
http://www.waydotnet.com/ruby/wxruby-ruby19-2.0.1.svn-x86-mingw32.gem
Only problem when install without --no-rdoc
:D
Carlo Bertini
------------------------------------------------------------...
2007 Mar 17
0
[883] branches/wxruby2/wxwidgets_282/swig: API changes for move to WxWidgets 2.8
...class="cx"> #define _wxArtProvider_h_
</span><ins>+
</ins><span class="cx"> class wxArtProvider : 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() ;
- st...