David Elliott
f7ef06022c
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
2004-10-24 07:36:16 +00:00
Robin Dunn
db93f8f85b
typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-24 01:04:11 +00:00
Robin Dunn
eed8659474
EP_ADD_OPTS defaults to true
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-24 00:59:14 +00:00
Robin Dunn
5029118cb1
require --> select, added checkInstalled and getInstalled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-24 00:58:11 +00:00
Robin Dunn
79db03c99e
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
2004-10-24 00:17:57 +00:00
Robin Dunn
45b323521b
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
2004-10-24 00:17:12 +00:00
Vadim Zeitlin
f90387b4b4
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
2004-10-23 21:26:01 +00:00
Václav Slavík
260a67b7aa
fixing sizing bug inside wxWizard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-23 16:10:26 +00:00
Václav Slavík
b0021947ef
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
2004-10-23 16:06:11 +00:00
Vadim Zeitlin
377a8f52cf
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
2004-10-23 15:24:23 +00:00
Vadim Zeitlin
78a9e10da1
updated version to 2.5.3.1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-23 14:56:35 +00:00
Vadim Zeitlin
37c2aa46d0
fixed VC++ size_t -> int conversion warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-23 13:55:20 +00:00
Vadim Zeitlin
6ce8c562b2
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
2004-10-23 13:10:00 +00:00
Robin Dunn
ec9b55ca46
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 20:36:32 +00:00
Robin Dunn
5df4dd4bc5
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
2004-10-22 20:28:17 +00:00
Robin Dunn
a7bb0a9db6
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 20:27:22 +00:00
Kevin Hock
c6900c006b
*** empty log message ***
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 20:16:43 +00:00
Kevin Hock
dbd94b7501
*** empty log message ***
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 19:15:35 +00:00
Robin Dunn
119af81b23
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
2004-10-22 19:12:04 +00:00
Kevin Hock
34621cc5d6
Documentation patch from Olly Betts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 19:11:07 +00:00
Kevin Hock
1399de550a
Removed , from end of enumerated list wxPrintBin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 17:13:35 +00:00
Włodzimierz Skiba
b7edbfa019
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
2004-10-22 17:10:34 +00:00
David Elliott
5dc471408f
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
2004-10-22 16:07:31 +00:00
David Elliott
9d1e4703d3
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
2004-10-22 15:50:24 +00:00
David Elliott
4092a27504
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
2004-10-22 15:42:16 +00:00
Robin Dunn
02c3b4d92b
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
2004-10-22 15:24:55 +00:00
Robin Dunn
60b517c1f3
regenned the ReST docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 15:21:38 +00:00
Robin Dunn
851067d0f2
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
2004-10-22 15:20:51 +00:00
Robin Dunn
4f60dce5d4
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
2004-10-22 05:53:49 +00:00
Robin Dunn
f35732e954
build the unicode version too on Panther
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 03:07:31 +00:00
Robin Dunn
1e45356c50
renamed the output file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 03:06:34 +00:00
Robin Dunn
b908d8bf69
Rearrainged some bits
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 03:05:08 +00:00
Robin Dunn
8ce7234a58
Some new icons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 03:04:16 +00:00
Robin Dunn
4171e9dc20
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 02:51:10 +00:00
Robin Dunn
85245f48ad
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
2004-10-22 02:50:05 +00:00
Vadim Zeitlin
c39e759922
Unicode compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 00:23:35 +00:00
Stefan Neis
21708c7331
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
2004-10-21 21:32:57 +00:00
Václav Slavík
200ab0bff0
OS/2 needs wxUSE_OWNER_DRAWN, too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-21 18:47:19 +00:00
David Webster
7804d121cb
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
2004-10-21 17:38:06 +00:00
David Webster
b5f10b014c
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
2004-10-21 17:36:01 +00:00
David Webster
b715de93a6
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
2004-10-21 13:58:08 +00:00
Vadim Zeitlin
ab13b95e5c
compilation fix after last checkin (missing header)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-21 10:30:20 +00:00
Vadim Zeitlin
fdd99f154a
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
2004-10-20 22:50:03 +00:00
Vadim Zeitlin
e188df5dea
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
2004-10-20 22:14:55 +00:00
Vadim Zeitlin
4e689ecdb5
update g_isPainting in wxPaintEvent copy ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 22:10:35 +00:00
Vadim Zeitlin
ea180b184a
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
2004-10-20 22:03:54 +00:00
David Elliott
85c9f98b50
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
2004-10-20 21:04:52 +00:00
David Webster
f6bc1c74e8
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
2004-10-20 19:26:11 +00:00
David Elliott
b320510f98
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
2004-10-20 19:24:14 +00:00
David Elliott
1e85b547a5
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
2004-10-20 19:18:46 +00:00