Displaying 6 results from an estimated 6 matches for "wxsize_auto".
2006 Apr 23
4
Wx::Window#get_text_extent patch
Here''s a patch to fix Wx::Window#get_text_extent - it requires that the
patches from teh last message are applied, to enable *INPUT etc typemaps.
Roy - though the function works correctly when called from Ruby, it
still causes a crash when called internally when clicking on a Wx::Grid
cell. Saw your message on SWIG mailing list, hopefully someone there can
help out.
alex
2007 Apr 30
0
[998] branches/wxruby2/wxwidgets_282/swig/classes/Window.i: Additional %ignore needed for Wx::Window in 2.8
..., int* y ) const;
</span><ins>+%ignore wxWindow::GetScreenPosition(int* x, int* y) const;
</ins><span class="cx">
</span><span class="cx"> %rename(SetDimensions) wxWindow::SetSize(int x , int y , int width , int height , int sizeFlags = wxSIZE_AUTO) ;
</span><span class="cx">
</span></span></pre>
</div>
</div>
</body>
</html>
2007 Mar 18
0
[897] branches/wxruby2/wxwidgets_282/swig/classes/Window.i: DISOWN typemap to prevent crash on GC/exit when caret has been set (bug #9093)
...sp2007-03-18 10:46:56 UTC (rev 897)
</span><span class="lines">@@ -26,6 +26,9 @@
</span><span class="cx">
</span><span class="cx"> %rename(SetDimensions) wxWindow::SetSize(int x , int y , int width , int height , int sizeFlags = wxSIZE_AUTO) ;
</span><span class="cx">
</span><ins>+// Caret set by set_caret becomes owned by C++
+%apply SWIGTYPE *DISOWN {wxCaret* caret};
+
</ins><span class="cx"> // Any sizers passed in to wx become owned by C++
</span><span class="...
2007 Jul 21
0
[1129] trunk/wxruby2/swig/classes/Window.i: Add DISOWN typemap for ToolTip so it isn''t double-deleted
...007-07-21 12:21:01 UTC (rev 1129)
</span><span class="lines">@@ -31,12 +31,13 @@
</span><span class="cx">
</span><span class="cx"> %rename(SetDimensions) wxWindow::SetSize(int x , int y , int width , int height , int sizeFlags = wxSIZE_AUTO) ;
</span><span class="cx">
</span><del>-// Caret set by set_caret becomes owned by C++
-%apply SWIGTYPE *DISOWN {wxCaret* caret};
</del><ins>+// Any of these following kind of objects become owned by the window
+// when passed into Wx, and so will be...
2005 May 03
10
Is wxRuby-SWIG version usable enough to package for download?
If wxRuby-SWIG is as usable as wxRuby 0.6.0, maybe it should be given a
version number and packaged up for download.
Given the nature of SWIG, having a lot more people use it would probably
result in more code contributions to this project.
Seems most of the changes are 2+ months old, so I''m guessing wxRuby-SWIG
is fairly stable right now in terms of frequency of changes...
2006 Dec 20
0
[791] trunk/wxruby2/swig/classes/include/wxWindow.h: Remove shadowing GetBestSize def causing warning, plus strip crufty comments
...sp       */
</del><span class="cx"> #endif
</span><span class="cx">
</span><span class="cx"> virtual void SetSize(int x , int y , int width , int height , int sizeFlags = wxSIZE_AUTO) ;
</span><del>-        /**
-         * \brief Sets the size and position of the window in pixels.
-      &...