Commit Graph

25775 Commits

Author SHA1 Message Date
Vadim Zeitlin
48713afd53 - 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
2004-10-18 23:27:37 +00:00
Vadim Zeitlin
96e2aec50a renamed wxFileLocator to wxStandardPaths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 22:35:51 +00:00
Vadim Zeitlin
3640d0da6b fix Mac/Unicode build after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 22:26:24 +00:00
David Elliott
2b27a03922 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
2004-10-18 22:23:51 +00:00
Vadim Zeitlin
94009d33c1 unsigned off_t doesn't exist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 22:17:07 +00:00
David Elliott
a2c1097b8a 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
2004-10-18 22:12:57 +00:00
Julian Smart
2841cdd89b 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
2004-10-18 22:07:47 +00:00
David Elliott
4fca6ee1a6 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
2004-10-18 21:41:34 +00:00
Julian Smart
c5b3143a47 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
2004-10-18 20:20:47 +00:00
David Elliott
f31424dbe9 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
2004-10-18 19:15:42 +00:00
David Elliott
0e3165d725 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
2004-10-18 17:02:37 +00:00
Václav Slavík
e0aeebed0a 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
2004-10-18 13:13:39 +00:00
Włodzimierz Skiba
c6fbe2f0c8 Unnecessary const_ prefix removed (blindly).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 13:00:11 +00:00
Václav Slavík
09a65e631a 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
2004-10-18 12:50:10 +00:00
Václav Slavík
b2b4469be1 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
2004-10-18 12:38:21 +00:00
Václav Slavík
b1ad1424b9 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
2004-10-18 09:43:37 +00:00
Václav Slavík
3141599efa 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
2004-10-18 09:30:32 +00:00
Václav Slavík
eb5fa34b65 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 09:05:49 +00:00
Włodzimierz Skiba
1b941f2d31 Warning fixes for OpenWatcom.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 05:56:07 +00:00
Vadim Zeitlin
6c6ea7bed1 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
2004-10-18 01:03:02 +00:00
Vadim Zeitlin
c4e05385a2 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 00:23:56 +00:00
Vadim Zeitlin
26f2b058cf documented that SetSelection(-1) removes the selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 00:18:43 +00:00
Vadim Zeitlin
a018a119bd added wxDynamicLibrary::HasSymbol()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 23:20:51 +00:00
Robert Roebling
fd64de596c 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
2004-10-17 23:00:41 +00:00
Vadim Zeitlin
3692b33c7f added \newsince command
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 22:30:01 +00:00
Vadim Zeitlin
1ee445c75b added interface for wxFileLocator class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 21:43:08 +00:00
Włodzimierz Skiba
7ac31c429f 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
2004-10-17 21:39:05 +00:00
Vadim Zeitlin
804cd2075d mention enhanced metafiles bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 21:28:18 +00:00
Vadim Zeitlin
15e2adbd3b compilation fix for Borland
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 20:17:00 +00:00
Włodzimierz Skiba
65aeb57135 wxHashMap compatible typecasting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 19:45:42 +00:00
Vadim Zeitlin
42a2452301 - 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
2004-10-17 19:45:20 +00:00
Robert Roebling
bf9848e73d 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
2004-10-17 19:32:48 +00:00
Robert Roebling
8850cbd3c3 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
2004-10-17 17:25:40 +00:00
Włodzimierz Skiba
4200d1f416 __WXDEBUG__ is defined/undefined, not 0/1!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 16:28:20 +00:00
Włodzimierz Skiba
7dca9b44f5 _() needs intl.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 16:21:32 +00:00
Vadim Zeitlin
7406cb31ed removed obsolete and unused code for USE_BITMAP_MASKS == 0 case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 14:54:17 +00:00
Robert Roebling
12ff822199 Forgot to commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 14:47:27 +00:00
Robert Roebling
f53df133a6 Applied (part of) small patch from Chris Bogolte which
corrects a test in the Blit code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 14:32:42 +00:00
Vadim Zeitlin
e9a05074a9 compilation fix for !USE_PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 14:28:26 +00:00
Stefan Csomor
73e54eb489 added mac constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 13:11:05 +00:00
Stefan Csomor
2c899c2010 guard against m_peer = NULL in Show()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 11:51:43 +00:00
Stefan Csomor
18a82b9cd3 don't restrict to OS9 API for Mac-Builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 10:52:37 +00:00
Stefan Csomor
684e0b31ef __WXMAC_OSBUILDTYPE__ selections are now only defined if they are TRUE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 10:45:21 +00:00
Stefan Csomor
ca80fdee5e __WXMAC_OSBUILDTYPE__ selections are now only defined if they are TRUE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 10:36:33 +00:00
Robert Roebling
c9433ea976 Fixed lost focus events in wxListBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 09:58:46 +00:00
Robert Roebling
523fd2211f Link problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 09:57:22 +00:00
Robin Dunn
498fbcb4f5 Test GetTextRange on some unicode text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 02:29:51 +00:00
Robin Dunn
6636ac1ea9 Use Scintilla's functions for Unicode/UTF8 conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 02:27:22 +00:00
Vadim Zeitlin
bd2fe27eed added test for the (just fixed) bug with adding the first entry to the root group
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 01:13:54 +00:00
Vadim Zeitlin
d4cace1ccd use common code to determine best notebook size instaed of Mac-specific which mistakenly used current pages sizes and not the best ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 01:00:31 +00:00