Displaying 2 results from an estimated 2 matches for "null_brush".
2007 Jan 05
0
[827] trunk/wxruby2/swig: Moved NULL objects into constants so they can be used for default args
...</span><ins>+
+// ''Null'' objects
+%constant wxBitmap const NULL_BITMAP = wxNullBitmap;
+%constant wxIcon const NULL_ICON = wxNullIcon;
+%constant wxCursor const NULL_CURSOR = wxNullCursor;
+%constant wxPen const NULL_PEN = wxNullPen;
+%constant wxBrush const NULL_BRUSH = wxNullBrush;
+%constant wxPalette const NULL_PALETTE = wxNullPalette;
+%constant wxFont const NULL_FONT = wxNullFont;
+%constant wxColour const NULL_COLOUR = wxNullColour;
+
</ins><span class="cx"> // Text font families
</span><span class="cx">...
2003 Nov 18
0
New code checked in
I just checked in some nifty changes from Nick, including:
Added NULL_PEN and NULL_BRUSH
Added alt_down, control_down, shift_down, meta_down
methods to MouseEvent
Added support for returning subclasses of wxWindow''s that are not
yet wxruby objects. To do this, I added a wxpp type (DYNAMIC) that
calls wxRbTypeTable, which invokes the proper ruby wrapper....