search for: wxdc

Displaying 20 results from an estimated 33 matches for "wxdc".

Did you mean: 0xdc
2005 Aug 22
2
Adding ScreenDC
Here is the file to add ScreenDC. I noticed that it inherits from wxDC which is what the docs show but the headers for each platform are much different: - Mac,MSW,os2,motif,palmos all inherit from wxWindowDC - X11,GTK inherit from wxPaintDC - MGL, cocoa inherit from wxDC After saying that on Windows it still work inheriting from wxDC so I left it for now, any tho...
2007 Mar 29
0
[929] branches/wxruby2/wxwidgets_282/swig/classes: Fix virtual methods that shouldn''t be (Bug 9682); Add missing methods and
...others for SWIG</pre> <h3>Modified Paths</h3> <ul> <li><a href="#brancheswxruby2wxwidgets_282swigclassesDCi">branches/wxruby2/wxwidgets_282/swig/classes/DC.i</a></li> <li><a href="#brancheswxruby2wxwidgets_282swigclassesincludewxDCh">branches/wxruby2/wxwidgets_282/swig/classes/include/wxDC.h</a></li> </ul> </div> <div id="patch"> <h3>Diff</h3> <a id="brancheswxruby2wxwidgets_282swigclassesDCi"></a> <div class="modfile"><h4&gt...
2007 Mar 29
0
[ wxruby-Bugs-9682 ] wxDC::Clear (RuntimeError) in controls sample
Bugs item #9682, was opened at 2007-03-29 17:14 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=9682&group_id=35 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: wxDC::Clear (RuntimeError) in controls sample Initial Comment: The message is: ./controls.rb:367:in `clear'': Swig director pure virtual method called wxDC::Clear (RuntimeError) This is in the wxwidgets_282 branch Tested on OS X Intel --------------------------------------------------------...
2006 Sep 03
3
Patch for DrawLines
These enable DrawLines and DrawPolygons. I disable the wxList one since the WX docs indicate that the list is now ''type-safe'' requiring a derived class to send a wxList of Points. Since we''re unlikely to do this I just blocked it off so it doesn''t interfere with internal functions that may call that one. Note: MemoryDC doesn''t inherit from DC.h.
2006 Dec 07
0
[ wxruby-Bugs-7146 ] Setting item image in TreeCtrl crashes on OS X
...rks 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) () #2 0x0333db0c in wxImageList::Draw(int, wxDC&, int, int, int, bool) () #3 0x03388668 in wxGenericTreeCtrl::PaintItem(wxGenericTreeItem*, wxDC&) () #4 0x033889b8 in wxGenericTreeCtrl::PaintLevel(wxGenericTreeItem*, wxDC&, int, int&...
2006 Jul 19
8
small patch for wxWindow::GetTextExtent
I have not worked on wxRuby2 for awhile and decided to download the latest CVS HEAD and saw that it still had a problem with wxWindow::GetTextExtent (in my case showing up when editing Grid cells). So I copied the method signature from the wxDC::GetTextExtent which seems to be working, changed 2 variable names and made the typemap the same as used for wxDC. Well in my program editing grid cells does not crash anymore. This patch also has the global function wxGetKeyState added, which needed a few typemaps as well. The list has been pre...
2007 Apr 28
0
[974] branches/wxruby2/wxwidgets_282/swig/classes/DC.i: Fix abstract method/ctor compile error on MSW
...i&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-04-28 23:07:04 UTC (rev 974) </span><span class="lines">@@ -5,6 +5,8 @@ </span><span class="cx"> </span><span class="cx"> %module(directors="1") wxDC </span><span class="cx"> </span><ins>+%ignore wxDC::wxDC(); + </ins><span class="cx"> // raises ''void value is not ignored as it should be'' compile error </span><span class="cx"> %ignore wxDC::StartPage...
2005 Sep 10
2
Swig generates bad interface to GetTextExtent
Swig''s bad interface generation strikes again. get_text_extent called with 1 argument maps to WindowDC''s _wrap_wxWindowDC_GetTextExtent__SWIG_0 Since this generates a wxFont that''s not initialized to nil it fails when calling into wxWindows. Anyone have a suggestion?
2007 Apr 28
0
[977] branches/wxruby2/wxwidgets_282/swig/classes/include/wxScrolledWindow.h: Add missing DoPrepareDC method, remove comment cruft
...p;nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param const bool -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param const bool -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp*/ - </del><ins>+ void DoPrepareDC(wxDC &dc); </ins><span class="cx"> void EnableScrolling(const bool xScrolling , const bool yScrolling ) ; </span><del>-&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp/** -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&am...
2007 Mar 27
0
[922] branches/wxruby2/wxwidgets_282: Changes, additions and deprecations 2.6 -> 2.8 Wx API
...2.8 Wx API</pre> <h3>Modified Paths</h3> <ul> <li><a href="#brancheswxruby2wxwidgets_282doctextiledctxtl">branches/wxruby2/wxwidgets_282/doc/textile/dc.txtl</a></li> <li><a href="#brancheswxruby2wxwidgets_282swigclassesincludewxDCh">branches/wxruby2/wxwidgets_282/swig/classes/include/wxDC.h</a></li> </ul> </div> <div id="patch"> <h3>Diff</h3> <a id="brancheswxruby2wxwidgets_282doctextiledctxtl"></a> <div class="modfile"><h4&...
2007 Apr 29
0
[ wxruby-Bugs-10438 ] ClientDC segfault on exit
...emory. 0x98bc1cbc in CGGStateRelease () (gdb) whe #0 0x98bc1cbc in CGGStateRelease () #1 0x98bc5f78 in CGContextRestoreGState () #2 0x036d8a74 in wxMacCoreGraphicsContext::SetNativeContext(CGContext*) () #3 0x036d7e70 in wxMacCoreGraphicsContext::~wxMacCoreGraphicsContext() () #4 0x034cea44 in wxDC::~wxDC() () #5 0x034cdc6c in wxWindowDC::~wxWindowDC() () #6 0x034ce24c in wxClientDC::~wxClientDC() () #7 0x030c63ec in SwigDirector_wxClientDC::~SwigDirector_wxClientDC() () #8 0x0001f018 in rb_gc_call_finalizer_at_exit () at gc.c:1928 #9 0x000048f8 in ruby_finalize_1 () at eval.c:1548 #10 0...
2005 Sep 11
1
Patches for bigdemo
...ree patches to make the mdi demo work properly: main.rbw: Call init_all_image_handlers (Is there any reason we shouldn''t just do this for people? Why make them call this? Is there a downside to initializing image handlers?) wxScrolledWindow.rbw: Uncommented call to draw_spline wxDC.h: Added another prototype of draw_spline so draw_spline will work in the demo _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2008 Mar 04
1
enum arguments not recognized
Ok, I''ve found a minor problem that I was able to fix, but I''m not sure if this is the right way to handle it, being new to swig and all. Basically, in wxDC.h, there''s a function declaration: void GradientFillLinear(const wxRect& rect, const wxColour& initialColour, const wxColour& destColour, wxDirection nDirection = wxEAST); The problem is that since swig does not see the definition of the enum wxDirection (defined i...
2004 Nov 19
3
Adding to wxRuby (Now I fired up)
Nick, Curt, Kevin, Now that I have dabbled ever so slightly in adding to wxRuby on a source level (and it wasn''t perfect, Nick had to fix some of my code!), I feel all fired up. Any areas specific that need to be added that I could test my luck with again, or can I just go pick and choose? This gets funner every day... (yes, i constitute "funner" as a word), Zach
2003 Nov 13
7
modified classes
-- +-[ 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 --+ -------------- next part -------------- A non-text attachment was scrubbed... Name:
2006 Oct 22
0
[708] trunk/wxruby2/swig/classes/DC.i: Un-ignore get_multi_line_text_extent (Roy Sutton)
...bsp2006-10-22 00:48:36 UTC (rev 707) +++ trunk/wxruby2/swig/classes/DC.i&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2006-10-22 01:02:54 UTC (rev 708) </span><span class="lines">@@ -15,8 +15,6 @@ </span><span class="cx"> %ignore wxDC::EnableCache; </span><span class="cx"> %ignore wxDC::StartPage; </span><span class="cx"> </span><del>-%ignore GetMultiLineTextExtent; - </del><span class="cx"> // wxList version is now ''type-safe'' so we...
2006 Nov 06
3
HtmlWindow and friends
Hi Attached is a patch to add HtmlWindow and some of its friends, including HtmlEasyPrinting. Also a sample. I haven''t tried exposing the parsing and rendering API yet to allow custom tags etc - I just wanted to get basic HTML and the 0.6.0 compatibility classes first. There may well be some quite easy classes left. There''s one ugly kludge to get OnOpeningURL to compile -
2006 Dec 24
0
[802] trunk/wxruby2/swig/classes: Add support for MenuEvent (MENU_OPEN, MENU_CLOSE, MENU_HIGHLIGHT)
...p&nbsp * \brief Constructor. -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param WXTYPE -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param int -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param wxDC* -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp*/ - - wxMenuEvent(WXTYPE id = 0, int id = 0, wxDC* dc = NULL) ; -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp/** -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp *...
2006 Nov 12
0
[724] trunk/wxruby2: Initial commit of HtmlWindow functionality
...pagebreak ) ; </span><del>-&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp/** -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \brief Renders the cell. -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param wxDC& -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param int -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param int -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param int -&nbsp&nbsp&a...
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
...GetFont(int id) = 0; + virtual wxColour GetColour(int id) = 0; + virtual void SetColour(int id, const wxColor& colour) = 0; + wxColour GetColor(int id) { return GetColour(id); } + void SetColor(int id, const wxColour& color) { SetColour(id, color); } + + virtual void DrawSash(wxDC& dc, + wxWindow* window, + int orientation, + const wxRect& rect) = 0; + + virtual void DrawBackground(wxDC& dc, + wxWindow* window, + int orientation, +...