From wx-users-admin Sun Feb 27 11:08:20 2000 Received: (qmail 123 invoked by alias); Sun, 27 Feb 2000 17:08:19 -0000 Received: from mail1.registeredsite.com (mail1.registeredsite.com [209.35.159.6])LAA30507; Sun, 27 Feb 2000 11:08:19 -0600 Received: from mail.ALLDUNN.COM (mail.alldunn.com [208.242.114.26]) by mail1.registeredsite.com (8.9.3/8.9.3) with ESMTP id MAA14962; Sun, 27 Feb 2000 12:09:31 -0500 Received: from rogue [209.162.215.68] by mail.ALLDUNN.COM (SMTPD32-6.00) id A9E49F300CA; Sun, 27 Feb 2000 12:07:48 -0500 Message-ID: <049301bf8144$e7dd4320$0301a8c0@easystreet.com> From: "Robin Dunn" To: "wxwin-users" , "wxwin-devel" , MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Subject: [wx-users] wxWindows mail list changes Date: Sun Feb 27 11:08:20 2000 Hi All, We have just moved the wxWindows mail list processors to wxwindows.org. The new addressses are: wx-announce@wxwindows.org wx-users@wxwindows.org wx-devel@wxwindows.org There is a web interface for each list where you can edit your subscription options, suspend delivery, unsubscribe, etc. You can get to them at: http://wxwindows.org/mailman/listinfo/wx-announce http://wxwindows.org/mailman/listinfo/wx-users http://wxwindows.org/mailman/listinfo/wx-devel -- Robin Dunn Software Craftsman robin@AllDunn.com http://AllDunn.com/robin/ http://AllDunn.com/wxPython/ Check it out! From wx-users-admin Sun Feb 27 13:42:29 2000 Received: (qmail 123 invoked by alias); Sun, 27 Feb 2000 19:42:29 -0000 Received: from mail1.registeredsite.com (mail1.registeredsite.com [209.35.159.6])NAA31259; Sun, 27 Feb 2000 13:42:29 -0600 Received: from mail.ALLDUNN.COM (mail.alldunn.com [208.242.114.26]) by mail1.registeredsite.com (8.9.3/8.9.3) with ESMTP id OAA16831; Sun, 27 Feb 2000 14:43:08 -0500 Received: from rogue [209.162.215.68] by mail.ALLDUNN.COM (SMTPD32-6.00) id AE045FD00DE; Sun, 27 Feb 2000 14:41:56 -0500 Message-ID: <053001bf815a$6f346e10$0301a8c0@easystreet.com> From: "Robin Dunn" To: "Gerhard Gruber" Cc: "wx-devel" , "wx-users" References: <049301bf8144$e7dd4320$0301a8c0@easystreet.com> MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Subject: [wx-users] Re: [wx-dev] wxWindows mail list changes Date: Sun Feb 27 13:42:30 2000 > >We have just moved the wxWindows mail list processors to wxwindows.org. The > >new addressses are: > > > >wx-announce@wxwindows.org > >wx-users@wxwindows.org > >wx-devel@wxwindows.org > > What's the consequence for us? Do we have to subscribe newly, or are we moved > along? Sorry, I forgot to mention it. Everybody on the old lists are subscribed to the new ones. In fact, these messages have been sent to the new addresses. BTW, I should mention that I did not set the reply_goes_to_list setting. I went to do it and Mailman told me that some RFC strongly recommends against it. More details are here: http://www.unicom.com/pw/reply-to-harmful.html I can make the setting if people really want it, but personally I think it is just as easy to click the reply-to-all button and sometimes I really do want to reply only to the sender. Changing the list setting makes that really difficult. -- Robin Dunn Software Craftsman robin@AllDunn.com http://AllDunn.com/robin/ http://AllDunn.com/wxPython/ Check it out! From wx-users-admin Sun Feb 27 15:19:04 2000 Received: (qmail 123 invoked by alias); Sun, 27 Feb 2000 21:19:04 -0000 Received: from mail1.registeredsite.com (mail1.registeredsite.com [209.35.159.6])PAA31940; Sun, 27 Feb 2000 15:19:04 -0600 Received: from mail.ALLDUNN.COM (mail.alldunn.com [208.242.114.26]) by mail1.registeredsite.com (8.9.3/8.9.3) with ESMTP id QAA05599; Sun, 27 Feb 2000 16:19:44 -0500 Received: from rogue [209.162.215.68] by mail.ALLDUNN.COM (SMTPD32-6.00) id A4A883900D4; Sun, 27 Feb 2000 16:18:32 -0500 Message-ID: <062701bf8167$eda8f1f0$0301a8c0@easystreet.com> From: "Robin Dunn" To: Cc: "wx-devel" , "wx-users" References: <049301bf8144$e7dd4320$0301a8c0@easystreet.com> <3.0.3.32.20000227214231.00b7d3f0@mailhost.iies.es> MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Subject: [wx-users] Re: [wx-dev] wxWindows mail list changes Date: Sun Feb 27 15:19:04 2000 > > Please do it. We already had a poll here (well, one in wxwin-users and > one in wxwin-dev) and we decided that we wanted this to be that way. > If you don't, a lot of replies will go to the original sender only > and not to the list wihtout the user even noticing. I don't mind what > that RFC says, but I know what *we* said some time ago when that poll > was done. > Okay, done. -- Robin Dunn Software Craftsman robin@AllDunn.com http://AllDunn.com/robin/ http://AllDunn.com/wxPython/ Check it out! From wx-users-admin Sun Feb 27 15:20:15 2000 Received: (qmail 123 invoked by alias); Sun, 27 Feb 2000 21:20:15 -0000 Received: from mail1.registeredsite.com (mail1.registeredsite.com [209.35.159.6])PAA32013; Sun, 27 Feb 2000 15:20:15 -0600 Received: from mail.ALLDUNN.COM (mail.alldunn.com [208.242.114.26]) by mail1.registeredsite.com (8.9.3/8.9.3) with ESMTP id QAA05894; Sun, 27 Feb 2000 16:20:56 -0500 Received: from rogue [209.162.215.68] by mail.ALLDUNN.COM (SMTPD32-6.00) id A4E083B00D4; Sun, 27 Feb 2000 16:19:28 -0500 Message-ID: <062f01bf8168$0f395260$0301a8c0@easystreet.com> From: "Robin Dunn" To: Cc: "wx-devel" , "wx-users" References: <3.0.3.32.20000227213845.00b7d1b0@mailhost.iies.es> MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Subject: [wx-users] Re: [wx-dev] wxWindows mail list changes Date: Sun Feb 27 15:20:16 2000 > > > >We have just moved the wxWindows mail list processors to wxwindows.org. The > >new addressses are: > > > >wx-announce@wxwindows.org > >wx-users@wxwindows.org > >wx-devel@wxwindows.org > > > > I assume old subscriptions are automatically transferred among the lists > (i.e. that we don't have to subscribe to the new ones now) and that both > will be maintained (and gated) in parallel for some time. > Yes. -- Robin Dunn Software Craftsman robin@AllDunn.com http://AllDunn.com/robin/ http://AllDunn.com/wxPython/ Check it out! From wx-users-admin Mon Feb 28 08:06:38 2000 Received: (qmail 123 invoked by alias); Mon, 28 Feb 2000 14:06:38 -0000 Received: from fw.bhmi.com ([208.248.174.66])IAA03209 for ; Mon, 28 Feb 2000 08:06:38 -0600 X-Authentication-Warning: fripp.sourcegear.com: Host [208.248.174.66] claimed to be fw.bhmi.com Received: from bhmi.com (david.whq.bhmi.com [172.16.1.127] (may be forged)) ESMTP id IAA05224 for ; Mon, 28 Feb 2000 08:06:36 -0600 Message-ID: <38BA81F8.816959F7@bhmi.com> From: David Webster X-Mailer: Mozilla 4.61 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: wx-users@wxwindows.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [wx-users] (no subject) Date: Mon Feb 28 08:06:39 2000 From wx-users-admin Mon Feb 28 14:44:55 2000 Received: (qmail 123 invoked by alias); Mon, 28 Feb 2000 20:44:54 -0000 Received: from shaker.exelixis.com (firewall-user@shaker.exelixis.com [209.0.11.254])OAA06995 for ; Mon, 28 Feb 2000 14:44:54 -0600 Received: by shaker.exelixis.com; id MAA03383; Mon, 28 Feb 2000 12:42:58 -0800 (PST) Received: from dhcp-172-29-64-62.exelixis.com(172.29.64.62) by shaker.exelixis.com via smap (4.1) id xma003249; Mon, 28 Feb 00 12:42:07 -0800 Message-ID: <38BADE11.202BBEDB@quasar.ipa.nw.ru> From: "Alexander V. Voinov" X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: wx-users@wxwindows.org Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Subject: [wx-users] Keyboard input focus on win32 Date: Mon Feb 28 14:44:55 2000 Hi, I didn't have a chance to look at wxWindows for a year. Now I'm considering to implement a project prototype in wxPython, and most of its use will be on win32. I downloaded latest wxPython 2.1.13. I tried to write a simple MDI application, where each MDI child has some controls within (ListCtrl's, TextCtrl's etc.) I found very strange behaviour of the framework in terms of getting the user's keyboard input focus. Namely, I have _always_ to press a mouse somewhere within a panel or dialog with controls, otherwise there is no way to get control over them. Even worse, if I temporarily switched back and forth to some other application windows on my desktop, I have to click mouse again on one of those controls. I suspected that I misused something, but I downloaded squirrel and see the same behaviour. I understand that every toolkit has its own game rules, but there are some common rules. E.g. I do not know any other useful Windows program with the same attitude to keyboard focus. Moreover, wxGTK appears to have "normal" behaviour in terms of what I describe. I played also with KillFocus/SetFocus, without too much success. So, what may a user do/expect in that case? Is there a normal way to adjust the focus behaviour of the framework? Is this really a bug-like feature to be improved in the next releases? Thank you in advance Alexander (please cc: to my email address, I didn't yet subsribe to the list) From wx-users-admin Mon Feb 28 15:32:47 2000 Received: (qmail 123 invoked by alias); Mon, 28 Feb 2000 21:32:47 -0000 Received: from md.dent.med.uni-muenchen.de (md.dent.med.uni-muenchen.de [138.245.179.2])PAA07660 for ; Mon, 28 Feb 2000 15:32:47 -0600 Received: (qmail 13484 invoked by uid 410); 28 Feb 2000 21:32:46 -0000 Delivered-To: wxwin-users@wx.dent.med.uni-muenchen.de Received: (qmail 13481 invoked from network); 28 Feb 2000 21:32:45 -0000 Received: from mailrelay1.lrz-muenchen.de (@129.187.254.101) by md.dent.med.uni-muenchen.de with SMTP; 28 Feb 2000 21:32:45 -0000 Received: from [216.64.144.163] by mailrelay1.lrz-muenchen.de with ESMTP for wxwin-users@wx.dent.med.uni-muenchen.de; Mon, 28 Feb 2000 22:32:44 +0100 Received: from frinky (frinky [216.64.144.165]) by wenet.net (8.9.3/8.9.3) with ESMTP id NAA13065 for ; Mon, 28 Feb 2000 13:27:48 -0800 (PST) From: "John S. Jacob" X-Sender: jsjacob@frinky To: wxwin-users@wx.dent.med.uni-muenchen.de Message-Id: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [wx-users] How to make wxSocket out of socket pointer? Date: Mon Feb 28 15:32:48 2000 I have a pre-existing library that gives me a socket pointer (int). I'd like to make a wxSocket out of this pointer. Is there a way to do this under wxGTK _and_ wxMSW? I'd like to call "WaitForRead()" on the socket in a cross-platform app without using #ifdefs. -- [========= John S. Jacob =========] | mailto:jsjacob@wenet.net | | http://www.wenet.net/~jsjacob/ | +---------------------------------+ From wx-users-admin Mon Feb 28 16:33:58 2000 Received: (qmail 123 invoked by alias); Mon, 28 Feb 2000 22:33:57 -0000 Received: from animaniacs.conectiva.com.br (IDENT:root@animaniacs.conectiva.com.br [200.250.58.146])QAA08268 for ; Mon, 28 Feb 2000 16:33:57 -0600 Received: from hercules (hercules.conectiva [192.168.255.83]) by animaniacs.conectiva.com.br (8.9.3/8.9.3) with ESMTP id TAA02354 for ; Mon, 28 Feb 2000 19:34:45 -0200 From: Ruben Martins Trancoso X-Sender: ruben@hercules.conectiva To: wx-users@wxwindows.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by fripp.sourcegear.com id QAA08269 Subject: [wx-users] How to begin Date: Mon Feb 28 16:33:58 2000 Hello, I'm new to this list and I wish to learn more about xwin. I'm looking for a compreensive reference. If yu know any, please, tell me. -- Ruben Paulo Martins Trancoso ruben@conectiva.com.br "Somente a consciência individual do agente dá testemunho dos atos sem testemunha, e não há ato mais desprovido de testemunha externa do que o ato de conhecer." - Olavo de Carvalho From wx-users-admin Mon Feb 28 18:25:26 2000 Received: (qmail 123 invoked by alias); Tue, 29 Feb 2000 00:25:26 -0000 Received: from www.cyberglobe.net (ns.cyberglobe.net [209.205.13.1]) SAA09823 for ; Mon, 28 Feb 2000 18:25:26 -0600 X-Authentication-Warning: fripp.sourcegear.com: Host ns.cyberglobe.net [209.205.13.1] claimed to be www.cyberglobe.net Received: from mochima.com (unverified [216.209.218.31]) by www.cyberglobe.net (Rockliffe SMTPRA 4.1.0) with ESMTP id ; Mon, 28 Feb 2000 19:24:45 -0500 Sender: carlos Message-ID: <38BB1325.BBBB7810@mochima.com> From: Carlos Moreno Organization: Mochima Software / AudioSystems X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: wx-users@wxwindows.org, "wxwin-users@wx.dent.med.uni-muenchen.de" Subject: Re: [wx-users] How to begin References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon Feb 28 18:25:27 2000 Ruben Martins Trancoso wrote: > > Hello, I'm new to this list and I wish to learn more about xwin. I'm > looking for a compreensive reference. If yu know any, please, tell me. I'm not aware of any comprehensive reference, but I can tell you something: wxWindows is extremely intuitive and easy to learn; there is some online documentation, which very often is enough to figure out what you're trying to do. When you need more detailed info, you can check the samples and chances are that you'll find a demo of what you need. When all else fails, you ask here, and in general there's always a kind soul willing to help you. I'm not sure if the online documentation is in several sites, but in Robert Roebling's site you can find the hello world tutorial, as well as the rest of the online documentation (alphabetical and categorized class reference). This online documentation has a brief guide to creating wxWindows application, as well as several discussions on specific topics. You can check it at: http://www.freiburg.linux.de/~wxxt Good luck, Carlos -- PS: wx-users@wxwindows.org?? Is that the same list I usually read and write to?? I CC'd the address that I have, just in case. From wx-users-admin Mon Feb 28 18:26:12 2000 Received: (qmail 123 invoked by alias); Tue, 29 Feb 2000 00:26:12 -0000 Received: from md.dent.med.uni-muenchen.de (md.dent.med.uni-muenchen.de [138.245.179.2])SAA09858 for ; Mon, 28 Feb 2000 18:26:12 -0600 Received: (qmail 13853 invoked by uid 410); 29 Feb 2000 00:26:11 -0000 Delivered-To: wxwin-users@wx.dent.med.uni-muenchen.de Received: (qmail 13850 invoked from network); 29 Feb 2000 00:26:10 -0000 Received: from mailrelay1.lrz-muenchen.de (@129.187.254.101) by md.dent.med.uni-muenchen.de with SMTP; 29 Feb 2000 00:26:10 -0000 Received: from ns.cyberglobe.net by mailrelay1.lrz-muenchen.de with ESMTP for wxwin-users@wx.dent.med.uni-muenchen.de; Tue, 29 Feb 2000 01:26:02 +0100 Received: from mochima.com (unverified [216.209.218.31]) by www.cyberglobe.net (Rockliffe SMTPRA 4.1.0) with ESMTP id ; Mon, 28 Feb 2000 19:24:45 -0500 Sender: carlos@mochima.com Message-Id: <38BB1325.BBBB7810@mochima.com> From: Carlos Moreno Organization: Mochima Software / AudioSystems X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: wx-users@wxwindows.org, Subject: Re: [wx-users] How to begin References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon Feb 28 18:26:13 2000 Ruben Martins Trancoso wrote: > > Hello, I'm new to this list and I wish to learn more about xwin. I'm > looking for a compreensive reference. If yu know any, please, tell me. I'm not aware of any comprehensive reference, but I can tell you something: wxWindows is extremely intuitive and easy to learn; there is some online documentation, which very often is enough to figure out what you're trying to do. When you need more detailed info, you can check the samples and chances are that you'll find a demo of what you need. When all else fails, you ask here, and in general there's always a kind soul willing to help you. I'm not sure if the online documentation is in several sites, but in Robert Roebling's site you can find the hello world tutorial, as well as the rest of the online documentation (alphabetical and categorized class reference). This online documentation has a brief guide to creating wxWindows application, as well as several discussions on specific topics. You can check it at: http://www.freiburg.linux.de/~wxxt Good luck, Carlos -- PS: wx-users@wxwindows.org?? Is that the same list I usually read and write to?? I CC'd the address that I have, just in case. From wx-users-admin Mon Feb 28 21:50:08 2000 Received: (qmail 123 invoked by alias); Tue, 29 Feb 2000 03:50:07 -0000 Received: from dns.iies.es (dns.iies.es [194.224.30.2])VAA11502 for ; Mon, 28 Feb 2000 21:50:07 -0600 Received: from bill (iies251.iies.es [194.224.30.251]) by dns.iies.es (8.8.5/8.8.5) with SMTP id EAA29066 for ; Tue, 29 Feb 2000 04:53:14 GMT Message-Id: <3.0.3.32.20000229042754.00d1cad0@mailhost.iies.es> X-Sender: guille@mailhost.iies.es X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.3 (32) To: wx-users@wxwindows.org From: Guillermo Rodriguez Garcia Subject: Re: [wx-users] How to make wxSocket out of socket pointer? In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon Feb 28 21:50:10 2000 At 13:28 28/02/00 -0800, you wrote: >I have a pre-existing library that gives me a socket pointer (int). I'd >like to make a wxSocket out of this pointer. Is there a way to do this >under wxGTK _and_ wxMSW? I'd like to call "WaitForRead()" on the socket in >a cross-platform app without using #ifdefs. No way, sorry. Regards, G. -- Guillermo Rodriguez Garcia From wx-users-admin Mon Feb 28 22:13:22 2000 Received: (qmail 123 invoked by alias); Tue, 29 Feb 2000 04:13:21 -0000 Received: from ta1.reno-onramp.com (root@[209.160.244.254])WAA11889 for ; Mon, 28 Feb 2000 22:13:21 -0600 X-Authentication-Warning: fripp.sourcegear.com: Host root@[209.160.244.254] claimed to be ta1.reno-onramp.com Received: from ta1.reno-onramp.com ([209.160.55.199]) by ta1.reno-onramp.com (8.8.5/8.6.12) with ESMTP id UAA12051 for ; Mon, 28 Feb 2000 20:20:29 -0800 Message-ID: <38BB47B0.BE347E01@ta1.reno-onramp.com> From: Derry Bryson X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: wx-users@wxwindows.org Subject: Re: [wx-users] How to begin References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon Feb 28 22:13:22 2000 Ruben Martins Trancoso wrote: > > Hello, I'm new to this list and I wish to learn more about xwin. I'm > looking for a compreensive reference. If yu know any, please, tell me. I saw an earlier response to this message, but just wanted to throw in my thoughts. The documentation on the website (and included with most snapshots) is very good. I would suggest looking through the topic overviews and then examining a couple of the sample programs. Take a look at the minimal sample to get an idea of what is required just to get a wxWindows app up and running and then the controls sample to see a little of what it can do. Beyond that, look at the examples and/or demos that look interesting (maybe all of them). Derry From wx-users-admin Tue Feb 29 01:44:49 2000 Received: (qmail 123 invoked by alias); Tue, 29 Feb 2000 07:44:49 -0000 Received: from cattell.psych.upenn.edu (CATTELL.PSYCH.UPENN.EDU [130.91.68.122])BAA15192 for ; Tue, 29 Feb 2000 01:44:49 -0600 Received: (from stauffer@localhost) by cattell.psych.upenn.edu (8.9.1/8.9.1/SAS.05) id CAA25809 for wx-users@wxwindows.org; Tue, 29 Feb 2000 02:44:48 -0500 (EST) From: stauffer@cattell.psych.upenn.edu (Michael Stauffer) Message-Id: <200002290744.CAA25809@cattell.psych.upenn.edu> To: wx-users@wxwindows.org (wxwin users) X-Mailer: ELM [version 2.4 PL23-upenn3.3] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [wx-users] wxMMedia2, process.cpp, et al [wx,2.1.13,WinNT 4,VC 6] Date: Tue Feb 29 01:44:50 2000 I downloaded wxEtc from CVS yesterday to get the most recent wxMMedia2 (looks great!). The readme has this note on installation: You need to move the three files included in this directory: - utilsunx.cpp => src/unix - process.cpp => src/common - process.h => include/wx - utilsexc.cpp => src/msw These files are more recent than those from my wx2.1.13 (wxMSW) CVS download. Is this implying that that I should rebuild 2.1.13 with these files? If so, is there a reason they are not in 2.1.13 download? Are they in the 2.1.14 download, which if I remember the logic correctly, is the "unstable" working version? I was able to compile the board sample app using 2.1.13 without the updated files as listed above. It ran, but not perfectly. Is this a sign that I need to rebuild 2.1.13 with the above files? TIA, Michael From wx-users-admin Tue Feb 29 01:56:23 2000 Received: (qmail 123 invoked by alias); Tue, 29 Feb 2000 07:56:22 -0000 Received: from md.dent.med.uni-muenchen.de (md.dent.med.uni-muenchen.de [138.245.179.2])BAA15296 for ; Tue, 29 Feb 2000 01:56:22 -0600 Received: (qmail 14373 invoked by uid 410); 29 Feb 2000 07:56:21 -0000 Delivered-To: wxwin-users@wx.dent.med.uni-muenchen.de Received: (qmail 14370 invoked from network); 29 Feb 2000 07:56:21 -0000 Received: from mailrelay1.lrz-muenchen.de (@129.187.254.101) by md.dent.med.uni-muenchen.de with SMTP; 29 Feb 2000 07:56:21 -0000 Received: from deadlock.et.tudelft.nl by mailrelay1.lrz-muenchen.de with ESMTP for wxwin-users@wx.dent.med.uni-muenchen.de; Tue, 29 Feb 2000 08:56:19 +0100 Received: from localhost (joris@localhost)IAA28321 for ; Tue, 29 Feb 2000 08:54:33 +0100 From: Joris van Rantwijk Reply-To: Joris van Rantwijk To: wxwin-users@wx.dent.med.uni-muenchen.de In-Reply-To: Message-Id: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [wx-users] RE: [wxGTK-2.1.13] Some problems with wxNotebook / wxListCtrl Date: Tue Feb 29 01:56:24 2000 On Mon, 28 Feb 2000, Vadim Zeitlin wrote: > > /* CTRL-TAB changes the (parent) window, i.e. switch notebook page */ > > ++ event.SetWindowChange( (gdk_event->state & GDK_CONTROL_MASK) ); > > event.SetCurrentFocus( win ); > Thanks, I just applied your patch to the cvs. Thanks. I just discovered another issue: Switching the Notebook page with Ctrl-TAB doesn't work when the focus is on a ListCtrl. This is because generic wxListCtrls have their own TAB handling code, but don't check the Ctrl flag. It could be fixed by doing something like above in generic/listctrl.cpp around line 1982: wxNavigationKeyEvent nevent; ++ nevent.SetWindowChange( event.ControlDown() ); nevent.SetDirection( !event.ShiftDown() ); but I'm not sure if this is the best way. Joris van Rantwijk joris@deadlock.et.tudelft.nl - http://deadlock.et.tudelft.nl/~joris/ From wx-users-admin Tue Feb 29 06:18:40 2000 Received: (qmail 123 invoked by alias); Tue, 29 Feb 2000 12:18:39 -0000 Received: from md.dent.med.uni-muenchen.de (md.dent.med.uni-muenchen.de [138.245.179.2])GAA16875 for ; Tue, 29 Feb 2000 06:18:39 -0600 Received: (qmail 15146 invoked by uid 410); 29 Feb 2000 12:18:38 -0000 Delivered-To: wxwin-users@wx.dent.med.uni-muenchen.de Received: (qmail 15143 invoked from network); 29 Feb 2000 12:18:38 -0000 Received: from mailrelay1.lrz-muenchen.de (@129.187.254.101) by md.dent.med.uni-muenchen.de with SMTP; 29 Feb 2000 12:18:38 -0000 Received: from sunny.mannesmann.de by mailrelay1.lrz-muenchen.de with ESMTP for wxwin-users@wx.dent.med.uni-muenchen.de; Tue, 29 Feb 2000 13:18:36 +0100 Received: from aladin.mannesmann.de ([195.233.128.10]) by sunny.mannesmann.de (Netscape Messaging Server 3.6) with ESMTP id AAA6A7E for ; Tue, 29 Feb 2000 13:15:11 +0100 Received: from E75046.vdogrp.de ([193.25.152.223]) by aladin.mannesmann.de (Netscape Messaging Server 3.6) with ESMTP id AAA45D8 for ; Tue, 29 Feb 2000 13:15:04 +0100 Received: by e75046.vdogrp.de with Internet Mail Service (5.5.2650.21) id ; Tue, 29 Feb 2000 13:15:03 +0100 Message-Id: <712336935DB1D31182D9009027CA500151D502@XC1046> From: "Wilhelm, Hans-Dieter" To: "'wxwin-users@wx.dent.med.uni-muenchen.de'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Subject: [wx-users] AW:AW: Still beginner, still Date: Tue Feb 29 06:18:41 2000 Hello Here' s my minimal program whichs exhibits some of my problems (restrictions). I use wxWindows/Gtk 2.1.11 (beta 0) (what ever this means) compiled with '--enable-debug_flag' on Suse Linux 6.3 gcc (is egcs preferable for wxWindows/Gtk?) If it is advisable to install the latest version I' ll do that without further questions. #include "wx/wx.h" #include // have '<' and '"' different effects? #include "wx/txtstrm.h" wxOutputStream& save_object(wxOutputStream& stream); // from the docview architecture wxInputStream& load_object(wxInputStream& stream); //------------------------------ int main( void) { wxString filename = "bla.txt"; wxFileOutputStream out_stream( filename); save_object( out_stream); // creates a new file and adds 3, 0.300000 and 1000.000000 to it. wxFileInputStream in_stream( filename); // shouldn't I close a stream before I can open a new one with the same file? load_object( in_stream); return( 0); } //------------------------------ wxOutputStream& save_object(wxOutputStream& stream) { wxInt32 i = 3; double d1 = .3; double d2 = 1e3; wxTextOutputStream txt_str( stream); txt_str << i << "\n"; txt_str.WriteDouble( d1); txt_str << "\n"; txt_str.WriteDouble( d2); // is 'txt_str << value_d;' equivalent? return( stream); } //------------------------------ wxInputStream& load_object(wxInputStream& stream) { double d1 = 0., d2 = 0.; // the '.' after '0' is superstitious, isn't it? wxInt32 i = 0; wxTextInputStream txt_str( stream); txt_str >> i; // this works txt_str.ReadString( ); // skips to the beginning of a new line. // txt_str >> d1; txt_str.ReadString( ); // value = txt_str.ReadDouble( ); // if I uncomment either of the two lines the program can' t return. printf( "\nInt: %d, double1: %f, double2: %f\n", i, d1, d2); return( stream); } //------------------------------ // at the very least this proofs that my assertion about the format of the double value is not true in this case. My favourate windowsmanager is Enlightenment but here I experience with the first invocation of a wxMessageBox that I get the correct configured system background colour and with the second I get a gray background. On the other hand with a file open dialog first the background is grey and changes then to the system colour. Another unexpected phenomenon is that I never see a icon pixmap (the mondrian in the minimal.cpp example), if I iconify a program one sees only a tiny application frame in the enlightenment iconbox. Neither it works in the file managers (Gnome: A piston and KDE: something else). Thanks Dieter > ---------- > Von: Robert Roebling[SMTP:roebling@ruf.uni-freiburg.de] > Antwort an: wxwin-users@wx.dent.med.uni-muenchen.de > Gesendet: Montag, 28. Februar 2000 18:42 > An: wxwin-users@wx.dent.med.uni-muenchen.de > Betreff: Re: Still beginner, still > > "Wilhelm, Hans-Dieter" wrote: > > > I write some results in a text file with the text outstream class of > wxXXX > > but I can't read some of the very same expressions in. It seems that the > > problem are the format of double ( I wrote with 'txt_stream.WriteDouble( > > dValue);') values for example: > > 0.100000 > > seems to bi ok, but with: > > 1000.000000 > > Please write a mini-program that exhibits the problem and send > it to the list or me, > > Robert > > > > ---------------------------------------------------------------------- > This Mail has been checked for Viruses > Attention: Encrypted Mails can NOT be checked ! > > * * * > > Diese Mail wurde auf Viren ueberprueft > Hinweis: Verschluesselte Mails koennen NICHT geprueft werden ! > ---------------------------------------------------------------------- > From wx-users-admin Tue Feb 29 06:44:40 2000 Received: (qmail 123 invoked by alias); Tue, 29 Feb 2000 12:44:39 -0000 Received: from gisserv.geoinform.fh-mainz.de ([143.93.105.10]) GAA17413 for ; Tue, 29 Feb 2000 06:44:39 -0600 X-Authentication-Warning: fripp.sourcegear.com: Host [143.93.105.10] claimed to be gisserv.geoinform.fh-mainz.de Received: from penthouse.geoinform.fh-mainz.de (penthouse.geoinform.fh-mainz.de [143.93.105.31]) by gisserv.geoinform.fh-mainz.de (8.9.3/8.9.3) with ESMTP id NAA07636 for ; Tue, 29 Feb 2000 13:44:37 +0100 (MET) Received: from geoinform.fh-mainz.de (localhost [127.0.0.1])NAA28797 for ; Tue, 29 Feb 2000 13:44:36 +0100 (MET) Sender: neifer@geoinform.fh-mainz.de Message-ID: <38BBBF34.224C493E@geoinform.fh-mainz.de> From: Markus Neifer Organization: i3mainz X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.6 sun4u) X-Accept-Language: de-DE, en MIME-Version: 1.0 To: wx-users@wxwindows.org Subject: Re: [wx-users] AW: Still beginner, still References: <712336935DB1D31182D9009027CA500151D502@XC1046> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue Feb 29 06:44:41 2000 "Wilhelm, Hans-Dieter" wrote: [...] > on Suse Linux 6.3 gcc (is egcs preferable for wxWindows/Gtk?) [...] egcs is obsolete. The egcs folks are now back on the main gcc branch (gcc 2.95.x and higher). Slightly OT, Markus From wx-users-admin Tue Feb 29 06:58:21 2000 Received: (qmail 123 invoked by alias); Tue, 29 Feb 2000 12:58:21 -0000 Received: from sunny.mannesmann.de (sunny.mannesmann.de [195.233.129.30]) GAA17680 for ; Tue, 29 Feb 2000 06:58:21 -0600 Received: from aladin.mannesmann.de ([195.233.128.10]) by sunny.mannesmann.de (Netscape Messaging Server 3.6) with ESMTP id AAA1EC0 for ; Tue, 29 Feb 2000 13:58:18 +0100 Received: from E75046.vdogrp.de ([193.25.152.223]) by aladin.mannesmann.de (Netscape Messaging Server 3.6) with ESMTP id AAADAD for ; Tue, 29 Feb 2000 13:58:13 +0100 Received: by e75046.vdogrp.de with Internet Mail Service (5.5.2650.21) id ; Tue, 29 Feb 2000 13:58:11 +0100 Message-ID: <712336935DB1D31182D9009027CA500151D503@XC1046> From: "Wilhelm, Hans-Dieter" To: "'wx-users@wxwindows.org'" Subject: AW:AW: [wx-users] AW: Still beginner, still X-Mailer: Internet Mail Service (5.5.2650.21) Date: Tue Feb 29 06:58:22 2000 Thanks for the information, I' m a bit behind ... Dieter > ---------------------------------------------------------------------- > This Mail has been checked for Viruses > Attention: Encrypted Mails can NOT be checked ! > > * * * > > Diese Mail wurde auf Viren ueberprueft > Hinweis: Verschluesselte Mails koennen NICHT geprueft werden ! > ---------------------------------------------------------------------- > From wx-users-admin Tue Feb 29 08:43:50 2000 Received: (qmail 123 invoked by alias); Tue, 29 Feb 2000 14:43:48 -0000 Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) IAA18484 for ; Tue, 29 Feb 2000 08:43:48 -0600 Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1])PAA91174 for ; Tue, 29 Feb 2000 15:43:40 +0100 (CET) Received: from seth.lpthe.jussieu.fr (IDENT:zeitlin@seth.lpthe.jussieu.fr [134.157.10.7])id PAA19750 for ; Tue, 29 Feb 2000 15:43:40 +0100 (MET) Received: from (zeitlin@localhost) by seth.lpthe.jussieu.fr (8.8.7/jtpda-5.1) id PAA04950 for wx-users@wxwindows.org; Tue, 29 Feb 2000 15:43:39 +0100 Message-ID: X-Mailer: XFMail 1.3 [p0] on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 In-Reply-To: <3.0.3.32.20000229042754.00d1cad0@mailhost.iies.es> Sender: zeitlin@lpthe.jussieu.fr From: Vadim Zeitlin To: wx-users@wxwindows.org Subject: Re: [wx-users] How to make wxSocket out of socket pointer? Date: Tue Feb 29 08:43:50 2000 On 29-Feb-00 Guillermo Rodriguez Garcia wrote: >>I have a pre-existing library that gives me a socket pointer (int). I'd >>like to make a wxSocket out of this pointer. > > No way, sorry. It might be a nice idea to have wxSocket::Attach(int fd) - at least under Unix - which would work like wxFile::Attach() though. I don't say that it's urgent or should be done before 2.2 (probably shouldn't), but I still think that it might be useful. Regards, VZ From wx-users-admin Tue Feb 29 08:55:27 2000 Received: (qmail 123 invoked by alias); Tue, 29 Feb 2000 14:55:17 -0000 Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) IAA18678 for ; Tue, 29 Feb 2000 08:55:17 -0600 Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1])PAA94414 for ; Tue, 29 Feb 2000 15:55:15 +0100 (CET) Received: from seth.lpthe.jussieu.fr (IDENT:zeitlin@seth.lpthe.jussieu.fr [134.157.10.7])id PAA19902 for ; Tue, 29 Feb 2000 15:55:15 +0100 (MET) Received: from (zeitlin@localhost) by seth.lpthe.jussieu.fr (8.8.7/jtpda-5.1) id PAA05014 for wx-users@wxwindows.org; Tue, 29 Feb 2000 15:55:15 +0100 Message-ID: X-Mailer: XFMail 1.3 [p0] on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 In-Reply-To: <38BADE11.202BBEDB@quasar.ipa.nw.ru> Sender: zeitlin@lpthe.jussieu.fr From: Vadim Zeitlin To: wx-users@wxwindows.org Subject: RE: [wx-users] Keyboard input focus on win32 Date: Tue Feb 29 08:55:27 2000 On 28-Feb-00 Alexander V. Voinov wrote: > focus. Namely, I have _always_ to press a mouse somewhere within a panel > or dialog with controls, otherwise there is no way to get control over > them. Even worse, if I temporarily switched back and forth to some other > application windows on my desktop, I have to click mouse again on one of > those controls. Hello, this shouldn't happen any more. If it still does with the current version, it's a bug and I'd like to know how to reproduce it. Ah, wait a moment: do you use a wxPanel as the parent of your controls? Note that the keyboard navigation and the focus are handled by this class, *not* wxFrame! > adjust the focus behaviour of the framework? Is this really a bug-like > feature to be improved in the next releases? No, it's not a feature at all (it's refreshing, though, that you think it is - usually people tend to call features bugs, not vice versa :-), it was a genuine bug in wxMSW, but I hope that it is fixed by now. Regards, VZ From wx-users-admin Tue Feb 29 09:00:06 2000 Received: (qmail 123 invoked by alias); Tue, 29 Feb 2000 15:00:04 -0000 Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) JAA18749 for ; Tue, 29 Feb 2000 09:00:04 -0600 Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1])QAA95968 for ; Tue, 29 Feb 2000 16:00:00 +0100 (CET) Received: from seth.lpthe.jussieu.fr (IDENT:zeitlin@seth.lpthe.jussieu.fr [134.157.10.7])id PAA19975 for ; Tue, 29 Feb 2000 15:59:59 +0100 (MET) Received: from (zeitlin@localhost) by seth.lpthe.jussieu.fr (8.8.7/jtpda-5.1) id PAA05030 for wx-users@wxwindows.org; Tue, 29 Feb 2000 15:59:59 +0100 Message-ID: X-Mailer: XFMail 1.3 [p0] on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 In-Reply-To: Sender: zeitlin@lpthe.jussieu.fr From: Vadim Zeitlin To: wx-users@wxwindows.org Subject: RE: [wx-users] RE: [wxGTK-2.1.13] Some problems with wxNotebook Date: Tue Feb 29 09:00:06 2000 On 29-Feb-00 Joris van Rantwijk wrote: > Switching the Notebook page with Ctrl-TAB doesn't work when the focus > is on a ListCtrl. This is because generic wxListCtrls have their own > TAB handling code, but don't check the Ctrl flag. It could be fixed by > doing something like above in generic/listctrl.cpp around line 1982: > wxNavigationKeyEvent nevent; > ++ nevent.SetWindowChange( event.ControlDown() ); > nevent.SetDirection( !event.ShiftDown() ); > but I'm not sure if this is the best way. I think so - it's hard to see how the parent can know that it is supposed to switch pages otherwise. Thanks for the patch, I just applied it. VZ From wx-users-admin Tue Feb 29 09:38:50 2000 Received: (qmail 123 invoked by alias); Tue, 29 Feb 2000 15:38:44 -0000 Received: from dns.iies.es (dns.iies.es [194.224.30.2])JAA19384 for ; Tue, 29 Feb 2000 09:38:44 -0600 Received: from bill (iies220.iies.es [194.224.30.220]) by dns.iies.es (8.8.5/8.8.5) with SMTP id QAA25383 for ; Tue, 29 Feb 2000 16:41:50 GMT Message-Id: <3.0.3.32.20000229161954.00848800@mailhost.iies.es> X-Sender: guille@mailhost.iies.es X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.3 (32) To: wx-users@wxwindows.org From: Guillermo Rodriguez Garcia Subject: Re: [wx-users] How to make wxSocket out of socket pointer? In-Reply-To: References: <3.0.3.32.20000229042754.00d1cad0@mailhost.iies.es> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue Feb 29 09:38:50 2000 At 15:43 29/02/00 +0100, you wrote: >On 29-Feb-00 Guillermo Rodriguez Garcia wrote: >>>I have a pre-existing library that gives me a socket pointer (int). I'd >>>like to make a wxSocket out of this pointer. >> >> No way, sorry. > > It might be a nice idea to have wxSocket::Attach(int fd) - at least >under Unix - which would work like wxFile::Attach() though. I don't >say that it's urgent or should be done before 2.2 (probably shouldn't), >but I still think that it might be useful. There is a vast ammount of initialization that must be done for each wxSocket, mostly at GSocket level, plus the socket descriptor isn't actually allocated until it is necessary, which happens in one of the following functions: GSocket_Connect GSocket_SetServer GSocket_SetNonOriented A single fd is useless, unless you know what exactly has been done with it, and how it is configured and setup, and if it is connected, how the connection was made, etc. Regards, G. -- Guillermo Rodriguez Garcia From wx-users-admin Tue Feb 29 09:44:17 2000 Received: (qmail 123 invoked by alias); Tue, 29 Feb 2000 15:44:16 -0000 Received: from mailgateway1.uni-freiburg.de (mailgateway1.uni-freiburg.de [132.230.1.6])JAA19695 for ; Tue, 29 Feb 2000 09:44:16 -0600 Received: from remote142-168.home.uni-freiburg.de (ruf.uni-freiburg.de) [132.230.142.168] by mailgateway1.uni-freiburg.de with esmtp (Exim 1.82 #3) id 12Pooo-0002c9-00; Tue, 29 Feb 2000 16:44:15 +0100 Sender: robert Message-ID: <38BBF4C1.11672E2@ruf.uni-freiburg.de> From: Robert Roebling Organization: University of Freiburg X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i586) X-Accept-Language: en MIME-Version: 1.0 To: wx-users@wxwindows.org Subject: Re: [wx-users] AW: Still beginner, still References: <712336935DB1D31182D9009027CA500151D502@XC1046> <38BBBF34.224C493E@geoinform.fh-mainz.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue Feb 29 09:44:17 2000 Markus Neifer wrote: > > on Suse Linux 6.3 gcc (is egcs preferable for wxWindows/Gtk?) > [...] > egcs is obsolete. The egcs folks are now back on the main > gcc branch (gcc 2.95.x and higher). It is my impression that egcs 1.1.2 is the best GNU compiler if you want to have code that works. I don't know what 2.95.x does better, but there seem to be a number of cases where it produces wrong code, GCC 2.95.x thus seems to be more experimental than egcs, which therefore is not obsolete at all, Robert From wx-users-admin Tue Feb 29 10:30:11 2000 Received: (qmail 123 invoked by alias); Tue, 29 Feb 2000 16:30:11 -0000 Received: from altas.scopic.com ([194.203.127.3])KAA20198 for ; Tue, 29 Feb 2000 10:30:11 -0600 X-Authentication-Warning: fripp.sourcegear.com: Host [194.203.127.3] claimed to be altas.scopic.com Received: from scopic.com.lethe (lethe.scopic.com [194.203.127.25]) by altas.scopic.com (8.9.1/8.9.1) with SMTP id QAA25648 for ; Tue, 29 Feb 2000 16:28:51 GMT Received: from scopic.com by scopic.com.lethe (SMI-8.6/SMI-SVR4) id QAA29429; Tue, 29 Feb 2000 16:28:48 GMT Sender: jimh@scopic.com Message-ID: <38BBF48D.3CDF1A16@scopic.com> From: Jim Hu Organization: Scott Pickford X-Mailer: Mozilla 4.6 [en] (X11; I; SunOS 5.6 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: wx-users@wxwindows.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [wx-users] WxWin & C/C++ builder 3.0 Date: Tue Feb 29 10:30:12 2000 Hi, there, I am a new comer to WxWin, I have following questions for you experts to answer. (1) Can I compile WxWin using C/C++ builder 3.0 (or the prefessional version) ? (2) If yes, and then how ? Also a question on SUSE 6.2 Can the WxWin be compiled on SUSE 6.2 ? I could not compile WXwin 2.11 on SUSE 6.2, first I got error saying many Makefile.in not found when I run configure, I then renamed all the makefile.in into Makefile.in, thing become better but the compilation did not finished and left many *.d *.o in the top directory. (also I have tried: I untar and unzip the source from Wxwin 2.0 and then unzip wxwin2.11 on the top of that, in this way, configure seemed to find nearly all the Makefile.in in the end) I then tried WxWin 2.0, the compilation and installation seemed to be finished OK, However when I came to compile those example programs, compiler complained some header file missing. Indeed, not all the header files were copied from source area to the installation area. For example, wx/motif/setup.h. This file is in the original source area. Regards Jim Hu From wx-users-admin Tue Feb 29 10:55:01 2000 Received: (qmail 123 invoked by alias); Tue, 29 Feb 2000 16:55:01 -0000 Received: from www.cyberglobe.net (ns.cyberglobe.net [209.205.13.1]) KAA20389 for ; Tue, 29 Feb 2000 10:55:01 -0600 X-Authentication-Warning: fripp.sourcegear.com: Host ns.cyberglobe.net [209.205.13.1] claimed to be www.cyberglobe.net Received: from mochima.com (unverified [207.107.110.10]) by www.cyberglobe.net for ; Tue, 29 Feb 2000 11:54:34 -0500 Sender: carlos Message-ID: <38BBFB23.12EA8C8A@mochima.com> From: Carlos Moreno X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20 i586) X-Accept-Language: en MIME-Version: 1.0 To: wx-users@wxwindows.org Subject: Re: [wx-users] AW: Still beginner, still References: <712336935DB1D31182D9009027CA500151D502@XC1046> <38BBBF34.224C493E@geoinform.fh-mainz.de> <38BBF4C1.11672E2@ruf.uni-freiburg.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue Feb 29 10:55:02 2000 Robert Roebling wrote: > > It is my impression that egcs 1.1.2 is the best GNU compiler > if you want to have code that works. I don't know what 2.95.x Ok, I know this is maybe shifting off topic, but I think I have a HUGE confusion with this, and would highly appreciate if some kind sould would clarify... I've always thought that gcc/g++ *is* egcs. When I use rpm to upgrade or install gcc/g++, I refer to egcs-1.1.*.rpm. If I type, at the command prompt: $ gcc -v (or `g++ -v', or `c++ -v') I get a message talking about version egcs-1.1.2, etc. So, what is this distinction that you mention? (I mean, the distinction between egcs and gcc/g++?) Thanks, Carlos -- From wx-users-admin Tue Feb 29 11:19:26 2000 Received: (qmail 123 invoked by alias); Tue, 29 Feb 2000 17:19:25 -0000 Received: from dns.iies.es (dns.iies.es [194.224.30.2])LAA20572 for ; Tue, 29 Feb 2000 11:19:25 -0600 Received: from bill (iies214.iies.es [194.224.30.214]) by dns.iies.es (8.8.5/8.8.5) with SMTP id SAA17200 for ; Tue, 29 Feb 2000 18:22:28 GMT Message-Id: <3.0.3.32.20000229180614.00d8d530@mailhost.iies.es> X-Sender: guille@mailhost.iies.es X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.3 (32) To: wx-users@wxwindows.org From: Guillermo Rodriguez Garcia Subject: Re: [wx-users] AW: Still beginner, still In-Reply-To: <38BBFB23.12EA8C8A@mochima.com> References: <712336935DB1D31182D9009027CA500151D502@XC1046> <38BBBF34.224C493E@geoinform.fh-mainz.de> <38BBF4C1.11672E2@ruf.uni-freiburg.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue Feb 29 11:19:27 2000 At 12:00 29/02/00 -0500, you wrote: >Robert Roebling wrote: >> >> It is my impression that egcs 1.1.2 is the best GNU compiler >> if you want to have code that works. I don't know what 2.95.x > >Ok, I know this is maybe shifting off topic, but I think I have >a HUGE confusion with this, and would highly appreciate if some >kind sould would clarify... > >I've always thought that gcc/g++ *is* egcs. When I use rpm to >upgrade or install gcc/g++, I refer to egcs-1.1.*.rpm. If I >type, at the command prompt: > >$ gcc -v (or `g++ -v', or `c++ -v') > >I get a message talking about version egcs-1.1.2, etc. > >So, what is this distinction that you mention? (I mean, the >distinction between egcs and gcc/g++?) After gcc 2.8.1, the gcc team splitted up and begun developing an experimental compiler based on gcc, which was named egcs, in parallel with gcc. egcs was supposed to be less stable than gcc and its aim was to allow experimentation of new features while still having gcc as a solid compiler. The egcs team made a few releases (up to 1.1.2, if I'm not wrong) and soon it was proved that egcs not only had more features and was more compliant to current C++ standards than regular gcc, but it was also more stable and robust. So the FSF 'adopted back' egcs and merged it with gcc again (2.95 series). So there was some moment when gcc and egcs were different efforts, but now they are again the same, as current gcc is based on the later egcs. Regards, G. -- Guillermo Rodriguez Garcia From wx-users-admin Tue Feb 29 12:43:14 2000 Received: (qmail 123 invoked by alias); Tue, 29 Feb 2000 18:43:13 -0000 Received: from md.dent.med.uni-muenchen.de (md.dent.med.uni-muenchen.de [138.245.179.2])MAA21372 for ; Tue, 29 Feb 2000 12:43:13 -0600 Received: (qmail 16521 invoked by uid 410); 29 Feb 2000 18:43:12 -0000 Delivered-To: wxwin-users@wx.dent.med.uni-muenchen.de Received: (qmail 16518 invoked from network); 29 Feb 2000 18:43:12 -0000 Received: from mailrelay1.lrz-muenchen.de (@129.187.254.101) by md.dent.med.uni-muenchen.de with SMTP; 29 Feb 2000 18:43:12 -0000 Received: from shiva.jussieu.fr by mailrelay1.lrz-muenchen.de with ESMTP for wxwin-users@wx.dent.med.uni-muenchen.de; Tue, 29 Feb 2000 19:43:10 +0100 Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1])TAA56302 for ; Tue, 29 Feb 2000 19:41:55 +0100 (CET) Received: from seth.lpthe.jussieu.fr (IDENT:zeitlin@seth.lpthe.jussieu.fr [134.157.10.7])id TAA24355 for ; Tue, 29 Feb 2000 19:41:54 +0100 (MET) Received: from (zeitlin@localhost) by seth.lpthe.jussieu.fr (8.8.7/jtpda-5.1) id TAA07498 for wxwin-users@wx.dent.med.uni-muenchen.de; Tue, 29 Feb 2000 19:41:54 +0100 Message-Id: X-Mailer: XFMail 1.3 [p0] on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 In-Reply-To: Sender: zeitlin@lpthe.jussieu.fr From: Vadim Zeitlin To: wxwin-users@wx.dent.med.uni-muenchen.de Subject: [wx-users] RE: Docvwmdi Date: Tue Feb 29 12:43:15 2000 On 26-Feb-00 Paul Neelands wrote: > Running the docvwmdi sample, compiled under VC6 I get two small problems. ... > Suggestions? I fixed both of them yesterday, thanks for reporting them. The fixes will be available in 2.1.14 beta which should be released on Mar, 12. Regards, VZ From wx-users-admin Tue Feb 29 12:57:57 2000 Received: (qmail 123 invoked by alias); Tue, 29 Feb 2000 18:57:56 -0000 Received: from saturne.robots.com (wks-137-226.kscable.com [24.92.137.226]) MAA21816 for ; Tue, 29 Feb 2000 12:57:56 -0600 X-Authentication-Warning: fripp.sourcegear.com: Host wks-137-226.kscable.com [24.92.137.226] claimed to be saturne.robots.com Received: (from philippe@localhost) by saturne.robots.com (8.9.3/8.9.3) id MAA06561; Tue, 29 Feb 2000 12:54:48 -0700 Message-Id: <200002291954.MAA06561@saturne.robots.com> To: wx-users@wxwindows.org From: Philippe Moutarlier Subject: [wx-users] [OT] pixmap package ? Date: Tue Feb 29 12:57:57 2000 Hi, I am currently writing a little drawing application and was wondering if there was some pixmap package available with the standard type of icons for drawing (shapes, cissors, brush etc.) Thanks Philippe From wx-users-admin Tue Feb 29 17:09:01 2000 Received: (qmail 123 invoked by alias); Tue, 29 Feb 2000 23:09:00 -0000 Received: from cattell.psych.upenn.edu (CATTELL.PSYCH.UPENN.EDU [130.91.68.122])RAA25833 for ; Tue, 29 Feb 2000 17:09:00 -0600 Received: (from stauffer@localhost) by cattell.psych.upenn.edu (8.9.1/8.9.1/SAS.05) id SAA21594 for wx-users@wxwindows.org; Tue, 29 Feb 2000 18:08:59 -0500 (EST) From: stauffer@cattell.psych.upenn.edu (Michael Stauffer) Message-Id: <200002292308.SAA21594@cattell.psych.upenn.edu> To: wx-users@wxwindows.org (wxwin users) X-Mailer: ELM [version 2.4 PL23-upenn3.3] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [wx-users] CW 4 makefile/mcp file? [wxMac] Date: Tue Feb 29 17:09:01 2000 Anyone have a makefile for building wxMac (most recent CVS download) from a codewarrior project they could send me so I can build a project file for CW 4? Or, a CW 4 mcp file would be great too. The wxMac page says CW 4 (with the patches) is needed, but the mcp file I got from the wxMac 2.0 download won't open under CW 4. I checked the mailing list archive on eGroups, and it seems people had trouble opening it in CW 5, but it eventually worked. I downloaded the synced version of wxMac from CVS, per instructions on the wxMac home page, but it has no makefile or project file. I did "cvs checkout wxMac". Do I need to do something else? Thanks, Michael From wx-users-admin Tue Feb 29 18:38:16 2000 Received: (qmail 123 invoked by alias); Wed, 01 Mar 2000 00:38:15 -0000 Received: from mail.inetmail.de (root@mail.inetmail.de [62.96.3.26]) SAA26442 for ; Tue, 29 Feb 2000 18:38:15 -0600 Received: from Bamse01 (erwin@line36-140.inetservice.de [62.96.36.140]) by mail.inetmail.de (8.9.3/8.9.3) with SMTP id BAA20381 for ; Wed, 1 Mar 2000 01:38:13 +0100 From: Erwin Dieterich To: wx-users@wxwindows.org X-Mailer: KMail [version 1.0.28] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <00030101455900.00314@Bamse01> Content-Transfer-Encoding: 8bit Subject: [wx-users] problems with Borland commandlineprogs C++ v5.5 Date: Tue Feb 29 18:38:17 2000 Borland now offers free download of C++ 5.5 commandlineversion. So I downloaded it and tried to compile wx 2.1.11 in Windows. I should add that normally I use only Linux. I ran into several problems when trying to build wx.lib. Did someone try this before? Should i downlod a newer version of wx? If yes: where? Should I worry about "possibly wrong alignment" warnings? If someone is willing & able to help me, I can post exactly what I did and which problems occured. Thanks for your help, - Erwin From wx-users-admin Tue Feb 29 20:00:03 2000 Received: (qmail 123 invoked by alias); Wed, 01 Mar 2000 02:00:02 -0000 Received: from md.dent.med.uni-muenchen.de (md.dent.med.uni-muenchen.de [138.245.179.2])UAA27021 for ; Tue, 29 Feb 2000 20:00:02 -0600 Received: (qmail 17920 invoked by uid 410); 1 Mar 2000 02:00:01 -0000 Delivered-To: wxwin-users@wx.dent.med.uni-muenchen.de Received: (qmail 17917 invoked by uid 410); 1 Mar 2000 02:00:00 -0000 Message-ID: <20000301020000.17916.qmail@md.dent.med.uni-muenchen.de> From: wxwin@dent.med.uni-muenchen.de To: wxwin-users@wx.dent.med.uni-muenchen.de Reply-To: wxwin-users-owner@wx.dent.med.uni-muenchen.de X-No-Archive: yes Subject: [wx-users] How to unsubscribe from this list (automatic posting) Date: Tue Feb 29 20:00:03 2000 This is an automatic posting that is sent to the wxwin-users mailing list on the 1st and 15th of every month. Last change: Dec 14, 1998. ********* How to unsubscribe from the wxWindows mailing lists ********* Simply sending the word `unsubscribe' in a line of itself or in the subject to one or more of the following addresses: wxwin-users-request@wx.dent.med.uni-muenchen.de wxwin-developers-request@wx.dent.med.uni-muenchen.de wxwin-announce-request@wx.dent.med.uni-muenchen.de ---depending on what list(s) you're on---will work automatically and fast for 98% of all people. If this doesn't work, i.e. you get a reply like "Hmm, I don't see your_new_address@where.you.now.are on the list" then try to specify a Reply-To: my_old_address@where.i.was header with the address you think you're subscribed under in your request (but still send it _only_ to one of the above addresses !). If you don't know how to do this, or if IT ALL DOESN'T WORK, you can contact me wmglo@wx.dent.med.uni-muenchen.de directly and I will help you out. This may take up to 2-4 days though (I do this in my spare time), so PLEASE be patient. Please *DO NOT* send any requests for (un)subscription to the mailing lists themselves, they will be ignored. Thank you. From wx-users-admin Tue Feb 29 20:27:18 2000 Received: (qmail 123 invoked by alias); Wed, 01 Mar 2000 02:27:16 -0000 Received: from fepa.mail.ozemail.net (fepa.mail.ozemail.net [203.2.192.101]) UAA27349 for ; Tue, 29 Feb 2000 20:27:16 -0600 Received: from ozemail.com.au (1Cust82.tnt2.syd2.da.uu.net [63.12.1.82]) by fepa.mail.ozemail.net (8.9.0/8.6.12) with ESMTP id NAA10334 for ; Wed, 1 Mar 2000 13:27:13 +1100 (EST) Message-ID: <38BC8000.9F5CF138@ozemail.com.au> From: Michael Bedward X-Mailer: Mozilla 4.61 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: wx-users@wxwindows.org Subject: Re: [wx-users] problems with Borland commandlineprogs C++ v5.5 References: <00030101455900.00314@Bamse01> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue Feb 29 20:27:18 2000 Erwin Dieterich wrote: > > Borland now offers free download of C++ 5.5 commandlineversion. > So I downloaded it and tried to compile wx 2.1.11 in Windows. > I should add that normally I use only Linux. > > I ran into several problems when trying to build wx.lib. Did > someone try this before? Should i downlod a newer version of > wx? If yes: where? > > Should I worry about "possibly wrong alignment" warnings? > Hi Not sure if this is much help because I don't use BC5.5 but wx.lib compiles from the command line with BC5.2 using the latest source from the CVS archive. There have been a few compilation problems for Borland with previous wx versions. If you can I'd suggest you download the latest sources from CVS (see www.wxwindows.org for details). regards Michael =============================================================== Michael Bedward mbedward@ozemail.com.au Ecological consultancies http://www.ozemail.com.au/~mbedward Software development Web page design From wx-users-admin Tue Feb 29 20:30:18 2000 Received: (qmail 123 invoked by alias); Wed, 01 Mar 2000 02:30:18 -0000 Received: from server.spectranet.ca (server.spectranet.ca [204.187.59.244]) UAA27418 for ; Tue, 29 Feb 2000 20:30:18 -0600 Received: from paulneel (dyn208-28-56-214.TorKitLon.SpectraNet.Ca [208.28.56.214]) by server.spectranet.ca (8.8.8/waffleiron) with SMTP id VAA07802 for ; Tue, 29 Feb 2000 21:29:47 -0500 (EST) From: "Paul Neelands" To: Subject: RE: [wx-users] RE: Docvwmdi Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 In-Reply-To: Importance: Normal Date: Tue Feb 29 20:30:19 2000 Thanks very much. Paul > -----Original Message----- > From: wx-users-admin@wxwindows.org > [mailto:wx-users-admin@wxwindows.org]On Behalf Of Vadim Zeitlin > Sent: February 29, 2000 1:42 PM > > I fixed both of them yesterday, thanks for reporting them. > > The fixes will be available in 2.1.14 beta which should be released > on Mar, 12. > > Regards, > VZ > > From wx-users-admin Tue Feb 29 20:53:01 2000 Received: (qmail 123 invoked by alias); Wed, 01 Mar 2000 02:53:00 -0000 Received: from md.dent.med.uni-muenchen.de (md.dent.med.uni-muenchen.de [138.245.179.2])UAA27602 for ; Tue, 29 Feb 2000 20:53:00 -0600 Received: (qmail 17978 invoked by uid 410); 1 Mar 2000 02:52:59 -0000 Delivered-To: wxwin-users@wx.dent.med.uni-muenchen.de Received: (qmail 17975 invoked from network); 1 Mar 2000 02:52:59 -0000 Received: from mailrelay1.lrz-muenchen.de (@129.187.254.101) by md.dent.med.uni-muenchen.de with SMTP; 1 Mar 2000 02:52:59 -0000 Received: from smtp10.atl.mindspring.net by mailrelay1.lrz-muenchen.de with ESMTP for wxwin-users@wx.dent.med.uni-muenchen.de; Wed, 1 Mar 2000 03:52:58 +0100 Received: from jayk_home4nt (user-2ini86s.dialup.mindspring.com [165.121.32.220]) by smtp10.atl.mindspring.net (8.9.3/8.8.5) with SMTP id VAA05575; Tue, 29 Feb 2000 21:52:25 -0500 (EST) Message-Id: <018e01bf8329$8a64e8b0$0201a8c0@jayk_home4nt> From: "Jay Krell" To: , MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 Subject: [wx-users] Unresolved external 'operator new(unsigned int, char*, int)' Date: Tue Feb 29 20:53:02 2000 This is a sign that you've done a "debug" build but linked to a retail C runtime. operator new(unsigned int, /*const*/ char*, int) is operator new(size_t bytes, /*const*/ char* file, int line) something like #define new new(__FILE__, __LINE__) for leak tracking. This is supposed to be somewhat difficult to get wrong though, since Visual C++'s crtdbg.h says: #ifndef _DEBUG inline void* __cdecl operator new(unsigned int s, int, const char *, int) { return ::operator new(s); } ... Maybe wxWindows declares the overload itself under a different preprocessor symbols -- notice the lack of const. Try to link to msvcrtD.lib or libcmtD.lib instead of msvcrt.lib or libcmt.lib..given the lack of const though..you're still likely to fail to link. Try putting in this in one of your source files: void* __cdecl operator new(unsigned int s, int, /*const*/ char *, int) { return ::operator new(s); } though you should also track down the "real" cause instead of working around it. - Jay From wx-users-admin Tue Feb 29 21:14:01 2000 Received: (qmail 123 invoked by alias); Wed, 01 Mar 2000 03:14:00 -0000 Received: from md.dent.med.uni-muenchen.de (md.dent.med.uni-muenchen.de [138.245.179.2])VAA27815 for ; Tue, 29 Feb 2000 21:14:00 -0600 Received: (qmail 18008 invoked by uid 410); 1 Mar 2000 03:13:59 -0000 Delivered-To: wxwin-users@wx.dent.med.uni-muenchen.de Received: (qmail 18005 invoked from network); 1 Mar 2000 03:13:59 -0000 Received: from mailrelay1.lrz-muenchen.de (@129.187.254.101) by md.dent.med.uni-muenchen.de with SMTP; 1 Mar 2000 03:13:59 -0000 Received: from smtp10.atl.mindspring.net by mailrelay1.lrz-muenchen.de with ESMTP for wxwin-users@wx.dent.med.uni-muenchen.de; Wed, 1 Mar 2000 04:13:56 +0100 Received: from jayk_home4nt (user-2ini86s.dialup.mindspring.com [165.121.32.220]) by smtp10.atl.mindspring.net (8.9.3/8.8.5) with SMTP id WAA24166; Tue, 29 Feb 2000 22:13:16 -0500 (EST) Message-Id: <01b901bf832c$77133390$0201a8c0@jayk_home4nt> From: "Jay Krell" To: , MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 Subject: [wx-users] Re: Unresolved external 'operator new(unsigned int,char*,int)' Date: Tue Feb 29 21:14:01 2000 Yep, as I thought maybe, should have checked before posting, wxWindows does this all itself, it's nothing to do with msvcrt.lib or msvcrtD.lib. Just search for "operator new", these are the relevant ones: E:\wx\include\wx\memory.h(71):void * operator new (size_t size, wxChar * fileName, int lineNum); E:\wx\src\common\memory.cpp(950):void * operator new (size_t size, wxChar * fileName, int lineNum) E:\wx\src\common\memory.cpp(981):void * operator new[] (size_t size, wxChar * fileName, int lineNum) lineNum) It has nothing to do with crtdbg.h or msvcrt.lib or msvcrtd.lib. You'll have to figure out why these aren't being used "correctly". It's possible you built one way but linked against a differently built wx.lib (it's kind of dubious for the libraries to have a different signature in this case, the retail one could just ignore the file and line). Again, a quick workaround will be void* operator new(size_t size, wxChar*, int) { return operator new(size); } - Jay -----Original Message----- From: Jay Krell To: wxwin-users@wx.dent.med.uni-muenchen.de ; BODO@plt.rwth-aachen.de Date: Tuesday, February 29, 2000 6:55 PM Subject: Unresolved external 'operator new(unsigned int,char*,int)' [] From wx-users-admin Wed Mar 1 00:06:02 2000 Received: (qmail 123 invoked by alias); Wed, 01 Mar 2000 06:06:01 -0000 Received: from server.python.net (IDENT:qmailr@server.python.net [209.50.192.113])AAA28583 for ; Wed, 1 Mar 2000 00:06:01 -0600 Received: (qmail 30545 invoked from network); 1 Mar 2000 06:06:11 -0000 Received: from adsl-63-200-50-192.dsl.snfc21.pacbell.net (HELO quasar.ipa.nw.ru) (63.200.50.192) by server.python.net with SMTP; 1 Mar 2000 06:06:11 -0000 Message-ID: <38BCB2C6.73F90EA4@quasar.ipa.nw.ru> From: "Alexander V. Voinov" X-Mailer: Mozilla 4.72 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: "wx-users@wxwindows.org" Content-Type: multipart/mixed; boundary="------------81651B607E59D6E31525C40B" Subject: [wx-users] Focus issues on win32 Date: Wed Mar 1 00:06:04 2000 This is a multi-part message in MIME format. --------------81651B607E59D6E31525C40B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Vadim et al. This is the example (in Python) which illustrates subject. I was wrong saying that is does not restore focus when switched back from another window, but I'm not sure that my slight misuse _must_ result in such focus behaviour as I reported. (Due to a misprint, the parent for my ListCtrl was the MDIChildFrame, not a wxPanel within it.) BUT the problem remains: 1. When switched back from another desktop window, it restores WRONG MDI child: always the first one (and brings it to top in z-order if necessary). 2. When a popup dialog is displayed and then closed, focus is not restored at all to the place where it was before this popup. Thank you in advance Alexander --------------81651B607E59D6E31525C40B Content-Type: text/plain; charset=iso-8859-1; name="example3.py" Content-Transfer-Encoding: 8bit Content-Disposition: inline; filename="example3.py" #!/usr/bin/env python from wxPython.wx import * #---------------------------------------------------------------------- class MyPanel(wxPanel): def __init__(self, parent): wxPanel.__init__(self, parent, -1, # with wxDefaultSize it gets miserable... size = wxSize(3500, 2000)) def OnEditItem(self, evt): w0 = wxWindow_FindFocus() print w0 win = wxDialog(self, -1, "Why can't I activate it by Enter, not by Space?", wxDefaultPosition, wxSize(350, 200)) wxStaticText(win, -1, "It's possible when the list is attached to a Frame", wxPoint(20, 20)) wxButton(win, wxID_OK, " OK ", wxPoint(75, 120), wxDefaultSize).SetDefault() wxButton(win, wxID_CANCEL, " Cancel ", wxPoint(200, 120), wxDefaultSize) val = win.ShowModal() if val == wxID_OK: print "You pressed OK\n" else: print "You pressed Cancel\n" if 0: ret = w0.SetFocus() else: print "can't return focus without this call" class MyMDIChildFrame(wxMDIChildFrame): def __init__(self, parent): wxMDIChildFrame.__init__(self, parent, -1, "test%d.dat" % parent.winCount, style = wxMAXIMIZE) pan = MyPanel(self) tID = NewId() print tID self.list = wxListCtrl(pan, tID, wxDefaultPosition, wxDLG_SZE(pan, 200, 200), wxLC_REPORT|wxSUNKEN_BORDER) EVT_LIST_ITEM_ACTIVATED(pan, tID, pan.OnEditItem) self.list.InsertColumn(0, "Col1") self.list.InsertColumn(1, "Col2") self.list.SetColumnWidth(0, 100) self.list.SetColumnWidth(1, 400) nItems = 50 for x in range(nItems): self.list.InsertStringItem(x, "This is item %d" % x) self.list.SetStringItem(x, 1, "Double click any item to activate") self.list.SetStringItem(0, 1, "Please create more MDI children,") self.list.SetStringItem(1, 1, "Tile them, select any except first one,") self.list.SetStringItem(2, 1, "Then switch to any other desktop window ") self.list.SetStringItem(3, 1, "And return back ") #---------------------------------------------------------------------- class MyParentFrame(wxMDIParentFrame): def __init__(self): wxMDIParentFrame.__init__(self, None, -1, "test", # size=(900,750), style = wxMAXIMIZE|wxDEFAULT_FRAME_STYLE) self.winCount = 0 menu = wxMenu() menu.Append(5000, "&Íîâîå îêíî") menu.AppendSeparator() menu.Append(5001, "E&xit") menubar = wxMenuBar() menubar.Append(menu, "&File") self.SetMenuBar(menubar) self.CreateStatusBar() EVT_MENU(self, 5000, self.OnNewWindow) EVT_MENU(self, 5001, self.OnExit) aTable = wxAcceleratorTable([(wxACCEL_ALT, ord('X'), 5001), (wxACCEL_CTRL, ord('H'), 5000)]) self.SetAcceleratorTable(aTable) def OnExit(self, evt): self.Close(true) def OnNewWindow(self, evt): self.winCount = self.winCount + 1 win = MyMDIChildFrame(self) cs = win.GetClientSize() win.Show(true) #---------------------------------------------------------------------- class MyApp(wxApp): def OnInit(self): frame = MyParentFrame() frame.Show(true) self.SetTopWindow(frame) frame.OnNewWindow(None) return true app = MyApp(0) app.MainLoop() --------------81651B607E59D6E31525C40B-- From wx-users-admin Wed Mar 1 01:28:25 2000 Received: (qmail 123 invoked by alias); Wed, 01 Mar 2000 07:28:24 -0000 Received: from md.dent.med.uni-muenchen.de (md.dent.med.uni-muenchen.de [138.245.179.2])BAA28990 for ; Wed, 1 Mar 2000 01:28:24 -0600 Received: (qmail 18206 invoked by uid 410); 1 Mar 2000 07:28:23 -0000 Delivered-To: wxwin-users@wx.dent.med.uni-muenchen.de Received: (qmail 18203 invoked from network); 1 Mar 2000 07:28:22 -0000 Received: from mailrelay1.lrz-muenchen.de (@129.187.254.101) by md.dent.med.uni-muenchen.de with SMTP; 1 Mar 2000 07:28:22 -0000 Received: from sunny.mannesmann.de by mailrelay1.lrz-muenchen.de with ESMTP for wxwin-users@wx.dent.med.uni-muenchen.de; Wed, 1 Mar 2000 08:28:18 +0100 Received: from aladin.mannesmann.de ([195.233.128.10]) by sunny.mannesmann.de (Netscape Messaging Server 3.6) with ESMTP id AAA32DF for ; Wed, 1 Mar 2000 08:24:55 +0100 Received: from E75046.vdogrp.de ([193.25.152.223]) by aladin.mannesmann.de (Netscape Messaging Server 3.6) with ESMTP id AAA1E55 for ; Wed, 1 Mar 2000 08:24:53 +0100 Received: by e75046.vdogrp.de with Internet Mail Service (5.5.2650.21) id ; Wed, 1 Mar 2000 08:24:53 +0100 Message-Id: <712336935DB1D31182D9009027CA500151D508@XC1046> From: "Wilhelm, Hans-Dieter" To: "'wxwin-users@wx.dent.med.uni-muenchen.de'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Subject: [wx-users] wx stream classes (just ONE question from a beginner) Date: Wed Mar 1 01:28:26 2000 Hello and sorry for annoying you again I just can' t manage to read in double (text) values with the wx stream classes. It' d be nice if a good soul would take a look why my example program below doesn' t run. /* I use wxWindows/Gtk 2.1.11 (beta 0) (what ever this means) compiled with '--enable- debug_flag' on Suse Linux 6.3 gcc If it is advisable to install the latest version I' ll do that without further questions. */ > #include "wx/wx.h" > #include // have '<' and '"' different effects? > #include "wx/txtstrm.h" > wxOutputStream& save_object(wxOutputStream& stream); // I want to override > the docview architecture' s SaveObject( ) function > wxInputStream& load_object(wxInputStream& stream); > //------------------------------ > int main( void) > { > wxString filename = "bla.txt"; > wxFileOutputStream out_stream( filename); > save_object( out_stream); // creates a new file and adds 3, 0.300000 and > 1000.000000 to it. > wxFileInputStream in_stream( filename); // shouldn't I close a stream > before I can open a new one with the same file? > load_object( in_stream); > return( 0); > } > //------------------------------ > wxOutputStream& save_object(wxOutputStream& stream) > { > wxInt32 i = 3; > double d1 = .3; > double d2 = 1e3; > wxTextOutputStream txt_str( stream); > txt_str << i << "\n"; > txt_str.WriteDouble( d1); > txt_str << "\n"; > txt_str.WriteDouble( d2); // is 'txt_str << value_d;' equivalent? > return( stream); > } > //------------------------------ > wxInputStream& load_object(wxInputStream& stream) > { > double d1 = 0., d2 = 0.; // the '.' after '0' is superstitious, isn't > it? > wxInt32 i = 0; > wxTextInputStream txt_str( stream); > txt_str >> i; // this works > txt_str.ReadString( ); // skips to the beginning of a new line. > // txt_str >> d1; > txt_str.ReadString( ); > // value = txt_str.ReadDouble( ); // if I uncomment either of the two > lines the program can' t return. > printf( "\nInt: %d, double1: %f, double2: %f\n", i, d1, d2); > return( stream); > } > //------------------------------ > Thank you very much Dieter Wilhelm > ---------- > Von: Robert Roebling[SMTP:roebling@ruf.uni-freiburg.de] > Antwort an: wxwin-users@wx.dent.med.uni-muenchen.de > Gesendet: Montag, 28. Februar 2000 18:42 > An: wxwin-users@wx.dent.med.uni-muenchen.de > Betreff: Re: Still beginner, still > > "Wilhelm, Hans-Dieter" wrote: > > > I write some results in a text file with the text outstream class of > wxXXX > > but I can't read some of the very same expressions in. It seems that the > > problem are the format of double ( I wrote with 'txt_stream.WriteDouble( > > dValue);') values for example: > > 0.100000 > > seems to bi ok, but with: > > 1000.000000 > > Please write a mini-program that exhibits the problem and send > it to the list or me, > > Robert > > > > ---------------------------------------------------------------------- > This Mail has been checked for Viruses > Attention: Encrypted Mails can NOT be checked ! > > * * * > > Diese Mail wurde auf Viren ueberprueft > Hinweis: Verschluesselte Mails koennen NICHT geprueft werden ! > ---------------------------------------------------------------------- > From wx-users-admin Wed Mar 1 02:56:46 2000 Received: (qmail 123 invoked by alias); Wed, 01 Mar 2000 08:56:44 -0000 Received: from sophia.inria.fr (root@sophia.inria.fr [138.96.32.20]) CAA29641 for ; Wed, 1 Mar 2000 02:56:44 -0600 Received: from sophia.inria.fr by sophia.inria.fr (8.8.8/8.8.5) with ESMTP id JAA14503 for ; Wed, 1 Mar 2000 09:56:36 +0100 (MET) X-Authentication-Warning: sophia.inria.fr: Host borneo.inria.fr [138.96.16.65] claimed to be sophia.inria.fr Sender: Sylvain.Bougnoux@sophia.inria.fr Message-ID: <38BCDB42.ADE5ABDD@sophia.inria.fr> From: Sylvain Bougnoux Organization: I.N.R.I.A. , Valbonne Sophia Antipolis X-Mailer: Mozilla 4.72 [en] (X11; I; SunOS 5.6 sun4u) X-Accept-Language: French, fr, en MIME-Version: 1.0 To: wx-users@wxwindows.org Subject: Re: [wx-users] wx stream classes (just ONE question from a beginner) References: <712336935DB1D31182D9009027CA500151D508@XC1046> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed Mar 1 02:56:46 2000 > txt_str << i << "\n"; > use endl instead of "\n" > > > txt_str >> i; // this works > > txt_str.ReadString( ); // skips to the beginning of a new line. > > // txt_str >> d1; > > txt_str.ReadString( ); > use txt_str >> i >> d1 >> d2; Sylvain From wx-users-admin Wed Mar 1 03:29:48 2000 Received: (qmail 123 invoked by alias); Wed, 01 Mar 2000 09:29:48 -0000 Received: from md.dent.med.uni-muenchen.de (md.dent.med.uni-muenchen.de [138.245.179.2])DAA29897 for ; Wed, 1 Mar 2000 03:29:48 -0600 Received: (qmail 18408 invoked by uid 410); 1 Mar 2000 09:29:46 -0000 Delivered-To: wxwin-users@wx.dent.med.uni-muenchen.de Received: (qmail 18405 invoked from network); 1 Mar 2000 09:29:46 -0000 Received: from mailrelay1.lrz-muenchen.de (@129.187.254.101) by md.dent.med.uni-muenchen.de with SMTP; 1 Mar 2000 09:29:46 -0000 Received: from mail.uni-bielefeld.de by mailrelay1.lrz-muenchen.de with ESMTP for wxwin-users@wx.dent.med.uni-muenchen.de; Wed, 1 Mar 2000 10:29:44 +0100 Received: from techfak.uni-bielefeld.de (ppp36-325.hrz.uni-bielefeld.de) by mail.uni-bielefeld.de (Sun Internet Mail Server sims.3.5.1999.05.24.18.28.p7) with ESMTP id <0FQQ00LR8KV7IY@mail.uni-bielefeld.de> for wxwin-users@wx.dent.med.uni-muenchen.de; Wed, 1 Mar 2000 10:25:56 +0100 (MET) From: Timo Thomas Sender: tider@mail.uni-bielefeld.de To: wxwin-users@wx.dent.med.uni-muenchen.de Message-Id: <38BB9D42.B904CA6B@techfak.uni-bielefeld.de> MIME-version: 1.0 X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5 i686) Content-type: text/plain; charset=iso-8859-1 X-Accept-Language: en References: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by fripp.sourcegear.com id DAA29898 Subject: [wx-users] Re: ambiguous overload err. with wxString [wxGTK 2.0.1 on linux, Date: Wed Mar 1 03:29:49 2000 Vadim Zeitlin wrote: > > On 26-Feb-00 Vadim Zeitlin wrote: > > Well, a cast to int will surely do it, but I will add an expicit > > operator<<(long) too, just in case. Yes, a cast does it, but it doesn´t increase readability. > Sorry, I replied before looking at the header. This operator<<() > is already there since some time. Are we talking about the same header? I meant "string.h" in wxGTK 2.0.1, and I can´t find this operator there. Or do you mean it was added in a newer version (which I´ll download then)? Regards, Timo -- __.__________ |lmo |homas From wx-users-admin Wed Mar 1 10:47:27 2000 Received: (qmail 123 invoked by alias); Wed, 01 Mar 2000 16:47:23 -0000 Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) KAA05535 for ; Wed, 1 Mar 2000 10:47:23 -0600 Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1])RAA49611 for ; Wed, 1 Mar 2000 17:47:17 +0100 (CET) Received: from seth.lpthe.jussieu.fr (IDENT:zeitlin@seth.lpthe.jussieu.fr [134.157.10.7])id RAA13313 for ; Wed, 1 Mar 2000 17:47:16 +0100 (MET) Received: from (zeitlin@localhost) by seth.lpthe.jussieu.fr (8.8.7/jtpda-5.1) id RAA25790 for wx-users@wxwindows.org; Wed, 1 Mar 2000 17:47:16 +0100 Message-ID: X-Mailer: XFMail 1.3 [p0] on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 In-Reply-To: <38BB9D42.B904CA6B@techfak.uni-bielefeld.de> Sender: zeitlin@lpthe.jussieu.fr From: Vadim Zeitlin To: wx-users@wxwindows.org Subject: RE: [wx-users] Re: ambiguous overload err. with wxString [wxGTK Date: Wed Mar 1 10:47:28 2000 On 29-Feb-00 Timo Thomas wrote: > Or do you mean it was added in a newer version? Yes. VZ From wx-users-admin Wed Mar 1 10:56:54 2000 Received: (qmail 123 invoked by alias); Wed, 01 Mar 2000 16:56:54 -0000 Received: from viper.oldcity.dca.net (viper.oldcity.dca.net [216.158.38.4]) KAA05654 for ; Wed, 1 Mar 2000 10:56:54 -0600 Received: from pixel.citadel.org (207-245-90-41.dca.net [207.245.90.41]) by viper.oldcity.dca.net (8.9.3/8.9.3/DCANET) with ESMTP id LAA10557 for ; Wed, 1 Mar 2000 11:56:56 -0500 Received: (from root@localhost) by pixel.citadel.org (8.9.3/8.9.3) id LAA32716 for wx-users@wxwindows.org; Wed, 1 Mar 2000 11:56:52 -0500 From: room_wxwin@bbs.pixel.citadel.org (Patriot) To: wx-users@wxwindows.org Message-Id: <67986@bbs.pixel.citadel.org> X-Mailer: Citadel/UX 5.60 Subject: [wx-users] Sorry if this has been asked before, but is there anyway to Date: Wed Mar 1 10:56:55 2000 Sorry if this has been asked before, but is there anyway to make default icons be jpgs instead of xpm files? I've tried using *new wxIMAGE("images/image.jpg"); with no success... From wx-users-admin Wed Mar 1 11:15:15 2000 Received: (qmail 123 invoked by alias); Wed, 01 Mar 2000 17:15:12 -0000 Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) LAA06325 for ; Wed, 1 Mar 2000 11:15:12 -0600 Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1])SAA57688 for ; Wed, 1 Mar 2000 18:15:10 +0100 (CET) Received: from seth.lpthe.jussieu.fr (IDENT:zeitlin@seth.lpthe.jussieu.fr [134.157.10.7])id SAA13826 for ; Wed, 1 Mar 2000 18:15:10 +0100 (MET) Received: from (zeitlin@localhost) by seth.lpthe.jussieu.fr (8.8.7/jtpda-5.1) id SAA25917 for wx-users@wxwindows.org; Wed, 1 Mar 2000 18:15:10 +0100 Message-ID: X-Mailer: XFMail 1.3 [p0] on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 In-Reply-To: <67986@bbs.pixel.citadel.org> Sender: zeitlin@lpthe.jussieu.fr From: Vadim Zeitlin To: wx-users@wxwindows.org Subject: RE: [wx-users] Sorry if this has been asked before, but is there Date: Wed Mar 1 11:15:16 2000 On 01-Mar-00 Patriot wrote: > Sorry if this has been asked before, but is there anyway to make default > icons be jpgs instead of xpm files? What do you mean by "default icon"? VZ From wx-users-admin Wed Mar 1 11:17:48 2000 Received: (qmail 123 invoked by alias); Wed, 01 Mar 2000 17:17:39 -0000 Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) LAA06397 for ; Wed, 1 Mar 2000 11:17:39 -0600 Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1])SAA58484 for ; Wed, 1 Mar 2000 18:17:34 +0100 (CET) Received: from seth.lpthe.jussieu.fr (IDENT:zeitlin@seth.lpthe.jussieu.fr [134.157.10.7])id SAA13847 for ; Wed, 1 Mar 2000 18:17:34 +0100 (MET) Received: from (zeitlin@localhost) by seth.lpthe.jussieu.fr (8.8.7/jtpda-5.1) id SAA25925 for wx-users@wxwindows.org; Wed, 1 Mar 2000 18:17:34 +0100 Message-ID: X-Mailer: XFMail 1.3 [p0] on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 In-Reply-To: <38BCB2C6.73F90EA4@quasar.ipa.nw.ru> Sender: zeitlin@lpthe.jussieu.fr From: Vadim Zeitlin To: wx-users@wxwindows.org Subject: RE: [wx-users] Focus issues on win32 Date: Wed Mar 1 11:17:49 2000 On 01-Mar-00 Alexander V. Voinov wrote: > 1. When switched back from another desktop window, it restores WRONG MDI > child: always the first one (and brings it to top in z-order if > necessary). This was fixed in the cvs several (2?) days ago only, you'd need the latest cvs sources to get rid of this. It was a bug in wxMDIParentFrame, in fact. > 2. When a popup dialog is displayed and then closed, focus is not > restored at all to the place where it was before this popup. I will have a look at it. Regards, VZ From wx-users-admin Wed Mar 1 14:51:59 2000 Received: (qmail 123 invoked by alias); Wed, 01 Mar 2000 20:51:58 -0000 Received: from gremlin.verant.com (gremlin.verant.com [206.19.150.5]) OAA09498 for ; Wed, 1 Mar 2000 14:51:58 -0600 Received: from sbobachpc.verant.com ([206.19.151.177]) by gremlin.verant.com (8.9.1a/8.9.1) with SMTP id MAA10426 for ; Wed, 1 Mar 2000 12:51:21 -0800 (PST) Message-ID: <020301bf83bf$fa223040$b19713ce@verant.com> From: "Bob Mitchell" To: "wx-users" Organization: Verant Interactive MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Subject: [wx-users] Introduction Date: Wed Mar 1 14:52:00 2000 Hello. I wanted to introduce myself to the mailing list before I started asking too many questions. My name is Bob Mitchell. I'm a senior programmer at Verant Interactive, which creates massively multiplayer online games. You may have heard of our game EverQuest. I'm on a non-game specific team that is responsible for networking/database/billing infrastructure, game front-ends and foyers, monitoring tools, web pages, and lots more. There is always something interesting to do. My last project was Trivial Pursuit Online for the Station (http://www.station.sony.com) The Station is interested in the cross-platform angle to simplify ports to MacOS and Linux for their casual games. Verant is also interested in a single UI/tool solution that can include with DirectX and game consoles. I have worked with Galaxy and ILog Views in the past and look forward to using wxWindows. Furthermore I can imagine having to write several wxXX ports in the next couple of years (see above). I really appreciate not having to write the whole framework from scratch in the one month allotted in the schedule for my next project. I have a couple of things on my immediate to do list before I start writing the client application. Please let me know if you are working on similar "features" or something already exists. 1) controls/widgets that use custom art everywhere 2) double buffered display 3) XML resource files 4) skins 5) lots of custom controls A) embedded browser -- IWebBrowser and WebBrowserEvents We need to handle Java, Flash, etc in the in-game "banner ads" B) scrolling text -- for credits (vert) and announcement messages (horz) C) animation -- think flip cards D) a bunch of application specific ones On my short term list of things to do: 1) UI editor that handles the wxSizer and custom widgets ( and reads/writes to the XML resource files above.) 2) integrate the MacroMedia Flash API source (once it becomes available, supposedly mid-January. ) Thanks for all the help (in advance) and nice meeting you all. Bob Mitchell Verant Interactive From wx-users-admin Thu Mar 2 01:19:50 2000 Received: (qmail 123 invoked by alias); Thu, 02 Mar 2000 07:19:50 -0000 Received: from sunny.mannesmann.de (sunny.mannesmann.de [195.233.129.30]) BAA13429 for ; Thu, 2 Mar 2000 01:19:50 -0600 Received: from aladin.mannesmann.de ([195.233.128.10]) by sunny.mannesmann.de (Netscape Messaging Server 3.6) with ESMTP id AAA66D7 for ; Thu, 2 Mar 2000 08:19:43 +0100 Received: from E75046.vdogrp.de ([193.25.152.223]) by aladin.mannesmann.de (Netscape Messaging Server 3.6) with ESMTP id AAA4C6 for ; Thu, 2 Mar 2000 08:19:41 +0100 Received: by e75046.vdogrp.de with Internet Mail Service (5.5.2650.21) id ; Thu, 2 Mar 2000 08:19:42 +0100 Message-ID: <712336935DB1D31182D9009027CA500151D50A@XC1046> From: "Wilhelm, Hans-Dieter" To: "'wx-users@wxwindows.org'" Subject: AW: AW: [wx-users] wx text stream classes (just ONE question from a beginner) X-Mailer: Internet Mail Service (5.5.2650.21) Date: Thu Mar 2 01:19:51 2000 Thanks a lot Sylvain for your immedeate reply But unfortunately that isn' t just enough or not the problem. I changed the code according to your suggestions (please see below) and still the dam thing just won' t return. > ---------- > > /* I use wxWindows/Gtk 2.1.11 (beta 0, whatever this means) compiled with > '--enable- debug_flag' > on Suse Linux 6.3 gcc > If it is advisable to install the latest version I' ll do that without > further questions. > */ > > #include "wx/wx.h" > > #include // have '<' and '"' different effects? > > #include "wx/txtstrm.h" > > wxOutputStream& save_object(wxOutputStream& stream); // I want to > override > > the docview architecture' s SaveObject( ) function > > wxInputStream& load_object(wxInputStream& stream); > > //------------------------------ > > int main( void) > > { > > wxString filename = "bla.txt"; > > wxFileOutputStream out_stream( filename); > > save_object( out_stream); // creates a new file and adds 3, 0.300000 > and > > 1000.000000 to it. > > wxFileInputStream in_stream( filename); // shouldn't I close a stream > > before I can open up a new one with the same file? > > load_object( in_stream); > > return( 0); > > } > > //------------------------------ > > wxOutputStream& save_object(wxOutputStream& stream) > > { > > wxInt32 i = 3; > > double d1 = .3; > > double d2 = 1e3; > > wxTextOutputStream txt_str( stream); > > txt_str << i << endl << d1 << endl << d2; > > return( stream); > > } > > //------------------------------ > > wxInputStream& load_object(wxInputStream& stream) > > { > > double d1 = 0., d2 = 0.; // the '.' after '0' is superstitious, isn't > it? > > wxInt32 i = 0; > > wxTextInputStream txt_str( stream); > > txt_str >> i >> d1 >> d2; > > wxLogMessage( "\nInt: %d, double1: %f, double2: %f\n", i, d1, d2); > > return( stream); > > } > > Thanks for every hint Dieter From wx-users-admin Thu Mar 2 02:35:26 2000 Received: (qmail 123 invoked by alias); Thu, 02 Mar 2000 08:35:19 -0000 Received: from sophia.inria.fr (root@sophia.inria.fr [138.96.32.20]) CAA13759 for ; Thu, 2 Mar 2000 02:35:19 -0600 Received: from sophia.inria.fr by sophia.inria.fr (8.8.8/8.8.5) with ESMTP id JAA13845 for ; Thu, 2 Mar 2000 09:35:16 +0100 (MET) X-Authentication-Warning: sophia.inria.fr: Host borneo.inria.fr [138.96.16.65] claimed to be sophia.inria.fr Sender: Sylvain.Bougnoux@sophia.inria.fr Message-ID: <38BE27C2.AE26F942@sophia.inria.fr> From: Sylvain Bougnoux Organization: I.N.R.I.A. , Valbonne Sophia Antipolis X-Mailer: Mozilla 4.72 [en] (X11; I; SunOS 5.6 sun4u) X-Accept-Language: French, fr, en MIME-Version: 1.0 To: wx-users@wxwindows.org Subject: Re: AW: AW: [wx-users] wx text stream classes (just ONE question froma beginner) References: <712336935DB1D31182D9009027CA500151D50A@XC1046> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu Mar 2 02:35:27 2000 > > > /* I use wxWindows/Gtk 2.1.11 (beta 0, whatever this means) compiled with > upgrade to wxGTK 2.1.13 (14?) or cvs. I do this every day it should work. Does bla.txt seems to be ok ? Where does it hangs ? I'm not sure of the behaviour of wxInt32 (!) > > > > wxLogMessage( "\nInt: %d, double1: %f, double2: %f\n", i, d1, d2); Shouldn't %f be %g ? From wx-users-admin Thu Mar 2 04:24:35 2000 Received: (qmail 123 invoked by alias); Thu, 02 Mar 2000 10:24:34 -0000 Received: from skylla.rus.uni-stuttgart.DE (skylla.rus.uni-stuttgart.de [141.58.231.9])EAA14461 for ; Thu, 2 Mar 2000 04:24:34 -0600 Received: from po.uni-stuttgart.de (iv-kib5.bauingenieure.uni-stuttgart.de [129.69.242.5]) by skylla.rus.uni-stuttgart.DE (8.8.8/8.8.8) with ESMTP id LAA29454 for ; Thu, 2 Mar 2000 11:24:32 +0100 (MET) env-from (Martin.Bernreuther@po.uni-stuttgart.de) Message-ID: <38BE4445.A5B7EBA7@po.uni-stuttgart.de> From: Martin Bernreuther Reply-To: Martin.Bernreuther@po.uni-stuttgart.de Organization: University of Stuttgart X-Mailer: Mozilla 4.61 [en] (WinNT; I) X-Accept-Language: de-DE,de, de-AU,de-CH,en,en-US,en-GB,fr MIME-Version: 1.0 To: wx-users@wxwindows.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [wx-users] [wx,all,2.1.13] wxLogCtrl? Date: Thu Mar 2 04:24:36 2000 Hello, Is there something like a wxLogCtrl? Using wxLogWindow, I can't place it somewhere inside my frame (as part of a wxSplitterWindow)? AFAIK wxLogWindow is NOT derived from wxWindow! This is a little bit confusing... I found wxLogFrame somewhere in the sources, but not in the manual. (Also wxLogWindow,wxLogGUI,... is not described much in detail.) What about wxLogTextCtrl combined with a wxTextCtrl? This seems to be a solution? But I also didn't find anything in the manual? (Why not designing a class wxLogCtrl derived from wxLog and wxControl? To avoid multiple inheritance? OK...) Thanks Martin -- ------------------------------------------------------------------------ Dipl.-Ing. Martin Bernreuther University of Stuttgart Pfaffenwaldring 7 Informationsverarbeitung im 70569 Stuttgart konstruktiven Ingenieurbau Germany Phone: (+49 711) 685-6595 http://www.uni-stuttgart.de/iv-kib/ Fax: (+49 711) 685-6602 E-Mail: Martin.Bernreuther@po.uni-stuttgart.de ------------------------------------------------------------------------ From wx-users-admin Thu Mar 2 04:45:58 2000 Received: (qmail 123 invoked by alias); Thu, 02 Mar 2000 10:45:54 -0000 Received: from chalfont.mail.easynet.net (chalfont.mail.easynet.net [195.40.1.44])EAA14656 for ; Thu, 2 Mar 2000 04:45:54 -0600 Received: from rose (tnt-12-194.easynet.co.uk [212.134.20.194]) by chalfont.mail.easynet.net (Postfix) with SMTP id 3E1B2F89FC for ; Thu, 2 Mar 2000 10:45:52 +0000 (GMT) Message-Id: <3.0.1.32.20000302103220.014aae00@pop-3.ukonline.co.uk> X-Sender: julian.smart@pop-3.ukonline.co.uk X-Mailer: Windows Eudora Light Version 3.0.1 (32) To: wx-users@wxwindows.org From: Julian Smart Subject: Re: [wx-users] Introduction In-Reply-To: <020301bf83bf$fa223040$b19713ce@verant.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu Mar 2 04:46:00 2000 Hello Bob, Welcome to the fold! That's an impressive list of credentials and forthcoming wxWindows-related projects. >My last project was Trivial Pursuit Online for >the Station (http://www.station.sony.com) Cool! >The Station is interested in the cross-platform angle >to simplify ports to MacOS and Linux for their casual >games. Verant is also interested in a single UI/tool solution >that can include with DirectX and game consoles. Right. Well, broadening wxWindows' remits to these machines would be very, very nice indeed. Exciting stuff. Unfortunately the wxStubs 'blank port' is out of date and will need regenerating (by stripping down one of the existing ports). On the plus side, lots of the wxWindows library code is generic. >I have a couple of things on my immediate to do list before I >start writing the client application. Please let me know >if you are working on similar "features" or something already exists. > >1) controls/widgets that use custom art everywhere On the Backroom/Future Ports page there is a bit about a possible MGL port which as far as I know has stalled somewhat; but they were going to have to write a lot of widgets from scratch and might have some code. There are a few generic (written-in-wxWindows) widgets in wxWindows, such as wxTreeCtrl, wxListCtrl (used only if there's not a platform-specific version) but I would certainly like to see very customizable versions of all widgets. >2) double buffered display >3) XML resource files Aha, as discussed recently on wxwin-developers (XML as resource file format). >4) skins Yo! I'd _really_ like to see that. I'm quite interested in writing snazzy consumer-oriented consumer apps. wxWindows has been good so far at fairly conventional-looking apps and now perhaps it's time to move towards less conventional UI capabilities (optional, of course!) [Naturally wxWin programmers can already write their own custom widgets etc. using wxWindows drawing primitives and event handlers, but it would be better to give higher-level support.] >5) lots of custom controls > A) embedded browser -- IWebBrowser and WebBrowserEvents > We need to handle Java, Flash, etc in the in-game "banner ads" > B) scrolling text -- for credits (vert) and announcement messages (horz) > C) animation -- think flip cards > D) a bunch of application specific ones Nice. >On my short term list of things to do: >1) UI editor that handles the wxSizer and custom widgets > ( and reads/writes to the XML resource files above.) >2) integrate the MacroMedia Flash API source (once it becomes > available, supposedly mid-January. ) Short-term, eh :-) I suspect writing the editor & XML parser isn't trivial, but you'll get an enormous amount of kudos (and no doubt help) because an improved editor is probably No. 1 on most people's wish list for wxWindows. Thank you for letting us know about yourself -- your projects sounds really exciting and I'm looking forward to hearing more. Let me know if I can add you to the Future Ports or Who's Doing What pages. Best regards, Julian ======================================================================== Julian Smart mailto:julian.smart@ukonline.co.uk 12 North Street West http://www.anthemion.co.uk Uppingham, Rutland +44 (0)1572 822579 U.K. LE15 9SG ======================================================================== From wx-users-admin Thu Mar 2 06:38:47 2000 Received: (qmail 123 invoked by alias); Thu, 02 Mar 2000 12:38:47 -0000 Received: from md.dent.med.uni-muenchen.de (md.dent.med.uni-muenchen.de [138.245.179.2])GAA15913 for ; Thu, 2 Mar 2000 06:38:47 -0600 Received: (qmail 20827 invoked by uid 410); 2 Mar 2000 12:38:45 -0000 Delivered-To: wxwin-users@wx.dent.med.uni-muenchen.de Received: (qmail 20824 invoked from network); 2 Mar 2000 12:38:45 -0000 Received: from mailrelay1.lrz-muenchen.de (@129.187.254.101) by md.dent.med.uni-muenchen.de with SMTP; 2 Mar 2000 12:38:45 -0000 Received: from smtp.screaming.net by mailrelay1.lrz-muenchen.de with ESMTP for wxwin-users@wx.dent.med.uni-muenchen.de; Thu, 2 Mar 2000 13:38:44 +0100 Received: from brook-green.freeserve.co.uk (dyn14-ras16.froglike.co.uk [212.49.239.14]) by smtp.screaming.net (8.9.3/8.9.3) with ESMTP id MAA09560 for ; Thu, 2 Mar 2000 12:35:21 GMT Received: from garfield [192.168.0.225] by brook-green.freeserve.co.uk [192.168.0.226] with SMTP (MDaemon.v2.8.5.0.R) for ; Thu, 02 Mar 2000 12:11:58 +0000 Reply-To: "laurie buxton" From: "laurie buxton" To: Message-Id: <000301bf8440$bcf96ea0$e100a8c0@brookgreen.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <712336935DB1D31182D9009027CA500151D501@XC1046> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Importance: Normal X-MDaemon-Deliver-To: wxwin-users@wx.dent.med.uni-muenchen.de X-Return-Path: L.Buxton@brook-green.freeserve.co.uk Subject: [wx-users] Dynamic Dialog Windows Date: Thu Mar 2 06:38:48 2000 Dear All, I'm currently working on a project that requires me create multiple dialog windows. Each Dialog windows would have an associated *.CFG file, which is simply a text file. The idea is that at Runtime when a dialog window opens, it reads the *.CFG to define how it is laid out (ie entry name, input variable type etc..). The principle is quite simple I want to be able to redefine the *.cfg after compilation of the main program. Anyone got any ideas? Also whilst I'm on the subject of Dialogs, can some please tell me why in the WX Samples, the Recourses sample (which demonstrates how *.wxr works) needs an additional wxr file called Menu1.wxr? and can you write programs with out menu1.wxr? I know it defines the drop down menus in the program but, why? Many thanks Laurence Buxton *---------* EECS-F | _n___n_ | Aston University | {~._.~} | | ( Y ) | | ()~*~() | | (_)-(_) | *---------* ......... Never leave the Bear Behind .......... From wx-users-admin Thu Mar 2 09:45:43 2000 Received: (qmail 123 invoked by alias); Thu, 02 Mar 2000 15:45:40 -0000 Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) JAA18377 for ; Thu, 2 Mar 2000 09:45:40 -0600 Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1])QAA53381 for ; Thu, 2 Mar 2000 16:45:35 +0100 (CET) Received: from seth.lpthe.jussieu.fr (IDENT:zeitlin@seth.lpthe.jussieu.fr [134.157.10.7])id QAA00066 for ; Thu, 2 Mar 2000 16:45:35 +0100 (MET) Received: from (zeitlin@localhost) by seth.lpthe.jussieu.fr (8.8.7/jtpda-5.1) id QAA12565 for wx-users@wxwindows.org; Thu, 2 Mar 2000 16:45:35 +0100 Message-ID: X-Mailer: XFMail 1.3 [p0] on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 In-Reply-To: <38BE4445.A5B7EBA7@po.uni-stuttgart.de> Sender: zeitlin@lpthe.jussieu.fr From: Vadim Zeitlin To: wx-users@wxwindows.org Subject: RE: [wx-users] [wx,all,2.1.13] wxLogCtrl? Date: Thu Mar 2 09:45:45 2000 On 02-Mar-00 Martin Bernreuther wrote: > Is there something like a wxLogCtrl? No, but you don't need it :-) > What about wxLogTextCtrl combined with a wxTextCtrl? This seems > to be a solution? But I also didn't find anything in the manual? What about this (from controls sample): text = new wxTextCtrl(this, -1, "This is the log window.\n", wxPoint(0, 250), wxSize(100, 50), wxTE_MULTILINE); logTargetOld = wxLog::SetActiveTarget(new wxLogTextCtrl(text)); ... delete wxLog::SetActiveTarget(logTargetOld); ? HTH, VZ From wx-users-admin Thu Mar 2 10:29:41 2000 Received: (qmail 123 invoked by alias); Thu, 02 Mar 2000 16:29:40 -0000 Received: from md.dent.med.uni-muenchen.de (md.dent.med.uni-muenchen.de [138.245.179.2])KAA20226 for ; Thu, 2 Mar 2000 10:29:40 -0600 Received: (qmail 21138 invoked by uid 410); 2 Mar 2000 16:29:38 -0000 Delivered-To: wxwin-users@wx.dent.med.uni-muenchen.de Received: (qmail 21135 invoked from network); 2 Mar 2000 16:29:37 -0000 Received: from mailrelay1.lrz-muenchen.de (@129.187.254.101) by md.dent.med.uni-muenchen.de with SMTP; 2 Mar 2000 16:29:37 -0000 Received: from celeste.INS.CWRU.Edu by mailrelay1.lrz-muenchen.de with ESMTP for wxwin-users@wx.dent.med.uni-muenchen.de; Thu, 2 Mar 2000 17:29:32 +0100 Received: from dedalus.cwru.edu (b61095.STUDENT.CWRU.Edu [129.22.238.167]) by celeste.INS.CWRU.Edu with SMTP (8.8.8+cwru/CWRU-3.6) id LAA08913; ) Message-Id: <3.0.1.32.20000302112520.01446068@pop.cwru.edu> X-Sender: bat5@pop.cwru.edu X-Mailer: Windows Eudora Light Version 3.0.1 (32) To: wxwin-users@wx.dent.med.uni-muenchen.de From: Brian Alexander Todd In-Reply-To: <388C2E2B.6CB114AB@volny.cz> References: <388BDB95.A6634494@mochima.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: [wx-users] wxGTK & Xlib Date: Thu Mar 2 10:29:46 2000 /* Please pardon; I am new to X windows programming */ I am writing a scientific visualization application that integrates wxWindows and the Visualization Toolkit (VTK; http://www.kitware.com/vtk.html). VTK itself is cross platform but I need to implement a little bit of low level platform specific stuff in order to set the display id of the VTK render to render inside of a wxWindow. When I'm finished with this app, I should have some nice widgets for using VTK in wxWindows under at least GTK and MSW that I'll contribute back. Under wxMSW I got this working by one line which looks like: wxVTKWindow * canvas; // derived from wxWindow; vtkRenderWindow * renwindow; ... renwindow->SetWindowId( (HWND) canvas->GetHWND() ); I need to get the analogous line(s) to implement the application under wxGTK (under Unix, SetWindowId take the an X window ID as its argument rather than (HWND)). The vtkRenderWindow class draws directly into X, so, I assume that this should be similar to any other example of integrating wxGTK and some bit of code that draws directly via Xlib. Are there any examples of this out there? Also, I looked at the window.cpp implementation for wxGTK and am a little confused with the two members m_widget and m_wxwindow. I have tried lines like, renWindow->SetWindowId( GDK_WINDOW_XWINDOW( canvas->m_widget ) ); and renWindow->SetWindowId( GDK_WINDOW_XWINDOW( canvas->m_wwwindow ) ); but got segmentation faults. Which X ids should I be using m_widget or m_wxwindow? Any help or pointers would be really appreciated. I am very stuck. Thanks, Brian Todd Brian Todd email: bat5@po.cwru.edu home: (216) 321-8882 office: (216) 368-4209 fax: (216) 368-4969 From wx-users-admin Thu Mar 2 11:22:36 2000 Received: (qmail 123 invoked by alias); Thu, 02 Mar 2000 17:22:35 -0000 Received: from mail1.registeredsite.com (mail1.registeredsite.com [209.35.159.6])LAA22354 for ; Thu, 2 Mar 2000 11:22:35 -0600 Received: from mail.ALLDUNN.COM (mail.alldunn.com [208.242.114.26]) by mail1.registeredsite.com (8.9.3/8.9.3) with ESMTP id MAA03953 for ; Thu, 2 Mar 2000 12:23:39 -0500 Received: from rogue [209.210.37.26] by mail.ALLDUNN.COM (SMTPD32-6.00) id A35D89D011C; Thu, 02 Mar 2000 12:22:37 -0500 Message-ID: <00dd01bf846b$d201e590$1a25d2d1@jenkondev.com> From: "Robin Dunn" To: References: <388BDB95.A6634494@mochima.com> <3.0.1.32.20000302112520.01446068@pop.cwru.edu> Subject: Re: [wx-users] wxGTK & Xlib MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Date: Thu Mar 2 11:22:45 2000 > > I need to get the analogous line(s) to implement the application > under wxGTK (under Unix, SetWindowId take the an X window ID as its > argument rather than (HWND)). The vtkRenderWindow class draws directly > into X, so, I assume that this should be similar to any other example of > integrating wxGTK and some bit of code that draws directly via > Xlib. Are there any examples of this out there? > This is how I did it for wxPython's support of VTK, (with Robert's help): long wxPyGetWinHandle(wxWindow* win) { #ifdef __WXMSW__ return (long)win->GetHandle(); #endif // Find and return the actual X-Window. #ifdef __WXGTK__ if (win->m_wxwindow) { GdkWindowPrivate* bwin = (GdkWindowPrivate*)GTK_PIZZA(win->m_wxwindow)->bin_window; if (bwin) { return (long)bwin->xwindow; } } #endif return 0; } The Python code calls this and then hands the long over to VTK. -- Robin Dunn Software Craftsman robin@AllDunn.com http://AllDunn.com/robin/ http://AllDunn.com/wxPython/ Check it out! > Also, I looked at the window.cpp implementation for wxGTK and am > a little confused with the two members m_widget and m_wxwindow. > I have tried lines like, > > renWindow->SetWindowId( GDK_WINDOW_XWINDOW( canvas->m_widget ) ); > > and > > renWindow->SetWindowId( GDK_WINDOW_XWINDOW( canvas->m_wwwindow ) ); > > but got segmentation faults. Which X ids should I be using > m_widget or m_wxwindow? Any help or pointers would be really > appreciated. I am very stuck. > > Thanks, > Brian Todd > > > Brian Todd > email: bat5@po.cwru.edu > home: (216) 321-8882 > office: (216) 368-4209 > fax: (216) 368-4969 > > From wx-users-admin Thu Mar 2 14:00:31 2000 Received: (qmail 123 invoked by alias); Thu, 02 Mar 2000 20:00:31 -0000 Received: from mailgateway1.uni-freiburg.de (mailgateway1.uni-freiburg.de [132.230.1.6])OAA26608 for ; Thu, 2 Mar 2000 14:00:31 -0600 Received: from remote142-7.home.uni-freiburg.de (ruf.uni-freiburg.de) [132.230.142.7] by mailgateway1.uni-freiburg.de with esmtp (Exim 1.82 #3) id 12Qblt-0007WQ-00; Thu, 2 Mar 2000 21:00:29 +0100 Sender: robert Message-ID: <38BED3DE.77139497@ruf.uni-freiburg.de> From: Robert Roebling Organization: University of Freiburg X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i586) X-Accept-Language: en MIME-Version: 1.0 To: wx-users@wxwindows.org Subject: Re: [wx-users] wxGTK & Xlib References: <388BDB95.A6634494@mochima.com> <3.0.1.32.20000302112520.01446068@pop.cwru.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu Mar 2 14:00:32 2000 Brian Alexander Todd wrote: > I am writing a scientific visualization application > that integrates wxWindows and the Visualization Toolkit > (VTK; http://www.kitware.com/vtk.html). You are at least the third person to try that. Maybe someone could turn this into a real contrib in CVS, once we have the contrib dir, > The vtkRenderWindow class draws directly into X11, You cannot currently tell a wxGTK window class to use a foreign X11 window and use it instead of creating one on its own. You can do the reverse and take the X11 window id of a GTK window and maybe VTK can draw into this. For this, you will have to take the m_wxwindow->bin_window field and cast this (its a GdkWindow) to the private structure containing the X11 window, using the private headers: #include "gdk/gdkprivate.h" wxWindow *mywindow; { ... } Window x11_window = (GdkWindowPrivate*)(mywindow->m_wxwindow->bin_window)->xwindow; Display x11_display = (GdkWindowPrivate*)(mywindow->m_wxwindow->bin_window)->xdisplay; Note that wxGTK does not create its windows until X11 asks it to do so, so that the bin_window field will be invalid until wxGTK emits the wxWindowCreateEvent. If you have to embed an x11 window into wxGTK, then you will need to use the GtkSocket class and insert it by hand into a wxWindow and see to it, that resizing and refreshing will be done correctly, which - cough - might not be a trivial thing, Robert From wx-users-admin Thu Mar 2 15:29:32 2000 Received: (qmail 123 invoked by alias); Thu, 02 Mar 2000 21:29:31 -0000 Received: from md.dent.med.uni-muenchen.de (md.dent.med.uni-muenchen.de [138.245.179.2])PAA27345 for ; Thu, 2 Mar 2000 15:29:31 -0600 Received: (qmail 22123 invoked by uid 410); 2 Mar 2000 21:29:30 -0000 Delivered-To: wxwin-users@wx.dent.med.uni-muenchen.de Received: (qmail 22120 invoked from network); 2 Mar 2000 21:29:29 -0000 Received: from mailrelay1.lrz-muenchen.de (@129.187.254.101) by md.dent.med.uni-muenchen.de with SMTP; 2 Mar 2000 21:29:29 -0000 Received: from [209.236.136.25] by mailrelay1.lrz-muenchen.de with ESMTP for wxwin-users@wx.dent.med.uni-muenchen.de; Thu, 2 Mar 2000 22:29:28 +0100 Received: (from smap@localhost) by gatekeeper.teri.com (8.8.7/8.8.7) id QAA05889 for ; Thu, 2 Mar 2000 16:26:04 -0500 Received: from speedy.teri.com(192.168.201.6) by teri.superlink.net via smap (V2.1) id xma005887; Thu, 2 Mar 00 16:25:59 -0500 Received: (from afc@localhost) by speedy.teri.com (8.9.3/8.8.7) id QAA24557 for wxwin-users@wx.dent.med.uni-muenchen.de; Thu, 2 Mar 2000 16:28:53 -0500 From: "A. F. Cano" Message-Id: <200003022128.QAA24557@teri.superlink.net> To: wxwin-users@wx.dent.med.uni-muenchen.de (wxwin users list) X-Mailer: ELM [version 2.5 PL0pre8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [wx-users] Add $(APPEXTRALIBS) to src/make.env? Date: Thu Mar 2 15:29:32 2000 Hi, I've found that on more than one occasion I've needed specific libraries, and in order to make use of the very small sample makefiles, it would be great to have LDLIBS = ${top_builddir}/lib/libwx_gtk-2.1.so.14.0.0 $(EXTRALIBS) $(APPEXTRALIBS) in src/make.env, like is done with $(APPEXTRADEFS). Obviously it is trivial to add this, but I'd rather not have to do it every time I update my CVS copy (and make.env changes). A. From wx-users-admin Fri Mar 3 01:25:13 2000 Received: (qmail 123 invoked by alias); Fri, 03 Mar 2000 07:25:12 -0000 Received: from sunny.mannesmann.de (sunny.mannesmann.de [195.233.129.30]) BAA30083 for ; Fri, 3 Mar 2000 01:25:12 -0600 Received: from aladin.mannesmann.de ([195.233.128.10]) by sunny.mannesmann.de (Netscape Messaging Server 3.6) with ESMTP id AAAF36 for ; Fri, 3 Mar 2000 08:25:09 +0100 Received: from E75046.vdogrp.de ([193.25.152.223]) by aladin.mannesmann.de (Netscape Messaging Server 3.6) with ESMTP id AAA37E7 for ; Fri, 3 Mar 2000 08:25:07 +0100 Received: by e75046.vdogrp.de with Internet Mail Service (5.5.2650.21) id ; Fri, 3 Mar 2000 08:25:08 +0100 Message-ID: <712336935DB1D31182D9009027CA500151D50C@XC1046> From: "Wilhelm, Hans-Dieter" To: "'wx-users@wxwindows.org'" Subject: AW: AW: AW: [wx-users] wx text stream classes and wxApp X-Mailer: Internet Mail Service (5.5.2650.21) Date: Fri Mar 3 01:25:14 2000 Thanks Sylvain and Jesus for returning my mail, > upgrade to wxGTK 2.1.13 (14?) or cvs. I do this every day it >should work. I' ll install the latest version just to be shure. > Does bla.txt seems to be ok ? bla.txt is ok. > Where does it hangs ? at txt_str >> .... (please see below) > I'm not sure of the behaviour of wxInt32 (!) I too > > > > wxLogMessage( "\nInt: %d, double1: %f, double2: %f\n", i, d1, d2); > Shouldn't %f be %g ? I' ve forgotten this but I' ll check it. There is an important point from Jesus and I' d be glad if some wizzard could shed light on it: > I am kinda new on wxwin, so i hardly expect to be correct > but, why do you > use a main function? //--------------------- 1.) I' ve absolutely no idea of the inner workings of such a toolkit. 2.) I thought one could use parts of wxWindows independently of wxApp. And indeed some parts like wxLogMessage and wxTextOutputStream seem to work properly. 3.) I tried to encircle the problem with as little code as possible. //------------------ > It is supossed that a main function is embeded inside libwx.a > and that your > application entry point should be YourApp::OnInit() Method, > not main(). > Obviously this means that you must derive YourApp from wxApp > and overload > the OnInit method. > This is needed for wxwin to initialize itself, without that i > would not > expect wxwin to behave correctly. How the hell are you getting the '>' symbols into your E-mails? Is this possible with Exchange? > > ---------- > > > > /* I use wxWindows/Gtk 2.1.11 (beta 0, whatever this means) compiled > with > > '--enable- debug_flag' > > on Suse Linux 6.3 gcc > > If it is advisable to install the latest version I' ll do that > without > > further questions. > > */ > > > #include "wx/wx.h" > > > #include // have '<' and '"' different effects? > > > #include "wx/txtstrm.h" > > > wxOutputStream& save_object(wxOutputStream& stream); // I want to > > override > > > the docview architecture' s SaveObject( ) function > > > wxInputStream& load_object(wxInputStream& stream); > > > //------------------------------ > > > int main( void) > > > { > > > wxString filename = "bla.txt"; > > > wxFileOutputStream out_stream( filename); > > > save_object( out_stream); // creates a new file and adds 3, 0.300000 > > and > > > 1000.000000 to it. > > > wxFileInputStream in_stream( filename); // shouldn't I close a > stream > > > before I can open up a new one with the same file? > > > load_object( in_stream); > > > return( 0); > > > } > > > //------------------------------ > > > wxOutputStream& save_object(wxOutputStream& stream) > > > { > > > wxInt32 i = 3; > > > double d1 = .3; > > > double d2 = 1e3; > > > wxTextOutputStream txt_str( stream); > > > txt_str << i << endl << d1 << endl << d2; > > > return( stream); > > > } > > > //------------------------------ > > > wxInputStream& load_object(wxInputStream& stream) > > > { > > > double d1 = 0., d2 = 0.; // the '.' after '0' is superstitious, > isn't > > it? > > > wxInt32 i = 0; > > > wxTextInputStream txt_str( stream); > > > txt_str >> i >> d1 >> d2; > > > wxLogMessage( "\nInt: %d, double1: %f, double2: %f\n", i, d1, d2); > > > return( stream); > > > } > > > > > Thanks for every hint > > Dieter > > From wx-users-admin Fri Mar 3 05:08:16 2000 Received: (qmail 123 invoked by alias); Fri, 03 Mar 2000 11:08:00 -0000 Received: from message.fucam.ac.be (root@message.fucam.ac.be [193.190.244.2]) FAA31641; Fri, 3 Mar 2000 05:08:00 -0600 Received: from fucam.ac.be (fucam249.fucam.ac.be [193.190.244.249]) by message.fucam.ac.be (8.9.3/8.9.3) with ESMTP id MAA12104; Fri, 3 Mar 2000 12:06:00 +0100 Sender: bart@message.fucam.ac.be Message-ID: <38BF9D29.CCBAEDF8@fucam.ac.be> From: "Bart A.M. Jourquin" Organization: F.U.Ca.M X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.6 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: wxwin-devel , wxWindows users CC: all.in.gtm@fucam.ac.be Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [wx-users] Nodus 5.0 first sreenshots Date: Fri Mar 3 05:08:17 2000 Hi all, As you may know, our research group here at the university is concerned (among other stuff) with multi-modal freight transport models. One of the main software tools that we developped the last years is Nodus. Nodus 4.0 was developped using wxWindows 1.6x and is available on a broad range of computer platforms. We are actively working on the next main release, Nodus 5.0, written with wxWindows 2.xx. Beside the most commonly used wxWindows features, Nodus 5.O uses: - wxDB and wxTable for ODBC/iODBC connections - wxGrid (the new one) - OGL, so that nodes and links can be easily handled (dragging, ...) - wxSocket that is used to implement an asynchronous "event" server that makes it possible to obtain a true multi-user geographic information system (GIS) If you are interested in some screenshots, have a look at http://www.fucam.ac.be/~nodus Many thanks to all those who helped me so far (and the work is far from beeing finished, so that I'll still for a long time on the wx-lists :-)) Regards -- Prof Dr Bart A.M. JOURQUIN F.U.Ca.M. - Group Transport & Mobility (GTM) Ch. de Binche, 151a, B7000 Mons, Belgium Phone +32 (65) 32.32.93 Fax +32 (65) 31.56.91 http://www.fucam.ac.be/~jourquin From wx-users-admin Fri Mar 3 06:56:01 2000 Received: (qmail 123 invoked by alias); Fri, 03 Mar 2000 12:55:56 -0000 Received: from dns.iies.es (dns.iies.es [194.224.30.2])GAA04593 for ; Fri, 3 Mar 2000 06:55:56 -0600 Received: from bill (iies231.iies.es [194.224.30.231]) by dns.iies.es (8.8.5/8.8.5) with SMTP id NAA02374 for ; Fri, 3 Mar 2000 13:59:00 GMT Message-Id: <3.0.3.32.20000303135409.0084d930@mailhost.iies.es> X-Sender: guille@mailhost.iies.es X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.3 (32) To: wx-users@wxwindows.org From: Guillermo Rodriguez Garcia Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: [wx-users] [wxAll] The 'socket gazette', #2 Date: Fri Mar 3 06:56:11 2000 Hi, all === notice === This mail contains information related to recent changes in wxSocket. Some of you are getting this because you have expressed your interest in being informed of such changes. For others I just thought you would like to know. If I'm wrong, please tell me and I won't send other similar messages in the future. Also, I'm forwarding this to wxwin-users, so some of you may get this twice. Please drop me a note. === notice === The following changes have been introduced; they are available in current sources and will also be in 2.1.14, scheduled for 12 March. - The (existing) wxSocket::Close function was finally documented. This functions shuts down the socket, preventing furhter I/O, disables all events and releases system resources. Close() is automatically called upon socket destruction, so you only have to use it if you need to explicitly force the socket to close (tipically because you want the peer end to notice that you have closed the connection). - A new wxSocket::InterruptAllWaits() function has been added, which (as the -ugly- name implies) interrupts any ongoing Wait operation. This is not intended as a regular way to interrupt a Wait operation, only as an escape mechanism for situations where you absolutely need to do it, for example when you need to abort an operation due to some exception or abnormal problem. InterruptAllWaits is automatically called in Close(), so you don't need to do it yourself in this case. This function is not yet documented and the ugly name might change - suggestions gratefully accepted. - A very stupid bug was breaking wxHTTP & co. for some situations: namely, the socket was automatically shutdowning itself when it received a close notification from the peer end, which means that if there was still some data in the input queue it would be thrashed. This has been fixed. Thanks to Robin Dunn for reporting and helping. - The sockets sample has been slightly extended, now including a test of a large (32K) data transfer to force wxSocket to split the buffer into pieces (tests wxSOCKET_WAITALL) as well as a new wxURL test. Still no datagram tests, though. - The documentation was reworked for easy browsing, grouping functions according into different areas (I/O, event handling, etc.) The following changes are currently underway; most probably they will also be available for 2.1.14: - A new wxSocket::Destroy() function is being implemented; this will avoid problems with delayed events reaching handlers after the socket has been destroyed. Once finished, Destroy() should be used to destroy a socket, instead of just using the delete operator. This is also coherent with the way GDI objects are destroyed under wxWindows. - All functions taking char* parameters for buffers and untyped data are being changed to take void* instead. - Derry Brison asked for a mechanism which would allow apps using wxSocket to set low-level socket flags (like TCP_NODELAY and such). I have not yet decided which would be the best interface for this, but it will be done. - Chances are that wxSocket will finally work with wxBase (console-mode wxWindows) for 2.1.14, with the help of Vadim Zeitlin. There are no guarantees, though. Some applications which use wxSocket have been announced: - Derry Brison wrote a nice cross-platform telnet application, taTelnet ( get it from: http://linux.techass.com/projects/tatelnet ) which uses wxSocket. - Bart A.M. Jourquin used wxSocket to implement an asynchronous server for a multi-user Geographic Information System (GIS) in the Nodus project ( screenshots at: http://www.fucam.ac.be/~nodus ) That's all for now. Comments, reports and suggestion, as always, are welcome. Specially, I'm keen to accept suggestions for new wxWindows samples which actually do something useful with wxSocket, instead of just fooling around like the current one. Regards, G. -- Guillermo Rodriguez Garcia From wx-users-admin Fri Mar 3 10:02:36 2000 Received: (qmail 123 invoked by alias); Fri, 03 Mar 2000 16:02:36 -0000 Received: from po.cwru.edu (root@po.CWRU.Edu [129.22.4.2])KAA12054 for ; Fri, 3 Mar 2000 10:02:36 -0600 Received: from dedalus.cwru.edu (b61095.STUDENT.CWRU.Edu [129.22.238.167]) by po.cwru.edu with SMTP (8.8.8+cwru/CWRU-3.6) id LAA01646; ) Message-Id: <3.0.1.32.20000303105940.0068d11c@pop.cwru.edu> X-Sender: bat5@pop.cwru.edu X-Mailer: Windows Eudora Light Version 3.0.1 (32) To: wx-users@wxwindows.org From: Brian Alexander Todd In-Reply-To: <38BED3DE.77139497@ruf.uni-freiburg.de> References: <388BDB95.A6634494@mochima.com> <3.0.1.32.20000302112520.01446068@pop.cwru.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: [wx-users] Contributions-HOWTO Date: Fri Mar 3 10:02:37 2000 >> I am writing a scientific visualization application >> that integrates wxWindows and the Visualization Toolkit >> (VTK; http://www.kitware.com/vtk.html). > >You are at least the third person to try that. Maybe someone >could turn this into a real contrib in CVS, once we have >the contrib dir, > Thanks for your help on this on Robert and Robin. I'd be glad to turn this into a real contribution. I currently have a wxVTKWindow class that is working under wxMSW and wxGTK. Someone had started a wxMotif contribution for vtk already although I don't think I've seen updates to that in the time that I've been using vtk and wxwindows (pardon if I'm wrong here). I'd be glad to add a Motif port to my code and I think that would cover all of the wxWindows platforms that are possible (vtk is not available on macs). I couldn't find any docs to tell me how to put together my contribution and submit it. Could someone please point me to a HOWTO or the like, so as I continue to code this, I can get things into appropriate formats. Thanks, Brian Todd Brian Todd email: bat5@po.cwru.edu home: (216) 321-8882 office: (216) 368-4209 fax: (216) 368-4969 From wx-users-admin Fri Mar 3 11:09:47 2000 Received: (qmail 123 invoked by alias); Fri, 03 Mar 2000 17:09:46 -0000 Received: from majordomo.vol.cz (smtp1.vol.cz [195.250.128.43]) LAA12768 for ; Fri, 3 Mar 2000 11:09:46 -0600 X-Authentication-Warning: fripp.sourcegear.com: Host smtp1.vol.cz [195.250.128.43] claimed to be majordomo.vol.cz Received: from volny.cz (datela-1-6-93.vol.cz [212.20.99.159]) by majordomo.vol.cz (8.9.3/8.9.3) with ESMTP id SAA13306 for ; Fri, 3 Mar 2000 18:09:34 +0100 (CET) X-Envelope-To: Sender: vasek@majordomo.vol.cz Message-ID: <38BFE7F8.A05CD7A9@volny.cz> From: Vaclav Slavik X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: Czech, cs, en MIME-Version: 1.0 To: wx-users@wxwindows.org Subject: Re: [wx-users] Introduction References: <3.0.1.32.20000302103220.014aae00@pop-3.ukonline.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri Mar 3 11:09:48 2000 Julian Smart wrote: > >The Station is interested in the cross-platform angle > >to simplify ports to MacOS and Linux for their casual > >games. Verant is also interested in a single UI/tool solution > >that can include with DirectX and game consoles. > > Right. Well, broadening wxWindows' remits to these machines would be very, > very nice indeed. Exciting stuff. IMHO wxWindows is not good choice for developing high performance games. Have a look at SDL (Simple DirectMedia Layer) -- there's hardly any reason to duplicate Sam Lantinga's work. > >On my short term list of things to do: > >1) UI editor that handles the wxSizer and custom widgets > > ( and reads/writes to the XML resource files above.) > >2) integrate the MacroMedia Flash API source (once it becomes > > available, supposedly mid-January. ) > > Short-term, eh :-) I suspect writing the editor &