]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 years agoinitial implementation for MSW
Vadim Zeitlin [Tue, 19 Oct 2004 18:50:06 +0000 (18:50 +0000)] 
initial implementation for MSW

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

20 years agoswitched to using a real class instead of a namespace because of Mac base/GUI problems
Vadim Zeitlin [Tue, 19 Oct 2004 18:49:02 +0000 (18:49 +0000)] 
switched to using a real class instead of a namespace because of Mac base/GUI problems

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

20 years agofixed GetConfigDir() description; added MT-safety note
Vadim Zeitlin [Tue, 19 Oct 2004 18:47:31 +0000 (18:47 +0000)] 
fixed GetConfigDir() description; added MT-safety note

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

20 years agodocument that not skipping left click event results in focus not being given to the...
Vadim Zeitlin [Tue, 19 Oct 2004 18:11:21 +0000 (18:11 +0000)] 
document that not skipping left click event results in focus not being given to the window under mouse

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

20 years agodon't set focus to the window when it is clicked if the event has been processed...
Vadim Zeitlin [Tue, 19 Oct 2004 18:09:13 +0000 (18:09 +0000)] 
don't set focus to the window when it is clicked if the event has been processed by the user code (this is consistent with how the standard controls already behave)

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

20 years agoextracted LPITEMIDLIST wrappers in a separate header (also [will be] used by wxStdnar...
Vadim Zeitlin [Tue, 19 Oct 2004 16:43:53 +0000 (16:43 +0000)] 
extracted LPITEMIDLIST wrappers in a separate header (also [will be] used by wxStdnardPaths)

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

20 years agoalways use wxStaticCast in XRCCTRL (asserts in case of bad use in debug build)
Václav Slavík [Tue, 19 Oct 2004 15:13:11 +0000 (15:13 +0000)] 
always use wxStaticCast in XRCCTRL (asserts in case of bad use in debug build)

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

20 years agoCleaned up commented-out code
Julian Smart [Tue, 19 Oct 2004 13:45:01 +0000 (13:45 +0000)] 
Cleaned up commented-out code

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

20 years agoRemoved accidentally committed file
Julian Smart [Tue, 19 Oct 2004 13:42:38 +0000 (13:42 +0000)] 
Removed accidentally committed file

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

20 years agoCommitted William Osborne's wxPalmOS port
Julian Smart [Tue, 19 Oct 2004 13:40:30 +0000 (13:40 +0000)] 
Committed William Osborne's wxPalmOS port

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

20 years agodon't return wxLIST_HITTEST_ONITEMICON from HitTest() when the muse is clicked to...
Vadim Zeitlin [Tue, 19 Oct 2004 11:49:37 +0000 (11:49 +0000)] 
don't return wxLIST_HITTEST_ONITEMICON from HitTest() when the muse is clicked to the right of the icon label

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

20 years agodefine __WXOSX__ for wxMac/Cocoa; document it
Vadim Zeitlin [Tue, 19 Oct 2004 09:02:10 +0000 (09:02 +0000)] 
define __WXOSX__ for wxMac/Cocoa; document it

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

20 years agoset mouse capture flag to false when releasing the mouse (bug 1049693)
Vadim Zeitlin [Tue, 19 Oct 2004 08:31:50 +0000 (08:31 +0000)] 
set mouse capture flag to false when releasing the mouse (bug 1049693)

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

20 years agoSQLINTEGER not defined in iodbc
Julian Smart [Tue, 19 Oct 2004 08:18:40 +0000 (08:18 +0000)] 
SQLINTEGER not defined in iodbc

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

20 years agoeliminate double deletion
Stefan Csomor [Tue, 19 Oct 2004 07:06:06 +0000 (07:06 +0000)] 
eliminate double deletion

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

20 years agoleads to a double call of AddChild, if we don't see any problems, we'll remove it
Stefan Csomor [Tue, 19 Oct 2004 07:04:52 +0000 (07:04 +0000)] 
leads to a double call of AddChild, if we don't see any problems, we'll remove it

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

20 years agoAdditions for webkit wrapper support.
Kevin Ollivier [Tue, 19 Oct 2004 06:07:13 +0000 (06:07 +0000)] 
Additions for webkit wrapper support.

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

20 years agoAdding wxWebKitCtrl wrappers.
Kevin Ollivier [Tue, 19 Oct 2004 06:04:26 +0000 (06:04 +0000)] 
Adding wxWebKitCtrl wrappers.

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

20 years agoRework comment a bit to accurately reflect situation on 10.2 - it doesn't crash,...
Ryan Norton [Tue, 19 Oct 2004 05:18:02 +0000 (05:18 +0000)] 
Rework comment a bit to accurately reflect situation on 10.2 - it doesn't crash, rather it stalls :).

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

20 years agoFixed incorrect comment about [NSDate distantPast]. We aren't seeking to
David Elliott [Tue, 19 Oct 2004 04:43:03 +0000 (04:43 +0000)] 
Fixed incorrect comment about [NSDate distantPast].  We aren't seeking to
block for an infinite amount of time but rather to not block at all.
Also added a bit of an overview since apparently the purpose of this code
was not readily apparent even with the existing comments.

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

20 years agoRemove pre-existing wx dirs from sys.path
Robin Dunn [Tue, 19 Oct 2004 04:04:27 +0000 (04:04 +0000)] 
Remove pre-existing wx dirs from sys.path

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

20 years agoMore PyPlot updates from Gordon Williams:
Robin Dunn [Tue, 19 Oct 2004 03:58:40 +0000 (03:58 +0000)] 
More PyPlot updates from Gordon Williams:
   - Imported modules given leading underscore to name.
   - Added Cursor Line Tracking and User Point Labels.
   - Demo for Cursor Line Tracking and Point Labels.
   - Size of plot preview frame adjusted to show page better.
   - Added helper functions PositionUserToScreen and
     PositionScreenToUser in PlotCanvas.
   - Added functions GetClosestPoints (all curves) and GetClosestPoint
     (only closest curve) can be in either user coords or screen
     coords.

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

20 years agoRemove comment too
Robin Dunn [Tue, 19 Oct 2004 03:51:35 +0000 (03:51 +0000)] 
Remove comment too

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

20 years agouse multiple images for changing the taskbar icon
Robin Dunn [Tue, 19 Oct 2004 03:50:09 +0000 (03:50 +0000)] 
use multiple images for changing the taskbar icon

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

20 years agofix image range
Robin Dunn [Tue, 19 Oct 2004 03:49:19 +0000 (03:49 +0000)] 
fix image range

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

20 years agofixed include guard after renaming the file
Vadim Zeitlin [Mon, 18 Oct 2004 23:28:41 +0000 (23:28 +0000)] 
fixed include guard after renaming the file

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

20 years ago- added and documented Get/SetInstallPath() under Unix
Vadim Zeitlin [Mon, 18 Oct 2004 23:27:37 +0000 (23:27 +0000)] 
- added and documented Get/SetInstallPath() under Unix
- corrected returns values of several functions for Mac OS X

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

20 years agorenamed wxFileLocator to wxStandardPaths
Vadim Zeitlin [Mon, 18 Oct 2004 22:35:51 +0000 (22:35 +0000)] 
renamed wxFileLocator to wxStandardPaths

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

20 years agofix Mac/Unicode build after last commit
Vadim Zeitlin [Mon, 18 Oct 2004 22:26:24 +0000 (22:26 +0000)] 
fix Mac/Unicode build after last commit

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

20 years agoDue to the last change the delegate should not release itself.
David Elliott [Mon, 18 Oct 2004 22:23:51 +0000 (22:23 +0000)] 
Due to the last change the delegate should not release itself.

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

20 years agounsigned off_t doesn't exist
Vadim Zeitlin [Mon, 18 Oct 2004 22:17:07 +0000 (22:17 +0000)] 
unsigned off_t doesn't exist

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

20 years agoRenamed m_hSnd to m_cocoaNSSound (match rest of wxCocoa).
David Elliott [Mon, 18 Oct 2004 22:12:57 +0000 (22:12 +0000)] 
Renamed m_hSnd to m_cocoaNSSound (match rest of wxCocoa).
Create delegate as a static member shared by all instances.

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

20 years agoDon't remove generic status bar from parent, since it can be used on
Julian Smart [Mon, 18 Oct 2004 22:07:47 +0000 (22:07 +0000)] 
Don't remove generic status bar from parent, since it can be used on
arbitrary windows.

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

20 years agoRemoved some extraneous whitespace.
David Elliott [Mon, 18 Oct 2004 21:41:34 +0000 (21:41 +0000)] 
Removed some extraneous whitespace.
Changed YES/NO to true/false; do not confuse BOOL (Objective-C) with bool (C++).
Changed some of the indentation to match that the rest of wxCocoa.

There was an if (isLastSoundInScope = NO) which I think was wrong not only
because it used NO rather than false but also because it's an assignment
rather than a test.  Changed it to if (!isLastSoundInScope).

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

20 years agowxRadioButtons in the same group no longer have to be consecutive
Julian Smart [Mon, 18 Oct 2004 20:20:47 +0000 (20:20 +0000)] 
wxRadioButtons in the same group no longer have to be consecutive
(there may be intervening controls). Without this fix, an out-of-sync
assert is generated when clicking on a radio button and then calling
GetValue().

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

20 years agowxCocoa: Add native file dialog from Ryan Norton. Modified patch #1039368
David Elliott [Mon, 18 Oct 2004 19:15:42 +0000 (19:15 +0000)] 
wxCocoa: Add native file dialog from Ryan Norton.  Modified patch #1039368
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1039368&group_id=9863

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

20 years agoRebaked (build/bakefiles/common.bkl 1.95->1.96 change)
David Elliott [Mon, 18 Oct 2004 17:02:37 +0000 (17:02 +0000)] 
Rebaked (build/bakefiles/common.bkl 1.95->1.96 change)

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

20 years agofixed previous revision: call wxControl's, not wxButton's DoGetBestSize
Václav Slavík [Mon, 18 Oct 2004 13:13:39 +0000 (13:13 +0000)] 
fixed previous revision: call wxControl's, not wxButton's DoGetBestSize

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

20 years agoUnnecessary const_ prefix removed (blindly).
Włodzimierz Skiba [Mon, 18 Oct 2004 13:00:11 +0000 (13:00 +0000)] 
Unnecessary const_ prefix removed (blindly).

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

20 years agobe user friendly on Unix and expand the / node automatically
Václav Slavík [Mon, 18 Oct 2004 12:50:10 +0000 (12:50 +0000)] 
be user friendly on Unix and expand the / node automatically

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

20 years agowxBitmapButton doesn't need own DoGetBestSize, wxControl's one works (fixes sizing...
Václav Slavík [Mon, 18 Oct 2004 12:38:21 +0000 (12:38 +0000)] 
wxBitmapButton doesn't need own DoGetBestSize, wxControl's one works (fixes sizing bug)

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

20 years agosupport alpha channel in menu items bitmaps, too
Václav Slavík [Mon, 18 Oct 2004 09:43:37 +0000 (09:43 +0000)] 
support alpha channel in menu items bitmaps, too

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

20 years agoXRC ignored menu bitmap on non-MSW platforms, fixed
Václav Slavík [Mon, 18 Oct 2004 09:30:32 +0000 (09:30 +0000)] 
XRC ignored menu bitmap on non-MSW platforms, fixed

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

20 years agofixed typo
Václav Slavík [Mon, 18 Oct 2004 09:05:49 +0000 (09:05 +0000)] 
fixed typo

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

20 years agoWarning fixes for OpenWatcom.
Włodzimierz Skiba [Mon, 18 Oct 2004 05:56:07 +0000 (05:56 +0000)] 
Warning fixes for OpenWatcom.

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

20 years agoremove the selection when SetSelection(-1) is called instead of asserting (as documented)
Vadim Zeitlin [Mon, 18 Oct 2004 01:03:02 +0000 (01:03 +0000)] 
remove the selection when SetSelection(-1) is called instead of asserting (as documented)

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

20 years agotypo
Vadim Zeitlin [Mon, 18 Oct 2004 00:23:56 +0000 (00:23 +0000)] 
typo

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

20 years agodocumented that SetSelection(-1) removes the selection
Vadim Zeitlin [Mon, 18 Oct 2004 00:18:43 +0000 (00:18 +0000)] 
documented that SetSelection(-1) removes the selection

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

20 years agoadded wxDynamicLibrary::HasSymbol()
Vadim Zeitlin [Sun, 17 Oct 2004 23:20:51 +0000 (23:20 +0000)] 
added wxDynamicLibrary::HasSymbol()

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

20 years ago Renamed wxPrintNativeData methods to better match
Robert Roebling [Sun, 17 Oct 2004 23:00:41 +0000 (23:00 +0000)] 
  Renamed wxPrintNativeData methods to better match
    those of the preexisting wxMac class. This should
    make transition of the wxMac classes to the new
    wxPrintNativeData classes easier.
  Renamed wxWindowsPrintNativeData to a proper name
    that is less confusing (GetNativeData -> GetDevMode).

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

20 years agoadded \newsince command
Vadim Zeitlin [Sun, 17 Oct 2004 22:30:01 +0000 (22:30 +0000)] 
added \newsince command

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

20 years agoadded interface for wxFileLocator class
Vadim Zeitlin [Sun, 17 Oct 2004 21:43:08 +0000 (21:43 +0000)] 
added interface for wxFileLocator class

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

20 years agoWarning fixes related to various cases of typecasting.
Włodzimierz Skiba [Sun, 17 Oct 2004 21:39:05 +0000 (21:39 +0000)] 
Warning fixes related to various cases of typecasting.

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

20 years agomention enhanced metafiles bug fix
Vadim Zeitlin [Sun, 17 Oct 2004 21:28:18 +0000 (21:28 +0000)] 
mention enhanced metafiles bug fix

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

20 years agocompilation fix for Borland
Vadim Zeitlin [Sun, 17 Oct 2004 20:17:00 +0000 (20:17 +0000)] 
compilation fix for Borland

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

20 years agowxHashMap compatible typecasting.
Włodzimierz Skiba [Sun, 17 Oct 2004 19:45:42 +0000 (19:45 +0000)] 
wxHashMap compatible typecasting.

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

20 years ago- wxDynamicLibrary::GetDllExt() now returns ".bundle", not ".dylib"
Vadim Zeitlin [Sun, 17 Oct 2004 19:45:20 +0000 (19:45 +0000)] 
- wxDynamicLibrary::GetDllExt() now returns ".bundle", not ".dylib"
- wxDynamicLibrary::GetSymbol() now prepends underscore to the symbol name

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

20 years ago Took one part of the patch back again...
Robert Roebling [Sun, 17 Oct 2004 19:32:48 +0000 (19:32 +0000)] 
  Took one part of the patch back again...

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

20 years ago First step at moving the print (dialog) native
Robert Roebling [Sun, 17 Oct 2004 17:25:40 +0000 (17:25 +0000)] 
  First step at moving the print (dialog) native
   data into native dirs and cleaning up the code.
   The native part of wxPrintData is now created
   via the wxPrintFactory. I moved the code for
   PostScript to /src/generic/prntdlgg. and for
   MSW to its the respective dir. I only made
   wxMac compile, but it already has a native
   print data class, which should be easy to
   merge.

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

20 years ago__WXDEBUG__ is defined/undefined, not 0/1!
Włodzimierz Skiba [Sun, 17 Oct 2004 16:28:20 +0000 (16:28 +0000)] 
__WXDEBUG__ is defined/undefined, not 0/1!

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

20 years ago_() needs intl.h.
Włodzimierz Skiba [Sun, 17 Oct 2004 16:21:32 +0000 (16:21 +0000)] 
_() needs intl.h.

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