]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
22 years agocleanup code
Stefan Csomor [Wed, 14 Aug 2002 12:58:52 +0000 (12:58 +0000)] 
cleanup code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoPython support in wxrc
Václav Slavík [Wed, 14 Aug 2002 11:02:39 +0000 (11:02 +0000)] 
Python support in wxrc

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoPut a panel under the colored windows so wxGTK's notebook doesn't
Robin Dunn [Wed, 14 Aug 2002 00:29:13 +0000 (00:29 +0000)] 
Put a panel under the colored windows so wxGTK's notebook doesn't
munge the bg color

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoFixes and other changes to the demo and some library modules so they
Robin Dunn [Tue, 13 Aug 2002 23:59:08 +0000 (23:59 +0000)] 
Fixes and other changes to the demo and some library modules so they
work better (or at all) on wxMac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoChanged style so it looks good everywhere
Robin Dunn [Tue, 13 Aug 2002 23:25:49 +0000 (23:25 +0000)] 
Changed style so it looks good everywhere

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoFixed size buffers are not a good thing. Period.
Vadim Zeitlin [Tue, 13 Aug 2002 23:16:25 +0000 (23:16 +0000)] 
Fixed size buffers are not a good thing. Period.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoUse a better index
Robin Dunn [Tue, 13 Aug 2002 23:16:20 +0000 (23:16 +0000)] 
Use a better index

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoAdded a sample to the demo that catches various key events and
Robin Dunn [Tue, 13 Aug 2002 23:12:25 +0000 (23:12 +0000)] 
Added a sample to the demo that catches various key events and
displays the details of the event.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agofixed pangoft2 check: moved outsided cached block
Václav Slavík [Tue, 13 Aug 2002 23:10:26 +0000 (23:10 +0000)] 
fixed pangoft2 check: moved outsided cached block

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoreverted previous checkin
Václav Slavík [Tue, 13 Aug 2002 23:09:40 +0000 (23:09 +0000)] 
reverted previous checkin

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agocompilation fix
Václav Slavík [Tue, 13 Aug 2002 23:09:33 +0000 (23:09 +0000)] 
compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agotidied up patch 583937 (wxClassInfo dtor)
Vadim Zeitlin [Tue, 13 Aug 2002 22:37:41 +0000 (22:37 +0000)] 
tidied up patch 583937 (wxClassInfo dtor)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago New GTK 2.0 Update() code.
Robert Roebling [Tue, 13 Aug 2002 20:59:05 +0000 (20:59 +0000)] 
  New GTK 2.0 Update() code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago New code for Update() under GTK 2.0. Added
Robert Roebling [Tue, 13 Aug 2002 20:58:23 +0000 (20:58 +0000)] 
  New code for Update() under GTK 2.0. Added
     native GdkRegion() constructor to wxRegion.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Minor correction to GetTextExtent.
Robert Roebling [Tue, 13 Aug 2002 20:56:40 +0000 (20:56 +0000)] 
  Minor correction to GetTextExtent.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Forgot Unicode conversion in wxStaticText.
Robert Roebling [Tue, 13 Aug 2002 20:37:00 +0000 (20:37 +0000)] 
  Forgot Unicode conversion in wxStaticText.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago This way strconv copmiles again. I don't think
Robert Roebling [Tue, 13 Aug 2002 19:55:14 +0000 (19:55 +0000)] 
  This way strconv copmiles again. I don't think
    this is the intended use of ICONV_CONST, though.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agobetter use strncpy() than strncat() with uninitialized buffer
Vadim Zeitlin [Tue, 13 Aug 2002 19:40:41 +0000 (19:40 +0000)] 
better use strncpy() than strncat() with uninitialized buffer

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Implemented GetTextExtent() for GTK 2.0.
Robert Roebling [Tue, 13 Aug 2002 17:23:20 +0000 (17:23 +0000)] 
  Implemented GetTextExtent() for GTK 2.0.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agominor fixes:
Vadim Zeitlin [Tue, 13 Aug 2002 12:26:31 +0000 (12:26 +0000)] 
minor fixes:
1. removed "We already do it" as "We" is not a valid shell command :-)
2. define _GNU_SOURCE in setup.h and not in the compiler flags
3. allow to build with GTK2 without pangoft2 (and without printing then)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoadded new method MacSetupCursor
Stefan Csomor [Tue, 13 Aug 2002 12:17:56 +0000 (12:17 +0000)] 
added new method MacSetupCursor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agocompilation fix for wxGTK (missing header)
Vadim Zeitlin [Tue, 13 Aug 2002 11:45:56 +0000 (11:45 +0000)] 
compilation fix for wxGTK (missing header)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agocorrected BestSize algorithm
Stefan Csomor [Tue, 13 Aug 2002 09:51:13 +0000 (09:51 +0000)] 
corrected BestSize algorithm

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoadded missing wxMacPortSetter helper(this) calls
Stefan Csomor [Tue, 13 Aug 2002 09:14:48 +0000 (09:14 +0000)] 
added missing  wxMacPortSetter helper(this) calls

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoall controls use 32 bit values now
Stefan Csomor [Tue, 13 Aug 2002 08:50:41 +0000 (08:50 +0000)] 
all controls use 32 bit values now

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agocorrected internal window position after a zoom operation
Stefan Csomor [Tue, 13 Aug 2002 06:55:48 +0000 (06:55 +0000)] 
corrected internal window position after a zoom operation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoadded pangoft2 check to configure
Václav Slavík [Mon, 12 Aug 2002 22:13:21 +0000 (22:13 +0000)] 
added pangoft2 check to configure

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoseems I forgot to check in these changes to tex2rtf packaging scripts...
Václav Slavík [Mon, 12 Aug 2002 22:08:05 +0000 (22:08 +0000)] 
seems I forgot to check in these changes to tex2rtf packaging scripts...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoSWIGged updates for wxMac
Robin Dunn [Mon, 12 Aug 2002 21:56:11 +0000 (21:56 +0000)] 
SWIGged updates for wxMac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago'if' commented out by JACS on behalf
Julian Smart [Mon, 12 Aug 2002 21:41:45 +0000 (21:41 +0000)] 
'if' commented out by JACS on behalf
of Hans Van Leemputten <Hansvl@softhome.net> who
points out that UpdateSpinBtn should always be called,
to ensure m_lastVisible is up to date.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoMore build/distrib tweaks
Robin Dunn [Mon, 12 Aug 2002 21:30:02 +0000 (21:30 +0000)] 
More build/distrib tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Added -lpangoft2-1.0 to link line.
Robert Roebling [Mon, 12 Aug 2002 19:47:34 +0000 (19:47 +0000)] 
  Added -lpangoft2-1.0 to link line.
  Added _GNU_SOURCE to compile line.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoFixed DSM
Robin Dunn [Mon, 12 Aug 2002 19:33:01 +0000 (19:33 +0000)] 
Fixed DSM

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoAdded accessor for the main window in generic wxListCtrl. In wxMSW
Robin Dunn [Mon, 12 Aug 2002 19:17:43 +0000 (19:17 +0000)] 
Added accessor for the main window in generic wxListCtrl.  In wxMSW
just returns self.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agowxPySimpleApp calls wxInitAllImageHandlers
Robin Dunn [Mon, 12 Aug 2002 19:16:53 +0000 (19:16 +0000)] 
wxPySimpleApp calls wxInitAllImageHandlers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoLittle samples updates
Robin Dunn [Mon, 12 Aug 2002 17:56:45 +0000 (17:56 +0000)] 
Little samples updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoMore wxListCtrl test code
Robin Dunn [Mon, 12 Aug 2002 17:54:46 +0000 (17:54 +0000)] 
More wxListCtrl test code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoShow how to use a wxMemoryFSHandler
Robin Dunn [Mon, 12 Aug 2002 17:54:26 +0000 (17:54 +0000)] 
Show how to use a wxMemoryFSHandler

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoBuild and distrib tweaks
Robin Dunn [Mon, 12 Aug 2002 17:45:17 +0000 (17:45 +0000)] 
Build and distrib tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoAdded menu icon methods everywhere
Robin Dunn [Mon, 12 Aug 2002 17:44:11 +0000 (17:44 +0000)] 
Added menu icon methods everywhere

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoIncreased the message buffer size
Julian Smart [Mon, 12 Aug 2002 15:43:45 +0000 (15:43 +0000)] 
Increased the message buffer size

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agofixed wxChar definition
Václav Slavík [Mon, 12 Aug 2002 11:10:39 +0000 (11:10 +0000)] 
fixed wxChar definition

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agofixed another typo
Václav Slavík [Mon, 12 Aug 2002 11:10:28 +0000 (11:10 +0000)] 
fixed another typo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoupdated project files
Stefan Csomor [Mon, 12 Aug 2002 05:28:46 +0000 (05:28 +0000)] 
updated project files

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoFont fixes for the font dialog
David Webster [Sun, 11 Aug 2002 23:47:44 +0000 (23:47 +0000)] 
Font fixes for the font dialog

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoCorrected typos for
Julian Smart [Sun, 11 Aug 2002 20:11:01 +0000 (20:11 +0000)] 
Corrected typos for

typedef void (wxEvtHandler::*wxIconizeEventFunction)(wxIconizeEvent&);
typedef void (wxEvtHandler::*wxMaximizeEventFunction)(wxMaximizeEvent&);

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Same typo.
Robert Roebling [Sun, 11 Aug 2002 19:39:51 +0000 (19:39 +0000)] 
 Same typo.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Typo.
Robert Roebling [Sun, 11 Aug 2002 19:39:22 +0000 (19:39 +0000)] 
  Typo.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Killing more wxConvLibc calls...
Robert Roebling [Sun, 11 Aug 2002 16:32:50 +0000 (16:32 +0000)] 
  Killing more wxConvLibc calls...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Corrected dangerous cast.
Robert Roebling [Sun, 11 Aug 2002 16:17:23 +0000 (16:17 +0000)] 
  Corrected dangerous cast.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Added wxString::FromAscii() wxString::ToAscii().
Robert Roebling [Sun, 11 Aug 2002 13:09:57 +0000 (13:09 +0000)] 
  Added wxString::FromAscii() wxString::ToAscii().
  Removed wxConvFile, made it a define wxConvLocal.
  Exchanged some wxConvLibc to wxConvLocal calls.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoOSX fix
Stefan Csomor [Sat, 10 Aug 2002 20:02:14 +0000 (20:02 +0000)] 
OSX fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agowxMac removed debugging code
Stefan Csomor [Sat, 10 Aug 2002 20:01:34 +0000 (20:01 +0000)] 
wxMac removed debugging code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agocommented out controlDef for carbon
Stefan Csomor [Sat, 10 Aug 2002 19:00:34 +0000 (19:00 +0000)] 
commented out controlDef for carbon

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agofixed broken test in configure: no, DJGPP really is not UNIX...
Václav Slavík [Sat, 10 Aug 2002 18:23:40 +0000 (18:23 +0000)] 
fixed broken test in configure: no, DJGPP really is not UNIX...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agotell that there was an error...
Václav Slavík [Sat, 10 Aug 2002 18:11:45 +0000 (18:11 +0000)] 
tell that there was an error...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoCheck if linking a motif program requires -lXp and/or -lSM -lICE
Mattia Barbon [Sat, 10 Aug 2002 17:27:52 +0000 (17:27 +0000)] 
Check if linking a motif program requires -lXp and/or -lSM -lICE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Compile fix for wxBase/Unicode/Unix.
Robert Roebling [Sat, 10 Aug 2002 16:02:21 +0000 (16:02 +0000)] 
  Compile fix for wxBase/Unicode/Unix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoSciTech MGL changed public interface again, let's accomodate...
Václav Slavík [Sat, 10 Aug 2002 14:51:34 +0000 (14:51 +0000)] 
SciTech MGL changed public interface again, let's accomodate...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agofixed Julian-introduced typo
Václav Slavík [Sat, 10 Aug 2002 14:51:26 +0000 (14:51 +0000)] 
fixed Julian-introduced typo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago (char*)(const char*)xxx.mb_str() is not a good
Robert Roebling [Sat, 10 Aug 2002 14:41:37 +0000 (14:41 +0000)] 
  (char*)(const char*)xxx.mb_str()  is not a good
    thing under Unicode.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Implemented the various printf() functions under
Robert Roebling [Sat, 10 Aug 2002 11:58:15 +0000 (11:58 +0000)] 
  Implemented the various printf() functions under
    Unicode with their GNU libc 2.2 funtions. This
    saves us some unicode<->ansi conversion and we
    no longer need the experimental printf() code
    in string.cpp. I had to implement wxSprintf()
    using wxSnprintf() as the former doesn't exist
    in Unicode GNU libc 2.2.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Added explicit Unicode conversion to wxDir - the
Robert Roebling [Sat, 10 Aug 2002 11:54:51 +0000 (11:54 +0000)] 
 Added explicit Unicode conversion to wxDir - the
   code looked supicious to me.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Fix for Unicode conversion.
Robert Roebling [Sat, 10 Aug 2002 11:24:25 +0000 (11:24 +0000)] 
  Fix for Unicode conversion.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agocorrected ::Clear
Stefan Csomor [Sat, 10 Aug 2002 09:58:52 +0000 (09:58 +0000)] 
corrected ::Clear

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoadded new implementation for editable and brought selection behaviour in synch
Stefan Csomor [Sat, 10 Aug 2002 09:45:20 +0000 (09:45 +0000)] 
added new implementation for editable and brought selection behaviour in synch

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoimplemented clipping for controls via callback (classic only)
Stefan Csomor [Sat, 10 Aug 2002 09:41:10 +0000 (09:41 +0000)] 
implemented clipping for controls via callback (classic only)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agowindow clipper added
Stefan Csomor [Sat, 10 Aug 2002 09:38:46 +0000 (09:38 +0000)] 
window clipper added

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoadded control action for redraws (classic only)
Stefan Csomor [Sat, 10 Aug 2002 09:37:02 +0000 (09:37 +0000)] 
added control action for redraws (classic only)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoadded clipping code for controls
Stefan Csomor [Sat, 10 Aug 2002 09:36:09 +0000 (09:36 +0000)] 
added clipping code for controls

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoAllow loading xrc resources from a string
Robin Dunn [Fri, 9 Aug 2002 19:29:52 +0000 (19:29 +0000)] 
Allow loading xrc resources from a string

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoDelete help text entry before adding new one, else
Julian Smart [Fri, 9 Aug 2002 18:35:00 +0000 (18:35 +0000)] 
Delete help text entry before adding new one, else
you can't reset it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoAdded brief explanation about building RPMs
Julian Smart [Fri, 9 Aug 2002 09:35:45 +0000 (09:35 +0000)] 
Added brief explanation about building RPMs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoMore tool script tweaks
Robin Dunn [Thu, 8 Aug 2002 23:02:41 +0000 (23:02 +0000)] 
More tool script tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoAdded pyshell and pycrust scripts
Robin Dunn [Thu, 8 Aug 2002 22:34:29 +0000 (22:34 +0000)] 
Added pyshell and pycrust scripts

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoSome little tweaks to PyCrust
Robin Dunn [Thu, 8 Aug 2002 22:33:57 +0000 (22:33 +0000)] 
Some little tweaks to PyCrust

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agonew SWIGged files for wxGTK
Robin Dunn [Thu, 8 Aug 2002 22:08:31 +0000 (22:08 +0000)] 
new SWIGged files for wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Changed wxStat, wxAccess and wxOpen to no longer
Robert Roebling [Thu, 8 Aug 2002 21:44:50 +0000 (21:44 +0000)] 
  Changed wxStat, wxAccess and wxOpen to no longer
    being just a define so that the signature is
    using wxChar under Unicode under Unix just as
    it does under Unicode under Mac. This required
    some modification in various places, but should
    make debugging a little easier, among others.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoPyCrust updates from their CVS.
Robin Dunn [Thu, 8 Aug 2002 21:44:11 +0000 (21:44 +0000)] 
PyCrust updates from their CVS.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Adapted to Unicode compilation.
Robert Roebling [Thu, 8 Aug 2002 21:41:16 +0000 (21:41 +0000)] 
  Adapted to Unicode compilation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Hopefully corrected conversion buffer size.
Robert Roebling [Thu, 8 Aug 2002 21:40:30 +0000 (21:40 +0000)] 
  Hopefully corrected conversion buffer size.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoMake batch files for the tool scripts, and other related changes for
Robin Dunn [Thu, 8 Aug 2002 20:14:13 +0000 (20:14 +0000)] 
Make batch files for the tool scripts, and other related changes for
win32.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoFixes for Bug #592758
Robin Dunn [Thu, 8 Aug 2002 19:11:07 +0000 (19:11 +0000)] 
Fixes for Bug #592758

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoUpdated version and other minor tweaks
Robin Dunn [Thu, 8 Aug 2002 18:32:08 +0000 (18:32 +0000)] 
Updated version and other minor tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoNew wxActiveX code
Robin Dunn [Thu, 8 Aug 2002 18:29:59 +0000 (18:29 +0000)] 
New wxActiveX code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoMoved tools to be a Python package in wxPython.tools, added scripts to
Robin Dunn [Thu, 8 Aug 2002 18:28:21 +0000 (18:28 +0000)] 
Moved tools to be a Python package in wxPython.tools, added scripts to
import and launch each tool.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years ago Compile fix.
Robert Roebling [Thu, 8 Aug 2002 18:26:02 +0000 (18:26 +0000)] 
  Compile fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoadded RPM spec file
Václav Slavík [Thu, 8 Aug 2002 18:21:59 +0000 (18:21 +0000)] 
added RPM spec file

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agounified archive naming to name-version-arch
Václav Slavík [Thu, 8 Aug 2002 18:21:49 +0000 (18:21 +0000)] 
unified archive naming to name-version-arch

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agotex2rtf: fixes to makefile.unx to make rpm spec file possible
Václav Slavík [Thu, 8 Aug 2002 18:21:44 +0000 (18:21 +0000)] 
tex2rtf: fixes to makefile.unx to make rpm spec file possible

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agotex2rtf fixes: removed missing files from src.rsp
Václav Slavík [Thu, 8 Aug 2002 18:21:38 +0000 (18:21 +0000)] 
tex2rtf fixes: removed missing files from src.rsp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch [ 579219 ] wxNotebook:SetPadding added
Julian Smart [Thu, 8 Aug 2002 10:11:32 +0000 (10:11 +0000)] 
Applied patch [ 579219 ] wxNotebook:SetPadding added

This allows changing the padding of the icons and text
in the tab of a wxNotebook for wxGTK.

Since the container in the tab is only a horizontal
container only the width component is used. Negative
values are acceptable so no checks were made.

It now defaults to a padding of 0 on the sides and 1 in
between the icon and label, looks good for a few
"themes" I tried.

Note: Unfortunately there is no function to set the
padding on the left or right side of a widget.
gtk_box_set_child_packing sets padding on BOTH sides of
a widget so you'd get double the spacing between an
icon and the label. To get around this, the icon (if
there was one) is removed and added back. That way the
icon will provide the padding on the left and the label
will provide the padding between and to the right. It
looks nice for all sizes. The
gtk_container_set_border_width unforuntately only adds
borders to ALL sides equally.

A simple check is to add m_notebook->SetPadding in one
in the spinctrl callback in the controls sample. (set
appropriate range too -10,20). Note that the tab sizes
change to fit the width of the panel, if appropriate,
and so the spacing between the icon and label changes
accordingly. This isn't a bug, but it does look weird
as you scan up and down the spacing (which nobody would
normally do).

I also changed all wxGtkNotebookPage variables to
nb_page so that "int page" would be used to mean the
page number. Just cosmetic for consistency with the
rest of the functions that were already like that.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch [ 584057 ] Fixes calculation bug in wxThread::Sleep
Julian Smart [Thu, 8 Aug 2002 10:04:13 +0000 (10:04 +0000)] 
Applied patch [ 584057 ] Fixes calculation bug in wxThread::Sleep

There's a problem in src/mac/thread.cpp function
wxThread::Sleep when CLOCKS_PER_SEC is not
1000. The amount-to-sleep code doesn't take into
account this value. Due to this when I did Sleep(1000) it
was sleeping a fraction of a second because on my Mac
CLOCKS_PER_SEC is 60. This patch fixes it.

Dimitri Schoolwerth (dimitrishortcut)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch [ 588140 ] User Scaling of Rotated Text on wxGTK
Julian Smart [Thu, 8 Aug 2002 10:00:50 +0000 (10:00 +0000)] 
Applied patch [ 588140 ] User Scaling of Rotated Text on wxGTK

The effect of wxDC::SetUserScale() on
wxDC::DrawRotatedText() is to scale the text **twice**.
The code is in src/gtk/dcclient.cpp

The first scaling operation occurs when choosing the
GTK font size (as happens for wxDC::DrawText()). The
rotated text is scaled a second time when blitting the
rotated text bitmap to the DC, in the functions
XLOG2DEV(x + dstX) and YLOG2DEV(y + dstY).

The supplied patch moves the rotated bitmap co-ords
(dstX, dstY) outside of the LOG2DEV functions.

bryan cole (bryancole)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch [ 587450 ] Scoped Smart pointers and docs
Julian Smart [Thu, 8 Aug 2002 09:57:05 +0000 (09:57 +0000)] 
Applied patch [ 587450 ] Scoped Smart pointers and docs

By Jesse Lovelace (thementat)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch [ 589903 ] Update doc for CW/wxMSW install
Julian Smart [Thu, 8 Aug 2002 09:46:35 +0000 (09:46 +0000)] 
Applied patch [ 589903 ] Update doc for CW/wxMSW install

This patch updates the CW section in
docs/msw/install.txt for the development (2.3.3) branch.

It fixes a couple typos and clarifies how to use the
minimal project file as a template for other projects.

Igor Mikolic-Torreira
igormt@alumni.caltech.edu

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch [ 587723 ] Update to cw.rsp file
Julian Smart [Thu, 8 Aug 2002 09:44:32 +0000 (09:44 +0000)] 
Applied patch [ 587723 ] Update to cw.rsp file

I've updated the file so it captures all the files that are
unique to the wxMSW + CW combination.

Even though not all of the samples have CW project
files, all the samples are listed in the rsp. That way if
more samples get project files prior to release 2.3.x or
2.4, there will be no need to modify this file.

I did, however, remove all of the util sub-directories from
cw.rsp because none of the util sub-directories have any
CW project files (and I don't foresee adding any ;)

Igor Mikolic-Torreira
igormt@alumni.caltech.edu

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied [ 587500 ] Update CW project file for wxMSW
Julian Smart [Thu, 8 Aug 2002 09:37:55 +0000 (09:37 +0000)] 
Applied [ 587500 ] Update CW project file for wxMSW

This patch updates the CW project file for building
wxMSW.

It patches the file src/wxWindowsW7.xml on the
development branch.

It does the following:

(1) adds the file src/common/msgout.cpp to the build.

(2) moves popupwin.cpp ahead of sub-libraries in the link
order for linking the library (this is just paranoia on my
part ;)

Igor Mikolic-Torreira
igormt@alumni.caltech.edu

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch [ 587454 ] CW-related wx/wxchar.h fix
Julian Smart [Thu, 8 Aug 2002 09:35:25 +0000 (09:35 +0000)] 
Applied patch [ 587454 ] CW-related wx/wxchar.h fix

This fixes the problem in include/wx/wxchar.h with
including <wchar.h> for CW reported by Andreas
Simanowski.

The current version does not work with CW Win32 builds.

The fix suggested by Andreas is incorrect, because it
will break the wxMAC CW builds.

The purpose of conditionals starting at line 77 is to
correctly handle the various compilers. The fundamental
problem with the existing code is that it begins by
conditioning on __WIN32__. This is wrong, and makes
it hard to handle compilers that work on more than one
OS (such as CW).

Instead the conditionals should be done purely on
compilers. Each compiler can then set things
appropriately. If a particular compiler works on more
than one OS but has different needs on each OS, then
this can be handled within the code for that compiler.

The attached patch removes the top level conditional on
__WIN32__ and restructures the remainder as a series
of conditionals on individual compilers.

Igor Mikolic-Torreira
igormt@alumni.caltech.edu

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 years agoApplied patch [ 590031 ] Slider: Events must be enabled earlier
Julian Smart [Thu, 8 Aug 2002 09:24:38 +0000 (09:24 +0000)] 
Applied patch [ 590031 ] Slider: Events must be enabled earlier

The current wxSlider - implementation gives a gtk-warning
about not being able to find an event handler. This is
because the first call of GtkEnableEvents has to happen a
few lines earlier. The patch fixes this.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775