search for: wxpaintdc

Displaying 9 results from an estimated 9 matches for "wxpaintdc".

Did you mean: paintdc
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 21
4
Problem with PaintDC(MSW)
When implementing EVT_PAINT handlers in c++ the PaintDC object is constructed at the beginning of the function, and auto destructed at it''s end, which informs wxwidgets that "invalid regions in the window have been repainted". Under ruby, this is not the case and causes a stream of EVT_PAINT events to be sent to the given window (until one of PaintDC objects is destructed by
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/mailman/listinfo/wxruby-users
2006 Oct 22
0
[707] trunk/wxruby2/swig/classes/Window.i: Window-paint method now implemented in Ruby (Alex Fenton)
...s="cx"> %extend wxWindow { </span><del>- -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp// TODO: Find a way to eliminate this weird hack -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp// It causes swig to define SWIGTYPE_p_wxPaintDC -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp// which is needed by our paint() method - VALUE this_should_never_be_called(wxPaintDC *tmp) { -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp return Qnil; - } - - VALUE paint() - {...
2004 Jun 04
2
building wxruby-swig 0.0.16 on Mac
.../ruby/site_ruby -I /usr/local/lib/ruby/1.8 -I /usr/local/lib/ruby/1.8/powerpc-darwin -I . -o obj/PaintDC.o src/PaintDC.cpp src/PaintDC.cpp:730:21: PaintDC.h: No such file or directory src/PaintDC.cpp:732: error: syntax error before `::'' token src/PaintDC.cpp: In function `VALUE _wrap_new_wxPaintDC(int, VALUE*, long unsigned int)'': src/PaintDC.cpp:767: error: parse error before `('' token src/PaintDC.cpp: In function `void free_wxPaintDC(wxPaintDC*)'': src/PaintDC.cpp:780: error: `SwigDirector_wxPaintDC'' undeclared (first use this function) src/Pain...
2007 Mar 22
0
[910] branches/wxruby2/wxwidgets_282: Moved paint() method back into C++, so DC object is destroyed in timely
...t;> %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">@@ -137,4 +143,17 @@ </span><...
2007 Apr 29
0
[983] branches/wxruby2/wxwidgets_282: Make Window#paint work both inside and outside a paint event handler,
...n><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"> %include "include/wxWindow.h" </span><span class="lines&quo...
2005 Sep 05
8
patch to wxCheckListBox.h
size_t GetItemHeight() const is not part of the standard interface for this class. On Mac OS X for instance it is not defined. So it needs to be removed. This is why us developers should download the complete wxWidgets distribution that has all the headers for each platform so we can cross check when adding features, this is what I do. Sean _______________________________________________
2007 Apr 29
0
[991] branches/wxruby2/wxwidgets_282/doc/textile: Update documentation for painting methods and WindowDC subclasses
...10 UTC (rev 990) +++ branches/wxruby2/wxwidgets_282/doc/textile/paintdc.txtl&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-04-29 16:33:41 UTC (rev 991) </span><span class="lines">@@ -1,20 +1,17 @@ </span><span class="cx"> h1(#wxpaintdc). Wx::PaintDC </span><span class="cx"> </span><del>-A PaintDC must be constructed if an application wishes to paint on the -client area of a window from within an *OnPaint* event. -This should normally be constructed as a temporary stack object; don''t sto...