search for: wxframe

Displaying 20 results from an estimated 35 matches for "wxframe".

Did you mean: wframe
2005 Aug 21
15
New inheritance
A good number of the samples I have tested are outright or subtly broken on Windows now. I''m trying to determine what the cause is. Mostly it seems related to the initialize function not being created when it should be. Case in point: ClientDC.i The caret example won''t work at all because initialize isn''t declared any longer. If you comment out the import
2007 Jul 04
5
loading menu using XmlResource
...#39;' (class ''wxMenuBar'') not found!'' trying to load a menu bar. Here is my xml: <?xml version="1.0" encoding="UTF-8"?> <resource version="2.3.0.1" xmlns="http://www.wxwidgets.org/wxxrc"> <object class="wxFrame" name="ID_NOTIFIER" subclass="notifier"> <style>wxCAPTION|wxSYSTEM_MENU|wxMINIMIZE_BOX|wxCLOSE_BOX</style> <size>300,300</size> <title>wxnc</title> <object class="wxMenuBar" name="ID_ME...
2007 May 31
0
[1043] trunk/wxruby2/samples/bigdemo: Don''t manually call destroy
...<dt>Date</dt> <dd>2007-05-31 17:20:41 -0400 (Thu, 31 May 2007)</dd> </dl> <h3>Log Message</h3> <pre>Don''t manually call destroy</pre> <h3>Modified Paths</h3> <ul> <li><a href="#trunkwxruby2samplesbigdemowxFramerbw">trunk/wxruby2/samples/bigdemo/wxFrame.rbw</a></li> <li><a href="#trunkwxruby2samplesbigdemowxMiniFramerbw">trunk/wxruby2/samples/bigdemo/wxMiniFrame.rbw</a></li> </ul> </div> <div id="patch"> <h3>Diff</h...
2007 Apr 29
0
[986] branches/wxruby2/wxwidgets_282/swig/classes/Frame.i: Default constructor is required for use with XRC
...i&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-04-29 14:10:38 UTC (rev 986) </span><span class="lines">@@ -5,8 +5,6 @@ </span><span class="cx"> </span><span class="cx"> %module(directors="1") wxFrame </span><span class="cx"> </span><del>-%ignore wxFrame::wxFrame(); - </del><span class="cx"> %apply SWIGTYPE *DISOWN { wxMenuBar * } </span><span class="cx"> </span><span class="cx"> %typemap(in,num...
2006 Apr 23
5
Re: StaticBoxSizer bug?
...the wxruby2 source. > > daniel > > > ------------------------------------------------------------------------ > > #include <wx/wx.h> > > class SizerTestApp : public wxApp { > public: > virtual bool OnInit(); > }; > > class SizerTestFrame : public wxFrame { > public: > SizerTestFrame(const wxString & title); > }; > > IMPLEMENT_APP(SizerTestApp); > > bool SizerTestApp::OnInit() { > SizerTestFrame *frame = new SizerTestFrame("Test"); > > frame->Show(true); > > return true; > } > > S...
2006 Sep 26
1
Frame and MiniFrame patch
This patch allows them to both work. Basically, I renamed the class for the MiniFrame sample. I was under the mistaken impression that Ruby let you redefine a class. Anyone know how to do that? The wxFrame.rbw patch just centers the window for looks. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Jul 21
0
[1135] trunk/wxruby2/swig/mark_free_impl.i: Convert from DOS to Unix newlines
...&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp VALUE rb_caret = SWIG_RubyInstanceFor(wx_caret); -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp rb_gc_mark(rb_caret); -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp} -} - - -void GC_mark_wxFrame(void *ptr) -{ - if ( ! ptr ) return; - if ( GC_IsWindowDeleted(ptr) ) return; - - // Frames are also a subclass of wxWindow, so must do all the marking - // of sizers and carets associated with that class - GC_mark_wxWindow(ptr); - - wxFrame* wx_frame = (wxFrame*)ptr; - // Then mark the Menu...
2005 Aug 02
1
Latest tarball
...39;'const char *'' No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called src/Functions.cpp(592) : error C2665: ''wxLogStatus'' : none of the 2 overloads can convert parameter 1 from type ''class wxFrame *'' src/Functions.cpp(596) : error C2665: ''wxLogStatus'' : none of the 2 overloads can convert parameter 1 from type ''const class wxWCharBuffer'' src/Functions.cpp(606) : error C2664: ''wxLogWarning'' : cannot convert parameter 1 from '...
2007 Jul 21
0
[1127] trunk/wxruby2: Move shared C++ GC functions into separate file included into wx.i
...&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp VALUE rb_caret = SWIG_RubyInstanceFor(wx_caret); +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp rb_gc_mark(rb_caret); +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp} +} + + +void GC_mark_wxFrame(void *ptr) +{ + if ( ! ptr ) return; + if ( GC_IsWindowDeleted(ptr) ) return; + + // Frames are also a subclass of wxWindow, so must do all the marking + // of sizers and carets associated with that class + GC_mark_wxWindow(ptr); + + wxFrame* wx_frame = (wxFrame*)ptr; + // Then mark the Menu...
2009 Nov 23
1
xrcise not working
...ror messages: =============== TestWxFb.xrc ========================================= <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <resource xmlns="http://www.wxwindows.org/wxxrc" version="2.3.0.1"> <object class="wxFrame" name="MyFrame2" subclass="minFrame"> <style>wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL</style> <size>500,300</size> <title>Minimal</title> <object class="wxBoxSizer"> <orient&g...
2005 Aug 16
9
Patch and files to add Listbook
I added the Listbook class (basically the same as the Notebook class with some name changes). I also took the time to write a sample that uses it. The sample interface uses XRC and is slightly more advanced than the current XRC sample. Sean _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org
2006 Jul 24
6
MiniFrame.i
Hi Another little patch, adding MiniFrame (a frame with small title bar and buttons which doesn''t appear in the desktop taskbar). Also a sample - not very interesting, happy to roll this into something else if that''s better. cheers alex _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org
2007 Jan 23
0
[853] trunk/wxruby2/swig: Replace deprecated STR2CSTR with StringValuePtr
...ingValuePtr(str), wxConvUTF8)); </ins><span class="cx"> </span><span class="cx"> } </span><span class="cx"> </span><span class="lines">@@ -35,11 +35,11 @@ </span><span class="cx"> wxFrame *ptr; </span><span class="cx"> Data_Get_Struct(argv[0], wxFrame, ptr); </span><span class="cx"> VALUE str = rb_f_sprintf(argc-1, &argv[1]); </span><del>- wxLogStatus(ptr,wxString(STR2CSTR(str), wxConvUTF8)); </del...
2006 Nov 27
0
[760] trunk/wxruby2/swig/classes/include/wxHelpController.h: Correct method signatures for Initialize, OnQuit, GetFrameParameters;
...onst wxSize * -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param const wxPoint * -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param bool * -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp*/ - - virtual wxFrame * GetFrameParameters(const wxSize * size = NULL, const wxPoint * pos = NULL, bool * newFrameEachTime = NULL) ; -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp/** -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \brief If the help viewer is not...
2008 Aug 12
1
xrc panels using xrcise
Hi all, I''m facing a problem generating base classes using xrcise. i''ve this xrc layout: <?xml version="1.0" encoding="UTF-8"?> <resource version="2.3.0.1" xmlns="http://www.wxwidgets.org/wxxrc"> <object class="wxFrame" name="ID_NOTIFIER" subclass="notifier"> <style>wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxMINIMIZE_BOX|wxCLOSE_BOX|wxFULL_REPAINT_ON_RESIZE</style> <size>300,400</size> <title>wxnc</title> <object class=&quo...
2007 Jul 05
0
[1109] trunk/wxruby2/swig: Move marking of MenuBar from direct %markfunc to via mark_wxFrame, so
...xt-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[1109] trunk/wxruby2/swig: Move marking of MenuBar from direct %markfunc to via mark_wxFrame, so</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>1109</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-07-05 14:45:10 -0400 (Thu, 05 Jul 2007)</dd> <...
2005 Aug 04
9
wxruby2 retooling
I finally gave up on swig 1.3.22, since it seems to be causing too many problems. Ubuntu breezy will have 1.3.24, so I''m retargeting wxruby2 to swig 1.3.24+. At the moment, I have 1.3.25 on my system, since that''s the current release. I''m finding all kinds of problems with the post-processors we have that clean up the .cpp files that swig creates. The
2009 Mar 27
0
xrciser problem
...an error saying ruby-debug not working with Ruby 1.9.1 yet. Any clues as to what is going on? Here is the xrc: <?xml version="1.0" encoding="UTF-8"?> <resource version="2.3.0.1" xmlns="http://www.wxwidgets.org/wxxrc"> <object class="wxFrame" name="MyFrame1" subclass="MyFrame"> <style>wxDEFAULT_FRAME_STYLE|wxCAPTION|wxCLOSE_BOX|wxTAB_TRAVERSAL</style> <bg>#b1bdd1</bg> <size>590,612</size> <title>Tool</title> <centered&gt...
2010 Jun 22
1
Stuck noobie: XRC/xrcise woes
...om the web) that calls that xrcise-generated rb file; and 4) the error message. 1) ###### the xrc file ##### <?xml version="1.0" encoding="UTF-8"?> <resource version="2.3.0.1" xmlns="http://www.wxwidgets.org/wxxrc">; <object class="wxFrame" name="ID_WXFRAME" subclass="TextFrameBase"> <style>wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX</style> <size>400,300</size> <title>From Scratch</title> <centered>1</centered>...
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
...</span><span class="cx"> %rename(LoadPanelSubclass) wxXmlResource::LoadPanel(wxPanel *pan, wxWindow *parent, wxString &name); </span><span class="cx"> </span><span class="cx"> %rename(LoadFrameSubclass) wxXmlResource::LoadFrame(wxFrame *frame, wxWindow *parent, const wxString &name); </span><span class="cx"> </span><ins>+// XmlResource is an exception to the general rule in typemap.i - it has +// methods which accept a ''wxWindow* parent'' argument which may be +// null. The...