Displaying 5 results from an estimated 5 matches for "getmultilinetextext".
2006 Apr 23
4
*INPUT/*OUTPUT params patches
Hi
The attached patches enable the use of SWIG''s *INPUT *OUTPUT and *INOUT
typemaps as described in the manual. It''s done by including SWIG''s own
''typemaps.i'' file so it''ll allow us to benefit from future upgrades to that.
The problem was a collision between a Ruby macro _ (fixing for old
compilers) and a WxWidgets macro _ (for text
2007 Mar 29
0
[929] branches/wxruby2/wxwidgets_282/swig/classes: Fix virtual methods that shouldn''t be (Bug 9682); Add missing methods and
...t;
</span><ins>+%rename(GetDimensions) wxDC::GetSize(wxCoord * width , wxCoord * height);
+%rename(GetDimensionsMM) wxDC::GetSizeMM(wxCoord *width , wxCoord *height) const;
+%rename(GetTextSize) wxDC::GetTextExtent(const wxString& string) const;
+%rename(GetMultiLineTextSize) wxDC::GetMultiLineTextExtent(const wxString& string) const;
+
+
</ins><span class="cx"> %import "include/wxObject.h"
</span><span class="cx">
</span><span class="cx"> %include "include/wxDC.h"
</span></span></pre><...
2006 Oct 21
0
DC.i patch
This patch unignores GetMultiLineTextExtent. Not only did we come up
with a typemap that wraps it correctly the head version of SWIG chokes
trying to make a director for it if it''s %ingored.
Roy
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dc.i.patch
Url: http://rubyfo...
2005 Sep 03
1
Whole lotta stuff
...ouseEvent.h. Including this causes
the build to fail.
2) Attached are several files to patch some things to get the bigdemo
working (better):
Added a generic typemap for converting ruby arrays into point arrays.
Added a typedef for wxDash
Corrected/expanded the typemap for GetTextExtent
Added GetMultiLineTextExtent prototype (there are some others missing I
didn''t add. I added this one because the typemap was so close to the other)
Added typemap for SetDashes
3) It''s very late (just flew out to the West Coast) and I''m not
thinking straight. But I seem to recall there was a...
2006 Oct 22
0
[708] trunk/wxruby2/swig/classes/DC.i: Un-ignore get_multi_line_text_extent (Roy Sutton)
...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 won''t be using that version instead
</span><span class="cx"> %ignore DrawLines(const wxList * points, wxCoord xoffset = 0, wxCoord yoffset = 0);
</span&...