Displaying 20 results from an estimated 6000 matches similar to: "MDI fixed"
2006 Sep 20
3
Fix for non-centered windows
Two patches here:
First one removes virtual from a function that shouldn''t have been virtual.
Second one applies a typemap to catch GetRectFromChildWindow. For
reasons that are completely beyond me the standard ruby OUTPUT typemaps
don''t define directorargouts. I will take a stab at patching SWIG''s
default typemaps someday so we get this fixed for free on all our
2006 Jul 19
8
small patch for wxWindow::GetTextExtent
I have not worked on wxRuby2 for awhile and decided to download the
latest CVS HEAD and saw that it still had a problem with
wxWindow::GetTextExtent (in my case showing up when editing Grid
cells). So I copied the method signature from the wxDC::GetTextExtent
which seems to be working, changed 2 variable names and made the
typemap the same as used for wxDC. Well in my program editing grid
cells
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
2006 Sep 03
5
Patch to wxMDIParentFrame.h
This patch file will allow the MDI example to run. We''ll need to
revisit it later. There''s still a crash but it''s the same crash as from
the scrolled window example. I''ll send a patch later that fixes the
problem with DrawLines.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
2004 Feb 10
1
MDI
Hello,
I want to use wxruby in my application, but this should be MDI application.
Kevin, could you add MDIParentFrame, MDIClientWindow and MDIChildFrame
in wxruby-0.3, please?
--
Best regards,
Pavel
mailto:papushev@inp.nsk.su
2005 Sep 10
2
Swig generates bad interface to GetTextExtent
Swig''s bad interface generation strikes again. get_text_extent called
with 1 argument maps to WindowDC''s _wrap_wxWindowDC_GetTextExtent__SWIG_0
Since this generates a wxFont that''s not initialized to nil it fails
when calling into wxWindows. Anyone have a suggestion?
2006 Sep 27
3
Window.i
Does anyone know if the XRC hand-coded methods in Window.i are still
required after my recent change to return the correct types? Also,
given that wxWindow.h is included all over the place, I think we need to
move some of that stuff out into a common .i that''s included for all
wxWindow descendants.
Roy
2005 Oct 09
0
[Fwd: Re: [Swig] Re: Object return problem]
Forwarded from the SWIG mailing list, so we have a copy in our archives.
Kevin
-------- Original Message --------
Subject: Re: [Swig] Re: Object return problem
Date: Sun, 09 Oct 2005 18:31:40 -0400
From: Kevin Smith <wxruby@qualitycode.com>
To: Charlie Savage <cfis@interserv.com>
CC: Swig@cs.uchicago.edu
References: <4347277E.1030700@mindspring.com>
2006 Oct 21
0
[703] trunk/wxruby2/Changelog: Get/SetStipple for Wx::Pen; faster building on dual core; MDI sample bugs on OS X
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2005 Sep 11
4
Handling int pointer parameters
There are several functions that take the parameters (int *x, int *y)
In some cases x & y are simply return values. In some cases x & y are
both input and output. How are we going to handle this properly? One
method would be to change the header files to something like xin or
xout. I don''t really like that method as it''ll break as soon as header
files change.
2006 Nov 06
3
HtmlWindow and friends
Hi
Attached is a patch to add HtmlWindow and some of its friends, including
HtmlEasyPrinting. Also a sample.
I haven''t tried exposing the parsing and rendering API yet to allow
custom tags etc - I just wanted to get basic HTML and the 0.6.0
compatibility classes first. There may well be some quite easy classes left.
There''s one ugly kludge to get OnOpeningURL to compile -
2006 Apr 27
5
Major Breakthrough?
Attached are patches to make the textctrl.rb sample work fully. Note
the new %directorargout typemap I added to fix wxWindows calling into
SWIG. I don''t know if this can fix all such problems or not. Let me
know what you think.
I also rubified the sample a little bit more. Also, note that I fix the
<< operator so the function can be called. I hope I did this right.
Roy
2004 May 01
2
MDI interface with sidepanel
Hi
Just started with WxRuby after using Fox. Very impressed by the easy
binary install and I''m already liking the native look and feel on MSW.
Thanks!
I''m trying to create an app with a MDI Parent Frame and a full-height
(docked) side panel with various controls in it. The MDIParentFrame
doesn''t work properly if I put it inside another frame with a sizer, so
2007 Jan 08
0
[845] trunk/wxruby2/swig/classes: Added MultiChoiceDialog in class form
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Jun 26
0
[1085] trunk/wxruby2/swig: Add checks and ruby exceptions for two common Wx::Window mistakes leading to
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2009 May 11
1
MDI form in Wine
Hi all,
One of my application use MDI(Multiple Document Interface) form, when I open 2 forms at the same time, and close one form first, then I can still see some image of previous form overlapped on the other form, if I minimize the window and the maximize the other form, the overlapped image will disappear!
Does anyone know how to prevent from this situation? Thanks!
Best
2005 Oct 06
9
Grid.GetTextExtent
Wow. Look what SWIG does to GetTextExtent in Grid.cpp:
void SwigDirector_wxGrid::GetTextExtent(wxString const &string, int *x,
int *y, int *descent, int *externalLeading, wxFont const *font) const {
...
if (swig_get_up()) {
wxWindow::GetTextExtent(string,x,y,descent,externalLeading,font);
return;
}
obj0 = rb_str_new2((const char *)(&string)->mb_str());
2007 Jul 04
0
[1099] trunk/wxruby2/swig/classes/XmlResource.i: Permit Dialogs and Frames with no parents to be created via XRC; add comments
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Mar 18
0
[895] branches/wxruby2/wxwidgets_282/swig/classes: Fix Window::GetChildren method for changes in 2.6 -> 2.8 API
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2008 Jun 04
1
Enter key in data editor bombs program in MDI (PR#11579)
Full_Name: Michael H
Version: 2.7
OS: Windows XP SP3
Submission from: (NULL) (74.74.76.1)
When running R with the multiple document interface, pressing enter in the data
editor causes the program to crash with the following command:
Dataset <- edit(as.data.frame(NULL))
This problem persists when using the fix command, such as fix(Dataset).
Interestingly, the arrow keys and mouse work fine