Displaying 4 results from an estimated 4 matches for "wxsystemmetr".
Did you mean:
wxsystemmetric
2007 Jun 26
0
[1084] trunk/wxruby2/swig/classes/SystemSettings.i: Fix missing punctuation in SystemSettings typemaps
...ap(in) wxSystemColour "$1 = (wxSystemColour)NUM2INT($input)";
-%typemap(out) wxSystemColour " $result = INT2NUM((int)$1)";
-%typemap(in) wxSystemFont "$1 = (wxSystemFont)NUM2INT($input)";
-%typemap(out) wxSystemFont "$result = INT2NUM((int)$1)";
-%typemap(in) wxSystemMetric "$1 = (wxSystemMetric)NUM2INT($input)";
-%typemap(out) wxSystemMetric "$result = INT2NUM((int)$1)";
</del><ins>+%typemap(in) wxSystemColour "$1 = (wxSystemColour)NUM2INT($input);"
+%typemap(out) wxSystemColour " $result = INT2NUM((int)$1);"
+%ty...
2007 Jun 26
0
[1080] trunk/wxruby2/swig: Moved typemaps specific to SystemSetting out of general typemap file
...ap(in) wxSystemColour "$1 = (wxSystemColour)NUM2INT($input)";
+%typemap(out) wxSystemColour " $result = INT2NUM((int)$1)";
+%typemap(in) wxSystemFont "$1 = (wxSystemFont)NUM2INT($input)";
+%typemap(out) wxSystemFont "$result = INT2NUM((int)$1)";
+%typemap(in) wxSystemMetric "$1 = (wxSystemMetric)NUM2INT($input)";
+%typemap(out) wxSystemMetric "$result = INT2NUM((int)$1)";
+
</ins><span class="cx"> %import "include/wxObject.h"
</span><span class="cx">
</span><span class="cx"...
2006 Sep 20
1
typemap.i.patch
This patch implements a more generic solution to the problem that will
work for all our integer types at least. Use this instead of the last
version I sent, please.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Sep 20
3
Fix for non-centered windows
Two patches here:
First one removes virtual from a function that shouldn''t have been virtual.
Second one applies a typemap to catch GetRectFromChildWindow. For
reasons that are completely beyond me the standard ruby OUTPUT typemaps
don''t define directorargouts. I will take a stab at patching SWIG''s
default typemaps someday so we get this fixed for free on all our