Displaying 2 results from an estimated 2 matches for "getxwindow".
Did you mean:
getwindow
2007 Apr 29
0
[985] branches/wxruby2/wxwidgets_282/swig/classes/Window.i: Fix get_handle on GTK
...amp;nbsp     long handle;
-
-        // borrowed from wxPython
-#ifdef __WXMSW__
- handle = (long)win->GetHandle();
-#endif
-
-#if defined(__WXGTK__) || defined(__WXX11)
- handle = (long)GetXWindow(win);
-#endif
-
-#ifdef __WXMAC__
- handle = (long)win->GetHandle();
-#endif
-
</del><ins>+ long handle = (long)win->GetHandle();
</ins><span class="cx">         return LONG2NUM(handle);
&l...
2007 Apr 26
0
[973] branches/wxruby2/wxwidgets_282/swig/classes/Window.i: Fix crasher with Window#get_handle, also comment the paint method
...amp;nbsp     long handle;
+
+        // borrowed from wxPython
+#ifdef __WXMSW__
+ handle = (long)win->GetHandle();
+#endif
+
+#if defined(__WXGTK__) || defined(__WXX11)
+ handle = (long)GetXWindow(win);
+#endif
+
+#ifdef __WXMAC__
+ handle = (long)win->GetHandle();
+#endif
+
+        return LONG2NUM(handle);
+ }
</ins><span class="cx"> }
</span></span></pre>
</div>
</div>...