]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
19 years agoavoid crash if active_child_frame is not set yet
Robin Dunn [Wed, 27 Oct 2004 00:58:00 +0000 (00:58 +0000)] 
avoid crash if active_child_frame is not set yet

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

19 years agoEnsire that m_value is updated when SetSelection is called
Robin Dunn [Wed, 27 Oct 2004 00:56:50 +0000 (00:56 +0000)] 
Ensire that m_value is updated when SetSelection is called

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

19 years agofixed wxFRAME_TOOL_WINDOW to use 'utility' type hint instead of not rendering any...
Václav Slavík [Tue, 26 Oct 2004 22:45:32 +0000 (22:45 +0000)] 
fixed wxFRAME_TOOL_WINDOW to use 'utility' type hint instead of not rendering any frame at all

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

19 years ago* Added selectNewest(minVersion)
Robin Dunn [Tue, 26 Oct 2004 21:55:25 +0000 (21:55 +0000)] 
* Added selectNewest(minVersion)
* Use the options in the sort ordering in addition to the version,
  this will put the gtk2 and unicode versions ahead of the others of
  the same version.

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

19 years ago Next phase of Print Factory code.
Robert Roebling [Tue, 26 Oct 2004 19:49:59 +0000 (19:49 +0000)] 
  Next phase of Print Factory code.
    Created a mini interface so that the generic
    wxPrintDialog can show a "printer" and a
    "status" line if the print factory wants
    this to be the case.
    Moved some code (print mode) back from the
    PostScript only print data to the general
    print data since it is sort of general.

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

19 years agoat least partially implemented vswscanf() -- otherwise wx apps compiled against glibc...
Václav Slavík [Tue, 26 Oct 2004 17:42:39 +0000 (17:42 +0000)] 
at least partially implemented vswscanf() -- otherwise wx apps compiled against glibc 2.1 wouldn't run at all

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

19 years agoAvoid anchor for label which determined creation of the new file and is already inclu...
Włodzimierz Skiba [Tue, 26 Oct 2004 17:10:49 +0000 (17:10 +0000)] 
Avoid anchor for label which determined creation of the new file and is already included in filename.

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

19 years agoprefix symbols with wx
Václav Slavík [Tue, 26 Oct 2004 10:32:38 +0000 (10:32 +0000)] 
prefix symbols with wx

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

19 years agoDoc and comment updates
Robin Dunn [Mon, 25 Oct 2004 22:53:36 +0000 (22:53 +0000)] 
Doc and comment updates

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

19 years agoConvert back to UNIX line endings (again)
David Elliott [Mon, 25 Oct 2004 16:10:15 +0000 (16:10 +0000)] 
Convert back to UNIX line endings (again)

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

19 years agoMutexGui calls in WakeUpIdle are not needed under GTK2, fixing the long-standing...
Kevin Hock [Mon, 25 Oct 2004 03:24:42 +0000 (03:24 +0000)] 
MutexGui calls in WakeUpIdle are not needed under GTK2, fixing the long-standing "random" lockups experienced when using wxPostEvent from a thread.  Collaboration with RR.

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

19 years agouse GetBestSize() and not GetSize() for AsIs() size constraints -- this makes much...
Vadim Zeitlin [Sun, 24 Oct 2004 14:49:38 +0000 (14:49 +0000)] 
use GetBestSize() and not GetSize() for AsIs() size constraints -- this makes much more sense

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

19 years agoRemoved list of modeless windows (apparently no longer needed).
Stefan Neis [Sun, 24 Oct 2004 13:46:06 +0000 (13:46 +0000)] 
Removed list of modeless windows (apparently no longer needed).

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

19 years agocorrected textbackground for theme text output
Stefan Csomor [Sun, 24 Oct 2004 12:48:00 +0000 (12:48 +0000)] 
corrected textbackground for theme text output

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

19 years agoFixed handling of modal dialogs.
Stefan Neis [Sun, 24 Oct 2004 12:08:25 +0000 (12:08 +0000)] 
Fixed handling of modal dialogs.

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

19 years agoadding Offset to wxRegion / carbon
Stefan Csomor [Sun, 24 Oct 2004 11:43:07 +0000 (11:43 +0000)] 
adding Offset to wxRegion / carbon

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

19 years agoFix wxExecute for ports other than wxMac and wxCocoa on Darwin
David Elliott [Sun, 24 Oct 2004 07:36:16 +0000 (07:36 +0000)] 
Fix wxExecute for ports other than wxMac and wxCocoa on Darwin

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

19 years agotypo
Robin Dunn [Sun, 24 Oct 2004 01:04:11 +0000 (01:04 +0000)] 
typo

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

19 years agoEP_ADD_OPTS defaults to true
Robin Dunn [Sun, 24 Oct 2004 00:59:14 +0000 (00:59 +0000)] 
EP_ADD_OPTS defaults to true

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

19 years agorequire --> select, added checkInstalled and getInstalled
Robin Dunn [Sun, 24 Oct 2004 00:58:11 +0000 (00:58 +0000)] 
require --> select, added checkInstalled and getInstalled

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

19 years agoCombine the common installer package into the main package
Robin Dunn [Sun, 24 Oct 2004 00:17:57 +0000 (00:17 +0000)] 
Combine the common installer package into the main package

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

19 years agoDon't uninstall common files if there is more than one wxPython installed
Robin Dunn [Sun, 24 Oct 2004 00:17:12 +0000 (00:17 +0000)] 
Don't uninstall common files if there is more than one wxPython installed

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

19 years agodon't give focus to the window if it ate the left mouse click
Vadim Zeitlin [Sat, 23 Oct 2004 21:26:01 +0000 (21:26 +0000)] 
don't give focus to the window if it ate the left mouse click

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

19 years agofixing sizing bug inside wxWizard
Václav Slavík [Sat, 23 Oct 2004 16:10:26 +0000 (16:10 +0000)] 
fixing sizing bug inside wxWizard

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

19 years agoadded InvalidateBestSize calls when combobox's content changes; DoGetBestSize now...
Václav Slavík [Sat, 23 Oct 2004 16:06:11 +0000 (16:06 +0000)] 
added InvalidateBestSize calls when combobox's content changes; DoGetBestSize now accounts for the width returned by GTK+ too

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

19 years agoadded MDI menu item translation, the menu was looking very wrong with only one item...
Vadim Zeitlin [Sat, 23 Oct 2004 15:24:23 +0000 (15:24 +0000)] 
added MDI menu item translation, the menu was looking very wrong with only one item untranslated...

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

19 years agoupdated version to 2.5.3.1
Vadim Zeitlin [Sat, 23 Oct 2004 14:56:35 +0000 (14:56 +0000)] 
updated version to 2.5.3.1

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

19 years agofixed VC++ size_t -> int conversion warning
Vadim Zeitlin [Sat, 23 Oct 2004 13:55:20 +0000 (13:55 +0000)] 
fixed VC++ size_t -> int conversion warning

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

19 years agodon't use _() as default parameter for wxPrintDialogBase title
Vadim Zeitlin [Sat, 23 Oct 2004 13:10:00 +0000 (13:10 +0000)] 
don't use _() as default parameter for wxPrintDialogBase title

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

19 years agoreSWIGged
Robin Dunn [Fri, 22 Oct 2004 20:36:32 +0000 (20:36 +0000)] 
reSWIGged

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

19 years agoKeep a local copy of the daily builds too
Robin Dunn [Fri, 22 Oct 2004 20:28:17 +0000 (20:28 +0000)] 
Keep a local copy of the daily builds too

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

19 years agoreSWIGged
Robin Dunn [Fri, 22 Oct 2004 20:27:22 +0000 (20:27 +0000)] 
reSWIGged

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

19 years ago*** empty log message ***
Kevin Hock [Fri, 22 Oct 2004 20:16:43 +0000 (20:16 +0000)] 
*** empty log message ***

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

19 years ago*** empty log message ***
Kevin Hock [Fri, 22 Oct 2004 19:15:35 +0000 (19:15 +0000)] 
*** empty log message ***

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

19 years agoUse a working dir for the uninstaller that does exist.
Robin Dunn [Fri, 22 Oct 2004 19:12:04 +0000 (19:12 +0000)] 
Use a working dir for the uninstaller that does exist.

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

19 years agoDocumentation patch from Olly Betts
Kevin Hock [Fri, 22 Oct 2004 19:11:07 +0000 (19:11 +0000)] 
Documentation patch from Olly Betts

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

19 years agoRemoved , from end of enumerated list wxPrintBin
Kevin Hock [Fri, 22 Oct 2004 17:13:35 +0000 (17:13 +0000)] 
Removed , from end of enumerated list wxPrintBin

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

19 years agoSupress OW warning about empty *structor outside class definition.
Włodzimierz Skiba [Fri, 22 Oct 2004 17:10:34 +0000 (17:10 +0000)] 
Supress OW warning about empty *structor outside class definition.

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

19 years agoCleaned up getRectsBeingDrawn:count: related code.
David Elliott [Fri, 22 Oct 2004 16:07:31 +0000 (16:07 +0000)] 
Cleaned up getRectsBeingDrawn:count: related code.
* Removed the exception handler; it's not needed anymore (thanks Ryan).
* Split the if statement and then case into two lines instead of one.
* Took some of the suggestions from the cocoa-dev mailing list:
- Changed code to use normal messaging syntax.
- Provided a category interface to silence the compiler warning on 10.2.

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

19 years agoForgot the appropriate return statement for the last patch.
David Elliott [Fri, 22 Oct 2004 15:50:24 +0000 (15:50 +0000)] 
Forgot the appropriate return statement for the last patch.

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

19 years agoChange friendship so that the base implementation class is the friend.
David Elliott [Fri, 22 Oct 2004 15:42:16 +0000 (15:42 +0000)] 
Change friendship so that the base implementation class is the friend.

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

19 years agoA small fix for attachment popints and comments, from Pierre.
Robin Dunn [Fri, 22 Oct 2004 15:24:55 +0000 (15:24 +0000)] 
A small fix for attachment popints and comments, from Pierre.

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

19 years agoregenned the ReST docs
Robin Dunn [Fri, 22 Oct 2004 15:21:38 +0000 (15:21 +0000)] 
regenned the ReST docs

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

19 years agoA unicode hack for the Rez/Derez hack
Robin Dunn [Fri, 22 Oct 2004 15:20:51 +0000 (15:20 +0000)] 
A unicode hack for the Rez/Derez hack

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

19 years agoRemember the version selected and allow require to be called again as
Robin Dunn [Fri, 22 Oct 2004 05:53:49 +0000 (05:53 +0000)] 
Remember the version selected and allow require to be called again as
long as a compatible version is requested.

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

19 years agobuild the unicode version too on Panther
Robin Dunn [Fri, 22 Oct 2004 03:07:31 +0000 (03:07 +0000)] 
build the unicode version too on Panther

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

19 years agorenamed the output file
Robin Dunn [Fri, 22 Oct 2004 03:06:34 +0000 (03:06 +0000)] 
renamed the output file

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

19 years agoRearrainged some bits
Robin Dunn [Fri, 22 Oct 2004 03:05:08 +0000 (03:05 +0000)] 
Rearrainged some bits

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

19 years agoSome new icons
Robin Dunn [Fri, 22 Oct 2004 03:04:16 +0000 (03:04 +0000)] 
Some new icons

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

19 years agoreSWIGged
Robin Dunn [Fri, 22 Oct 2004 02:51:10 +0000 (02:51 +0000)] 
reSWIGged

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

19 years agowxPython on OSX can now be built in Unicode mode, can support multiple
Robin Dunn [Fri, 22 Oct 2004 02:50:05 +0000 (02:50 +0000)] 
wxPython on OSX can now be built in Unicode mode, can support multiple
version installs, and comes with an uninstaller script.

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

19 years agoUnicode compilation fix
Vadim Zeitlin [Fri, 22 Oct 2004 00:23:35 +0000 (00:23 +0000)] 
Unicode compilation fix

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

19 years agoAdded stubs for OS/2 to new printing system.
Stefan Neis [Thu, 21 Oct 2004 21:32:57 +0000 (21:32 +0000)] 
Added stubs for OS/2 to new printing system.

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

19 years agoOS/2 needs wxUSE_OWNER_DRAWN, too
Václav Slavík [Thu, 21 Oct 2004 18:47:19 +0000 (18:47 +0000)] 
OS/2 needs wxUSE_OWNER_DRAWN, too

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

19 years agoGet rid of the class naming conflict with the base header for Print and supress some...
David Webster [Thu, 21 Oct 2004 17:38:06 +0000 (17:38 +0000)] 
Get rid of the class naming conflict with the base header for Print and supress some warnings.

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

19 years agoGet rid of the class naming conflict with the base header
David Webster [Thu, 21 Oct 2004 17:36:01 +0000 (17:36 +0000)] 
Get rid of the class naming conflict with the base header

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

19 years agoRemoved temp OS/2 fix. Header now fixed.
David Webster [Thu, 21 Oct 2004 13:58:08 +0000 (13:58 +0000)] 
Removed temp OS/2 fix.  Header now fixed.

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

19 years agocompilation fix after last checkin (missing header)
Vadim Zeitlin [Thu, 21 Oct 2004 10:30:20 +0000 (10:30 +0000)] 
compilation fix after last checkin (missing header)

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

19 years agoadded wxTextInputStream::operator>>(wchar_t) for compilers which support this
Vadim Zeitlin [Wed, 20 Oct 2004 22:50:03 +0000 (22:50 +0000)] 
added wxTextInputStream::operator>>(wchar_t) for compilers which support this

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

19 years agodecode URIs in wxFileDataObject::SetData(); fixes problem with filenames with spaces...
Vadim Zeitlin [Wed, 20 Oct 2004 22:14:55 +0000 (22:14 +0000)] 
decode URIs in wxFileDataObject::SetData(); fixes problem with filenames with spaces in their names (which were represented as )

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

19 years agoupdate g_isPainting in wxPaintEvent copy ctor
Vadim Zeitlin [Wed, 20 Oct 2004 22:10:35 +0000 (22:10 +0000)] 
update g_isPainting in wxPaintEvent copy ctor

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

19 years agoadded missing header (fixes compilation with WXWIN_COMPATIBILITY_2_4 == 0)
Vadim Zeitlin [Wed, 20 Oct 2004 22:03:54 +0000 (22:03 +0000)] 
added missing header (fixes compilation with WXWIN_COMPATIBILITY_2_4 == 0)

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

19 years agoRewrote wxSound:
David Elliott [Wed, 20 Oct 2004 21:04:52 +0000 (21:04 +0000)] 
Rewrote wxSound:
* Get rid of #if wxUSE_SOUND from header.  wx/sound.h checks this already.
* Get rid of pragma interface/implementation. Apple GCC dislikes them anyway.
* Allow source file to use precompiled headers (wx/wxprec.h)
* Include only needed AppKit/Foundation headers, not AppKit/AppKit.h.
* Implement simple constructors inline in header.
* Get rid of m_sndname and m_waveLength instance variables.  They aren't used.
* Add copy constructor (why not).
* Move implementation of byte-array constructor into LoadWAV for consistency
  with UNIX wxSound.
* LoadWAV (what was in the constructor) now properly allocs, inits, and
  releases NSData.  The old code for this was not valid.
* Rename lastSound to s_currentSound.
* Rename isLastSoundLooping to s_loopCurrentSound.
* Ignore the sound:didFinishPlaying: delegate message if it is received
  for an NSSound other than s_currentSound.
* Create should not Stop the current sound.
* Don't use NSBundle to get a resource sound but use [NSSound soundNamed:]
  which will include system sounds.
* Playing a sound synchronously uses wxEventLoop::Dispatch which will
  really block (not spin the CPU like Yield).  The sound is considered
  finished playing when s_currentSound is set to something else.  In order
  to make sure we don't get stuck in this event loop the delegate
  calls wxApp::WakeUpIdle if it releases s_currentSound.
* Have IsPlaying() check to make sure s_currentSound is not nil since
  only messages returning another object or void are allowed to be
  sent to nil objects.

Changes involving retain/release
* Get rid of comment about tricky API, it's not.
* Get rid of isLastSoundInScope. Cocoa has proper reference counting.
* Add SetNSSound which, like the rest of wxCocoa, retains/releases
  appropriately, sets the delegate, and logs when WXTRACE=COCOA_RetainRelease.
* Destructor does SetNSSound(nil) which will always release the NSSound.
  Create and LoadWAV use SetNSSound method like the rest of wxCocoa.
* Make the delegate always release s_currentSound if not (or if done) looping.
  DoPlay sets s_currentSound to m_cocoaNSSound after retaining it so that
  the delegate can always safely release it.
* Stop, like everything else, does not need check of isLastSoundInScope

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

19 years agogetservbyname under INNOTEK gcc needs a (char*), not (const char*) for the protocol...
David Webster [Wed, 20 Oct 2004 19:26:11 +0000 (19:26 +0000)] 
getservbyname under INNOTEK gcc needs a (char*), not (const char*) for the protocol argument

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

19 years agoAdded some accelerators to the menu to help with stress testing wxSound:
David Elliott [Wed, 20 Oct 2004 19:24:14 +0000 (19:24 +0000)] 
Added some accelerators to the menu to help with stress testing wxSound:
Ctrl+O Select WAV file
Ctrl+S "Play sound synchronously"
Ctrl+A "Play sound asynchronously"
Ctrl+T "Play sound asynchronously (object on stack)" (T for temporary)
Ctrl+L "Loop sound"

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

19 years agoAdded CocoaSetKeyEquivalent() that sets the accelerators. Only implemented
David Elliott [Wed, 20 Oct 2004 19:18:46 +0000 (19:18 +0000)] 
Added CocoaSetKeyEquivalent() that sets the accelerators.  Only implemented
for letters, numbers, and ascii control characters. TODO: up/down/etc.

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

19 years agoinclude colour.h (fixes wxX11 compilation under Unix)
Vadim Zeitlin [Wed, 20 Oct 2004 17:29:21 +0000 (17:29 +0000)] 
include colour.h (fixes wxX11 compilation under Unix)

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

19 years agoremoved duplicate #include
Vadim Zeitlin [Wed, 20 Oct 2004 17:21:37 +0000 (17:21 +0000)] 
removed duplicate #include

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

19 years agoWorked around font setting problem for GTK+1 on some
Julian Smart [Wed, 20 Oct 2004 16:44:17 +0000 (16:44 +0000)] 
Worked around font setting problem for GTK+1 on some
distributions. This is a workaround for wxGrid only.

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

19 years agouse slashes instead of backslashes and quotes instead of angle brackets in all #includes
Vadim Zeitlin [Wed, 20 Oct 2004 15:14:46 +0000 (15:14 +0000)] 
use slashes instead of backslashes and quotes instead of angle brackets in all #includes

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

19 years agofixed bug introduced by last commit: if we don't change the path because it is alread...
Vadim Zeitlin [Wed, 20 Oct 2004 15:00:22 +0000 (15:00 +0000)] 
fixed bug introduced by last commit: if we don't change the path because it is already correct, we should still change the name we use

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

19 years agoMinor manual fixes.
Włodzimierz Skiba [Wed, 20 Oct 2004 11:12:56 +0000 (11:12 +0000)] 
Minor manual fixes.

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

19 years agoonly VC++ >= 7.0 has __COUNTER__
Vadim Zeitlin [Wed, 20 Oct 2004 10:47:28 +0000 (10:47 +0000)] 
only VC++ >= 7.0 has __COUNTER__

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

19 years agoDMC, OW and my copy of MinGW misses SH* values, Borland seems fine.
Włodzimierz Skiba [Wed, 20 Oct 2004 09:18:02 +0000 (09:18 +0000)] 
DMC, OW and my copy of MinGW misses SH* values, Borland seems fine.

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

19 years agoOups :-( incomplete previous undo.
Włodzimierz Skiba [Wed, 20 Oct 2004 01:25:38 +0000 (01:25 +0000)] 
Oups :-( incomplete previous undo.

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

19 years agoCorrect fix to the compile time assert under OW. Kudos to Vadim to the tip.
Włodzimierz Skiba [Wed, 20 Oct 2004 01:20:58 +0000 (01:20 +0000)] 
Correct fix to the compile time assert under OW. Kudos to Vadim to the tip.

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

19 years agoadded stdpaths.* for MSW and Unix
Vadim Zeitlin [Wed, 20 Oct 2004 00:36:01 +0000 (00:36 +0000)] 
added stdpaths.* for MSW and Unix

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

19 years agoinitial Unix implementation
Vadim Zeitlin [Wed, 20 Oct 2004 00:35:26 +0000 (00:35 +0000)] 
initial Unix implementation

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

19 years agodon't use wxCOMPILE_TIME_ASSERT2, wxCOMPILE_TIME_ASSERT works for VC++ too now
Vadim Zeitlin [Wed, 20 Oct 2004 00:34:40 +0000 (00:34 +0000)] 
don't use wxCOMPILE_TIME_ASSERT2, wxCOMPILE_TIME_ASSERT works for VC++ too now

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

19 years agomoved AppendAppName() from MSW to common code; modified it to not double the trailing...
Vadim Zeitlin [Wed, 20 Oct 2004 00:34:32 +0000 (00:34 +0000)] 
moved AppendAppName() from MSW to common code; modified it to not double the trailing slash, if any

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

19 years agoremoved special definition of wxCOMPILE_TIME_ASSERT2, keep it only for compatibility
Vadim Zeitlin [Wed, 20 Oct 2004 00:33:31 +0000 (00:33 +0000)] 
removed special definition of wxCOMPILE_TIME_ASSERT2, keep it only for compatibility

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

19 years agodefine wxMAKE_UNIQUE_NAME so that it works even in VC++ with /ZI (edit and continue...
Vadim Zeitlin [Wed, 20 Oct 2004 00:31:58 +0000 (00:31 +0000)] 
define wxMAKE_UNIQUE_NAME so that it works even in VC++ with /ZI (edit and continue) option: use __COU*NTER__ instead of __LINE__

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

19 years agoupdated bulid notes to include cmd line building instructions
Vadim Zeitlin [Tue, 19 Oct 2004 23:51:04 +0000 (23:51 +0000)] 
updated bulid notes to include cmd line building instructions

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

19 years agoremoved unneeded junk copied from MSW port
Vadim Zeitlin [Tue, 19 Oct 2004 23:19:31 +0000 (23:19 +0000)] 
removed unneeded junk copied from MSW port

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

19 years agofixed status bar source file name; removed wxUSE_NATIVE_STATUS_BAR; removed generic...
Vadim Zeitlin [Tue, 19 Oct 2004 23:17:30 +0000 (23:17 +0000)] 
fixed status bar source file name; removed wxUSE_NATIVE_STATUS_BAR; removed generic status bar file from makefile

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

19 years agoignore build directory
Vadim Zeitlin [Tue, 19 Oct 2004 23:12:12 +0000 (23:12 +0000)] 
ignore build directory

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

19 years agoreSWIGged for WebKitCtrl
Robin Dunn [Tue, 19 Oct 2004 22:05:47 +0000 (22:05 +0000)] 
reSWIGged for WebKitCtrl

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

19 years agodocstring typo fixed
Robin Dunn [Tue, 19 Oct 2004 21:51:46 +0000 (21:51 +0000)] 
docstring typo fixed

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

19 years agoreSWIGged for WebKitCtrl
Robin Dunn [Tue, 19 Oct 2004 21:50:40 +0000 (21:50 +0000)] 
reSWIGged for WebKitCtrl

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

19 years agoGive wxEVT_WEBKIT_STATE_CHANGED a dummy value too.
Robin Dunn [Tue, 19 Oct 2004 21:48:08 +0000 (21:48 +0000)] 
Give wxEVT_WEBKIT_STATE_CHANGED a dummy value too.

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

19 years agoreSWIGged for WebKitCtrl
Robin Dunn [Tue, 19 Oct 2004 21:41:29 +0000 (21:41 +0000)] 
reSWIGged for WebKitCtrl

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

19 years agoMore WebKitCtrl tweaks, added wxWebKitStateChangedEvent and etc.
Robin Dunn [Tue, 19 Oct 2004 21:40:31 +0000 (21:40 +0000)] 
More WebKitCtrl tweaks, added wxWebKitStateChangedEvent and etc.

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

19 years agoWarning fix to avoid typecasting with OW elsewhere.
Włodzimierz Skiba [Tue, 19 Oct 2004 21:10:42 +0000 (21:10 +0000)] 
Warning fix to avoid typecasting with OW elsewhere.

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

19 years agoa little cleanup
Robin Dunn [Tue, 19 Oct 2004 21:05:00 +0000 (21:05 +0000)] 
a little cleanup

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

19 years agoreSWIGged for WebKitCtrl
Robin Dunn [Tue, 19 Oct 2004 21:03:10 +0000 (21:03 +0000)] 
reSWIGged for WebKitCtrl

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

19 years agoSome tweaks for WebKitCtrl.
Robin Dunn [Tue, 19 Oct 2004 21:00:30 +0000 (21:00 +0000)] 
Some tweaks for WebKitCtrl.

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

19 years agoOW warning fix. Our compile time asserts warns when used within function and dedicate...
Włodzimierz Skiba [Tue, 19 Oct 2004 21:00:17 +0000 (21:00 +0000)] 
OW warning fix. Our compile time asserts warns when used within function and dedicated #pragma seems not influence it so they are moved from functions into global space as near as possible.

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

19 years agoadded wxTB_HORZ_TEXT
Václav Slavík [Tue, 19 Oct 2004 18:54:59 +0000 (18:54 +0000)] 
added wxTB_HORZ_TEXT

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

19 years agodeclaration (only, so far) for Unix
Vadim Zeitlin [Tue, 19 Oct 2004 18:51:17 +0000 (18:51 +0000)] 
declaration (only, so far) for Unix

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

19 years agowxStandardPaths test
Vadim Zeitlin [Tue, 19 Oct 2004 18:50:26 +0000 (18:50 +0000)] 
wxStandardPaths test

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