]>
git.saurik.com Git - wxWidgets.git/log
Julian Smart [Wed, 27 Oct 2004 16:44:31 +0000 (16:44 +0000)]
GTK+1 doesn't have gtk_window_set_type_hint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30120
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 27 Oct 2004 13:53:37 +0000 (13:53 +0000)]
don't abort if a shared library can't be loaded under OS X, just return an error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30119
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 27 Oct 2004 12:59:19 +0000 (12:59 +0000)]
setting the invoking window added to two other wxMenuBar manipulating methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30118
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Wed, 27 Oct 2004 11:33:48 +0000 (11:33 +0000)]
Replace license.txt with licence.txt as it is really named.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30117
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 27 Oct 2004 11:19:30 +0000 (11:19 +0000)]
Added initial support for GNOME printing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30116
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 27 Oct 2004 11:16:22 +0000 (11:16 +0000)]
Moved "enablePrint" setting around.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30115
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Ryan Norton [Wed, 27 Oct 2004 08:18:36 +0000 (08:18 +0000)]
Add preliminary wxStringBufferLength docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30114
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Ryan Norton [Wed, 27 Oct 2004 07:48:28 +0000 (07:48 +0000)]
Use wxStringBufferLength instead of wxXCharBuffer in constructors with conversion. Avoids both an allocation and a memory copy in normal (non-stl) wx mode with wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30113
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 27 Oct 2004 07:45:32 +0000 (07:45 +0000)]
fixes angle calculation (on mac ALWAYS clockwise)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30112
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Ron Lee [Wed, 27 Oct 2004 06:25:12 +0000 (06:25 +0000)]
Update for rpath with uninstalled builds and utility search.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30111
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Wed, 27 Oct 2004 01:15:34 +0000 (01:15 +0000)]
fixed copy/paste error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30110
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Wed, 27 Oct 2004 01:11:19 +0000 (01:11 +0000)]
Version number bump
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30109
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Wed, 27 Oct 2004 01:06:45 +0000 (01:06 +0000)]
The old workaround for the 1-Jan-1970 bug still failed in some
timezones. This new workaround seems to work better.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30107
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Wed, 27 Oct 2004 01:00:09 +0000 (01:00 +0000)]
Return from DoDrawSpline without doing anything (like segfaulting
<wink!>) if the list is empty.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30106
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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