Displaying 4 results from an estimated 4 matches for "getstipple".
Did you mean:
setstipple
2006 Oct 19
4
wxPen.h
wxPen.h #ifdefs out the stipple constructor for GTK but Pen.i %ignores
the stipple functions (GetStipple, SetStipple). Shouldn''t we follow the
same path so we get GetStipple and SetStipple on Mac and Windows? I
didn''t attach a patch. Too tired. Hopefully someone else can whip that
into shape. :)
Roy
2006 Oct 20
0
[695] trunk/wxruby2/swig/classes/include/wxPen.h: Get/SetStipple not available on GTK
...t;@@ -21,7 +21,10 @@
</span><span class="cx"> wxColour& GetColour() const;
</span><span class="cx"> int GetDashes(wxDash** dashes ) const;
</span><span class="cx"> int GetJoin() const;
</span><del>- wxBitmap* GetStipple() const;
</del><ins>+// not available on GTK
+#if defined(__WXMSW__) || defined(__WXMAC__)
+ wxBitmap* GetStipple() const;
+#endif
</ins><span class="cx"> int GetStyle() const;
</span><span class="cx"> int GetWidth() const;
</span>&...
2006 Oct 19
0
[687] trunk/wxruby2/swig/classes/Pen.i: Remove a malformed and unneeded typemap (Roy Sutton)
...uot;> }
</span><span class="cx">
</span><del>-%apply (int n, wxDash dash []) { (int n, wxDash *dashes),(int nItems, wxDash *dash) }
-
</del><span class="cx"> %ignore wxPen::SetStipple;
</span><span class="cx"> %ignore GetStipple;
</span><span class="cx">
</span></span></pre>
</div>
</div>
</body>
</html>
2006 Oct 21
0
[696] trunk/wxruby2/swig/classes/Pen.i: Un-ignored Get/SetStipple b/c these are now ifdef''d in the header for GTK
...n><span class="lines">@@ -40,10 +40,6 @@
</span><span class="cx"> $1 = (TYPE($input) == T_ARRAY);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-%ignore wxPen::SetStipple;
-%ignore GetStipple;
-
-
</del><span class="cx"> %import "include/wxObject.h"
</span><span class="cx"> %import "include/wxGDIObject.h"
</span><span class="cx">
</span></span></pre>
</div>
</div>
</b...