Displaying 3 results from an estimated 3 matches for "wxsystemcolour".
2007 Jun 26
0
[1084] trunk/wxruby2/swig/classes/SystemSettings.i: Fix missing punctuation in SystemSettings typemaps
...t;<span class="lines">@@ -6,12 +6,12 @@
</span><span class="cx"> %module wxSystemSettings
</span><span class="cx"> GC_MANAGE_AS_OBJECT(wxSystemSettings);
</span><span class="cx">
</span><del>-%typemap(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 "...
2007 Jun 26
0
[1080] trunk/wxruby2/swig: Moved typemaps specific to SystemSetting out of general typemap file
...gt;<span class="lines">@@ -6,6 +6,13 @@
</span><span class="cx"> %module wxSystemSettings
</span><span class="cx"> GC_MANAGE_AS_OBJECT(wxSystemSettings);
</span><span class="cx">
</span><ins>+%typemap(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 "...
2006 Mar 28
3
ListItem patches
...m_string.
One thing that doesn''t work is the constants LIST_FORMAT_LEFT etc. I''m not sure if it''s the same problem I''m seeing with some other groups of constants since upgrading to SWIG 1.3.29, but constants declarations like
enum wxListColumnFormat {
....
enum wxSystemColour {
...
seem to be broken.
Lastly, would it be possible and desirable to move class-specific constants (like TE_xxx, SYS_xxx, LIST_xxx, NB_xxx etc) from RubyConstants.i to the relevant .i file in swig/classes? Nothing urgent, just a suggestion as RubyConstants.i is getting unwieldy.
alex
_____...