search for: wxwindowdc

Displaying 8 results from an estimated 8 matches for "wxwindowdc".

Did you mean: wxwindow
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?
2006 Sep 29
5
ObjectPreviouslyDeleted when trying to paint
...me to get it to redraw. Without calling refresh, things seem to be fine. (Although obviously my app doesn''t display the changed state.) With the refresh, I get: mainframe on_paint ./View/mainframe.rb:79:in `clear'': in method ''Clear'', argument 1 of type ''wxWindowDC *'' (ObjectPreviouslyDeleted) from ./View/mainframe.rb:79:in `on_paint'' from ./View/mainframe.rb:78:in `paint'' from ./View/mainframe.rb:78:in `on_paint'' from ./View/mainframe.rb:29:in `initialize'' ... Anyone have an idea o...
2007 Apr 29
0
[ wxruby-Bugs-10438 ] ClientDC segfault on exit
...e () (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 0x00004a50 in ruby_cleanup (ex=0) at eval....
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.
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 thoughts? Sean _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mai...
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:
2007 Mar 22
0
[910] branches/wxruby2/wxwidgets_282: Moved paint() method back into C++, so DC object is destroyed in timely
...; </span><span class="cx"> %import "include/wxEvtHandler.h" </span><span class="cx"> </span><ins>+// needed for SWIG''s knowledge of PaintDC type, for paint() method +%import "include/wxDC.h" +%import "include/wxWindowDC.h" +%import "include/wxPaintDC.h" + + </ins><span class="cx"> %include "include/wxWindow.h" </span><span class="cx"> </span><span class="cx"> %extend wxWindow { </span><span class="lines"&...
2007 Apr 29
0
[983] branches/wxruby2/wxwidgets_282: Make Window#paint work both inside and outside a paint event handler,
...p&nbsp&nbsp&nbsp&nbsp&nbsp2007-04-29 13:34:15 UTC (rev 983) </span><span class="lines">@@ -112,6 +112,7 @@ </span><span class="cx"> %import "include/wxDC.h" </span><span class="cx"> %import "include/wxWindowDC.h" </span><span class="cx"> %import "include/wxPaintDC.h" </span><ins>+%import "include/wxClientDC.h" </ins><span class="cx"> </span><span class="cx"> </span><span class="cx"&...