Commit Graph

16647 Commits

Author SHA1 Message Date
Gilles Depeyrot
19bb2f5bbe if we are not in the main thread, output the assert directly and trap since
dialogs cannot be displayed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 20:30:33 +00:00
Mattia Barbon
1eb1eae717 Compilation fix (missing headers).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 17:07:25 +00:00
Mattia Barbon
f7f78039d2 Add tests for XShape extension API in configure,
and implements wxTLW::SetShape for wxMotif and wxX11
using the aforementioned extension.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:58:33 +00:00
Mattia Barbon
aae0472bf3 Use the wxBitmap implementation from wxX11
in wxMotif; solves various bugs related to wxMask
handling (and effectively adds a lot of wxMask
functionality previously missing).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:44:27 +00:00
Julian Smart
507db85d59 Include winable.h for NotifyWinEvent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 15:16:54 +00:00
Vadim Zeitlin
4f4d07644f update from NY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 14:48:04 +00:00
Michael Bedward
1eb9ddb9f8 Fixed TARGETDEF usage. Now defined in the parent make to use include a DEF file in the build. Is there some better way of doing this ?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 13:19:40 +00:00
Robin Dunn
6d460f765d Turn off all border styles for the inner window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 22:24:14 +00:00
Vadim Zeitlin
20e4242f93 yet another versionof Greek translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 18:51:36 +00:00
Mattia Barbon
c3b3654e9b Compilation fix for !wxUSE_TOOLTIP.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 18:45:38 +00:00
Mattia Barbon
be8a703f96 Removed ".wxr fixes for Unicode" item, since wxr have been
removed from 2.6-to-be, and deprecated in 2.4.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 18:37:30 +00:00
Vadim Zeitlin
59a9a6bcc6 added missing default argument value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 13:52:31 +00:00
Vadim Zeitlin
2e491df9fa printf() format warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 11:28:57 +00:00
Vadim Zeitlin
c9ee09924f wxMac doesn't use wxTaskBarIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 10:53:23 +00:00
Václav Slavík
4eb38db745 backported some things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 22:17:13 +00:00
Václav Slavík
cf21abe595 deprecated XMLID and friends macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 22:15:03 +00:00
Stefan Csomor
643a0828da explicit app modality in SetModal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 20:37:30 +00:00
David Elliott
376c2fba79 After delete wxPendingEventsLocker; wxPendingEventsLocker = NULL; so that
the wxEvent code doesn't try to use it while cleaning up.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 18:06:46 +00:00
Mattia Barbon
a29c6824c2 Add GetDrawable convenience function that returns m_bitmap
if the wxBitmap is monochrome or m_pixmap if the wxBitmap
is polichrome.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 17:39:00 +00:00
Mattia Barbon
1ca61fa7a7 No sashtest.xbm to be found.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 17:35:22 +00:00
Mattia Barbon
02a48e3b0a Fix some GCC 3.2 -O2 warnings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 17:32:19 +00:00
Mattia Barbon
9ce8d6a2b0 Moved m_visual* wxApp[X11] members used by wxBitmap and
wxColour into a new wxXVisualInfo structure, and moved code
to initialize it to a new src/x11/utilsx.cpp file (utility
functions shared by wxMotif and wxX11).
  Added (currently unused) code in wxMotif to
retrieve wxXVisualInfo; it will be used when wxMotif
is switched to bitmap.cpp from wxX11.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 17:15:11 +00:00
David Elliott
13fc3db40e Do some sanity checks in DoDrawText to make sure we actually have some glyphs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 04:04:10 +00:00
David Elliott
ce50c4d1c6 Added stub for wxIcon(const char **xpm)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 03:38:12 +00:00
David Elliott
2894667fa4 Relocate DeviceToLogical[XY], add stub for LogicalToDevice[XY]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 03:31:38 +00:00
David Elliott
64440d7734 Added preliminary resource fork support for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 03:14:35 +00:00
David Elliott
de6dab5f7c Allow wxUSE_DIRDLG and wxUSE_TREECTRL for wxCocoa (both are generic)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 03:05:24 +00:00
David Elliott
01f5f03e7f X11-specific code doesn't work so well on wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 02:57:12 +00:00
David Elliott
8d0eaedd07 Use the generic tree control for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 02:49:17 +00:00
David Elliott
b400d50ac6 There is no task bar icon for Cocoa (yet).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 02:21:10 +00:00
David Elliott
6c342f3ff1 Whoops! Might want the headers too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 01:44:11 +00:00
Vadim Zeitlin
e40bef9f54 option for using DirectX in wxDisplay
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 00:38:06 +00:00
Vadim Zeitlin
06efac1f8d support for optionnally using DirectX for display manipulations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 00:30:18 +00:00
Julian Smart
d515343ca2 Removed redundant fixme comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 20:47:59 +00:00
Mattia Barbon
b229c8a911 Remove (now) pointless checks for __WXX11__/__WXMOTIF__ in
src/x11/utils.cpp and src/motif/utils.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 20:39:45 +00:00
Julian Smart
06cc1fb991 Applied [ 716064 ] Second part of wxFileCtrl & wxDirCtrl patch
by John Labenski


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 19:57:51 +00:00
Vadim Zeitlin
5015e02267 fix bug with not accepting write-only formats in d&d
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 19:40:54 +00:00
Vadim Zeitlin
673e612079 merged 2 overloaded functions into a single membersections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 18:37:06 +00:00
Julian Smart
409bd44e7b More patches done
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 17:59:59 +00:00
Vadim Zeitlin
efa14cf20a added assert to check that notebook page does have notebook as parent; removed duplicated AddPage()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 17:46:48 +00:00
Julian Smart
01562b11f2 Applied some of them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 15:48:34 +00:00
Julian Smart
edb247200c Reordered functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 15:14:50 +00:00
Julian Smart
5ae8a62ccf Removed backported fix from toback24.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 11:38:43 +00:00
David Elliott
1f6c4d4746 Changed dc.cpp to dc.mm and dcclient.cpp dcclient.mm for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 00:55:41 +00:00
David Elliott
891d0563f7 Replace dc.cpp with dc.mm and dcclient.cpp with dc.mm
Update app.mm to call wxDC text system startup and cleanup code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 00:54:38 +00:00
David Elliott
ec4e4a1415 Use the wxStaticBox::GetBordersForSizer method to get border information
on wxCocoa.  Perhaps the other ports should do this?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 00:51:44 +00:00
David Elliott
2ace5cf632 Added GetBordersForSizer(int *bordertop, int *borderOther)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 23:26:30 +00:00
David Elliott
ddf7346ac0 Commented out most the the wxLogDebug
Basic implementation of Refresh() does not take into account eraseBack or Rect


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 23:23:50 +00:00
David Elliott
c29e274378 Cocoa still uses the generic file dialog (see include/wx/filedlg.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 23:16:34 +00:00
David Elliott
82de126c11 Added declarations for NSLayoutManager, NSTextContainer, and NSTextStorage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 23:06:24 +00:00