Commit Graph

15354 Commits

Author SHA1 Message Date
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
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
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
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
Vadim Zeitlin
0da888ae90 fixed bug with adding new entries to a root group with subgroups but without any existing entries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 00:05:21 +00:00
Robert Roebling
c061373dc5 Began work on print dialogs. Now wxPrintDialog
is a pimpl implementation of the native
    dialog classes, which are created in wxPrintFactory.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 22:11:48 +00:00
Václav Slavík
9a8d8c5a51 don't use m_instanceAsWindow to convert dialog units, it's not fully constructed yet and can't provide the information
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 21:52:54 +00:00
Vadim Zeitlin
fa4a69423d don't leave two conscutive separators after "moving" a standard menu item to the application menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 20:54:46 +00:00
Vadim Zeitlin
ea3cdc4f89 don't reset tool/status bar pointers manually, it is now done automatically by the dtors of the bars themselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 20:28:36 +00:00
Vadim Zeitlin
2ab822146c reset parent frame tool/status bar pointer automatically when the bar is destroyed; this ensures that we're never left with dangling pointers and fixes a crash under Mac when MDI child frame with a toolbar is closed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 20:25:39 +00:00
Vadim Zeitlin
488abb222a call AddChild() when the control is already reallly created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 15:00:40 +00:00
Vadim Zeitlin
7a295dfa5c fixed enhanced metafiles loading from files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 13:31:27 +00:00
Vadim Zeitlin
170b04bae6 use size_t for the total size of data instead of wxFileSize_t (msg catalogs can't be that big...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 11:31:27 +00:00
Dimitri Schoolwerth
b9242cc700 fixed CFM build linking error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 01:49:28 +00:00
Vadim Zeitlin
ef6816ef25 fixed fatal bug when moving the control after itself in tab order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 01:47:22 +00:00
Vadim Zeitlin
5f315f781a fixed inconsistent dllspec warning in DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 00:38:10 +00:00
Vadim Zeitlin
b4cfe261db implemented SetWildcard()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 22:55:13 +00:00
David Elliott
f1d9e1ec6b wxCocoa: Added wxTaskBarIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 22:52:28 +00:00
David Elliott
c9f52ac517 Yes Ryan, I really did mean to remove these files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 22:44:06 +00:00
Włodzimierz Skiba
9f13661f8b Parts of wxSizer::Show() extracted into wxSizer::GetItem() (together with documentation).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 18:58:52 +00:00
Włodzimierz Skiba
564c92d95b Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 16:12:58 +00:00
Włodzimierz Skiba
8253f2e063 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 16:00:06 +00:00
Włodzimierz Skiba
b8ee9a863c Quiet cooperation between MSW and wxGL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 15:29:31 +00:00
Włodzimierz Skiba
b9daf00aac Fix for platforms where 64-bit value support is not implemented in switch/case statements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 08:13:09 +00:00
Ron Lee
10f206ad20 For autoconf/unix builds update the hardcoded afm dir too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 07:50:21 +00:00
Ron Lee
b1433926f2 Bump copyright date and indicate debug builds too in 'easter egg' dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 07:25:40 +00:00
Jouk Jansen
6dfd822aca Committing in .
Added some type casts to silence the compiler on OpenVMS

 Modified Files:
 	wxWidgets/src/common/db.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 06:45:11 +00:00
Stefan Csomor
1dd82eff99 removed IsShown guards, allowing now for manipulation of hidden toolbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 06:12:27 +00:00
David Elliott
950432e407 Allow the wxMenu to be owned by the NSMenu so that it can be returned
from methods which Cocoa calls when a menu is to be popped up.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 03:06:50 +00:00
David Elliott
3312496dcc Allow the dealloc message to be caught
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 02:55:15 +00:00
David Elliott
d04995b3a6 Use wxObjcAutoRefFromAlloc for sm_cocoaTarget.
Move some processing code from wxMenuItemAction to CocoaItemSelected.
Add Cocoa_validateMenuItem and use it instead of calling IsEnabled directly.
Do not set the target or action for wxMenuItem that open submenus.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 01:39:35 +00:00
Vadim Zeitlin
67c20e133e use wxFileSize_t instead of wxFileOffset or off_t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 00:34:21 +00:00
Vadim Zeitlin
02aef13c07 made Tell/Seek/Length() return wxFileSize_t as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 00:22:27 +00:00
Vadim Zeitlin
93e0db9a80 added wxFileSize_t, changed types of wxFile methods/parameters once again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 00:01:00 +00:00
Vadim Zeitlin
a752b8c4e0 always let GTK process focus_out events itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 23:46:08 +00:00
Włodzimierz Skiba
ad81647631 Warning fix for wxDateTime_t <-> MSW data exchange.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 17:42:33 +00:00