search for: wxpp

Displaying 20 results from an estimated 25 matches for "wxpp".

Did you mean: wxp
2004 Mar 30
12
Big question: Move to SWIG?
A few days ago, someone asked me why I am using wxpp instead of SWIG. The question prompted me to revisit and re-evaluate SWIG, and I now believe it would be best to convert wxRuby to SWIG. SWIG has greatly improved its C++ support since the last time I looked at it, and I think its Ruby support has improved quite a bit as well. Also, now that I...
2004 Nov 24
3
[DEVEL] Defining Pure Virtual Functions
I am working on the Printer, PrintDialog, PrintDialogData, PrinterDC, etc... classes and I''m having a problem with Printout. In the wxWindows source, the file "prntbase.h" defines the class "wxPrintout". When wrapping this for wxRuby I am trying the call: cppResult = new wxPrintout( cppParm0 ); //where cppParm0 is a wxString If I do this it complains that I need
2004 Aug 25
3
wxclasses-2.4.2.xml
I couldn''t find the original tex document that the author of the xml file converted from. Anyone knows where it is? I am toying with the idea of _not using_ the xml file. Either getting the wx header files thru SWIG (I assume you guys have thought about this before already, any specific problems?), or continue with the template generator in the current wxruby-4.0. The RUBY port of
2005 May 03
4
Wx::HtmlWindow.on_link_clicked
Hello, wxruby-users. This is an addition which implement wrapper for overloading wxHtmlWindow::OnLinkClicked method. Unfortunately, it was impossible to make it correctly without ugly hack to wxpp.rb, but i`m hope it does not broke it. Please look at attachment for a patch for htmlwindow.t and wxpp.rb and additional file htmllinkinfo.t (need to be added to $objs array in extconf.rb). Sample code of fancy about dialog for windows (for windows -- because of using function from shell32.dll to...
2003 Nov 13
7
modified classes
-- +-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+ -------------- next part -------------- A non-text attachment was scrubbed... Name:
2005 Jan 28
1
Windows XP Pro cannot access Samba
My WXPP PC cannot login to the Samba server although the Win2K and W9x PC's can. The XPP system has joined the domain, but when I rebooted the PC and tried logging in via the domain it complained about not having permission or an account which I've verified and have redone several times, but still...
2004 Apr 10
5
wxRuby-SWIG 0.0.3 is available
...yet to try building wxruby-swig. I hope that will change soon. Hint, hint :-) 3. wxruby-swig needs to support all the classes and methods that the existing wxRuby supports, before we can switch. The good news is that it is slightly easier to add support for most of them in SWIG than it was in wxpp. The bad news is that I still haven''t found a way to generate the templates automatically. Gergely created a script that scrapes method prototypes out of the wxWidgets help files. It works pretty well, but only about 90%. I haven''t yet researched how hard it would be to do som...
2004 Jul 06
13
XRC Resources
I currently use DialogBlocks to generate my dialogs for wxWidgets apps I write in C++. DialogBlocks has the ability to generate XRC resources which I would like to use with wxRuby, is this possible? I am very new to Ruby and it looks like a great language and with wxRuby it looks like a great solution for quick in house applications. Thanks Sean Long
2005 May 02
3
where is destructors?
Hello, wxruby-users. I`m noticed huge GDI resources leakage when working with my programs (on windows). Fortunately, i simple fix this by calling ''delete'' on wxBitmap object (patch bellow). But i`m wondering -- why there are no calls to destructors of wrapped wxwidgets objects in wxruby? Is there some problems? This is a patch:
2004 Apr 04
5
SWIG update
...s back. I fiddled with this new code for several frustrating hours, and couldn''t figure out the exact cause of the problem. I need to learn more about gdb, I guess. Setting that problem aside, SWIG looks very promising. Wrapping additional methods is usually slightly easier than using wxpp. When new types are involved, or for callbacks (like App#on_init), SWIG is *much* easier. There are a couple annoying things, but I can work around them, or try to get them changed in SWIG/Ruby. So far, I am also using "rake", because I hate "make" so much that I didn'&...
2003 Oct 27
5
Windows Build - Down to Run Time Errors
I finally got a clean compile and link for wxRuby. Now I''m down to deciphering runtime errors. Once again, I''m going to pick up on this tomorrow, but I thought I''d post my console output tonight to see if anyone has any thoughts before I tackle this tomorrow. I''m running the same app "minimal.rb" E:\Dev\RubyDev\wxruby\samples\minimal>ruby
2004 Jul 20
0
Progress on wxruby-swig
Greetings, I wanted to give you all a progress report on wxruby-swig, the next generation of wxruby. As most of you know, we are in the process of rewriting wxruby from scratch, using SWIG instead of the custom wxpp template tool in the current version. Using SWIG will make it easier for more people to add support for new classes and methods, and will make it easier to optimize (and fix) memory usage. Until recently, I have been doing all the wxruby-swig development myself, using darcs for version control...
2003 Nov 13
3
DnD classes
I tried to add classes to DnD support, but I get compiling errors :( There are about virtual functions are abstract. I changed wxpp.rb to support size_t and other types needed, and modify extconf.rb to automatically clean all .h files, which have a similar .t file. I have problem with wxDataObject::Direction, I don''t know how the parser works, but virtual void GetAllFormats(wxDataFormat *formats, Direction dir = Get)...
2003 Nov 18
0
New code checked in
...st checked in some nifty changes from Nick, including: Added NULL_PEN and NULL_BRUSH Added alt_down, control_down, shift_down, meta_down methods to MouseEvent Added support for returning subclasses of wxWindow''s that are not yet wxruby objects. To do this, I added a wxpp type (DYNAMIC) that calls wxRbTypeTable, which invokes the proper ruby wrapper. This can probably be expanded for dynamic conversions of most wxObject based objects. Added support for XRC. It is left off in extconf.rb by default for now. Currently the names for some of the...
2004 May 19
1
Mapping My Documents
I'm creating roaming profiles for the Win98 boxes in our network. Is there any way to map the "My Documents" folder to a share in the Samba server? -- "Without this playing with fantasy no creative work has ever come to birth. The debt we owe to the play of our imagination is incalculable." [Carl Jung] Home page: http://www.luiz.claudio.nom.br Editor DMOZ:
2008 Apr 30
0
smb.conf advise
...f small systems that run my Foxpro (DBF Files) Application (Program and Data on the Server). These system are primarily OpenSuSE 10.3 and the only have two purposes in life... First, they are a Samba Server Second, Backup and Restore. That's it. The Server is behind a Router. All Clients are WXPP SP2/3 With that in mind I'd like to optimize the smb.conf and per the "Book" keep it simple... Here is what I'm using now. Any suggestions, or "Why the hell are you doing that..." will be appreciated... [global] workgroup = mbd printing = cups printcap n...
2003 Nov 11
1
.t file creation
Hi! During creation of a .t file... size_t type is not interpreted is there any mini-tutorial about the options? thx Gergo -- +-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php
2004 Apr 26
1
Yesterday''s adventures (calendar sample; swig)
...mpossible in Ruby. Anyway, I hacked it to work (not yet checked in) by doing some swig post-processing to initialize the constants in on_init. Before I check it in, I''ll try to make it cleaner by creating a subclass of the App object, and override the on_init method there. With my old wxpp approach, I could always insert arbitrary code anywhere I wanted. With swig, it''s much more rigid, so I have to work within the rules. It can be quite frustrating at times, but swig is still proving to be a big win overall. Kevin
2004 Apr 27
15
Building wxruby on Solaris 9
Hi all, Ruby 1.8.1 Solaris 9 wxwindows 2.4.2 (package from blastwave.org) wxruby 0.3.0 I''m having trouble getting this sucker to build on my Solaris box. Here''s how I''m building: ruby extconf.rb --with-xrc-dir=/opt/csw --with-xrc-include=/opt/csw/lib/wx The include directive I added because the setup.h file is there (for whatever reason). And yes, /opt/csw/bin and
2004 Mar 14
2
Status report, including progess toward 0.3
Greetings all, I''m trying to get a good start on 0.3, so I checked in quite a few changes tonight. I am working through all my old emails where people had submitted patches or bug reports, and tried to do as many as I could. There are a few more still in my queue. See the changelog for a complete record of what I fixed. The hardest one turned out to be validators. They were