Commit Graph

16628 Commits

Author SHA1 Message Date
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
Václav Slavík
842f5c94c9 regenerated makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 22:30:39 +00:00
Václav Slavík
fb29dcac01 partially working wxTaskBarIcon for X11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 22:27:47 +00:00
Václav Slavík
3eae0c0b43 added taskbarcmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 22:25:36 +00:00
Václav Slavík
4f5583b5c5 removed obsoleted virtuals from docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 22:22:01 +00:00
Václav Slavík
4bc6471261 updates to taskbar sample to use events instead of virtuals and work under Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 22:20:52 +00:00
Julian Smart
b78ce094c7 Fix for getting all frames from GIF animation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 18:59:50 +00:00
Mattia Barbon
62ad3cb358 Derive wxBitmap from wxBitmapBase.
Move code from LoadFile/SaveFile/Create* to
bitmap handlers.
  Implemented wxBitmap::GetSubBitmap.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 12:11:05 +00:00
Julian Smart
b71e94da10 Added a const for CW compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 10:38:18 +00:00
Chris Elliott
833e610da7 fix accidental overwrite of Makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 10:34:19 +00:00
Julian Smart
a2f9a63688 APplied patch [ 705301 ] Don't send event for wxSplitter::Unsplit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 10:33:10 +00:00
Chris Elliott
ddea7eb614 changes to watcom makefiles for OpenWatcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 10:14:07 +00:00
Václav Slavík
6344162a81 removed files with empty stubs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 23:00:08 +00:00
Václav Slavík
f5b1bb5e76 preparation for X11 wxTaskBarIcon version:
1. moved events to common file from MSW specific
2. deprecated virtual functions in favour of event handlers
3. removed taskbar.cpp files from port that don't implement it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 22:47:58 +00:00
Václav Slavík
6af507f77e preparation for X11 wxTaskBarIcon version:
1. moved events to common file from MSW specific
2. deprecated virtual functions in favour of event handlers
3. removed taskbar.cpp files from port that don't implement it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 22:33:47 +00:00
Robin Dunn
4e6beae5ec Handle checkable items the right way in all cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 22:21:38 +00:00
Julian Smart
0a2c03984a Applied [ 714756 ] Clean warnings on build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 13:13:46 +00:00
Roger Gammans
a967f0480b * rename maxOnOverflow parameter to CoordToRowOrCol() to clipToMinMax
* ensure CoordToRowOrCol() range is  0 -> nMax if clipOnMinMax is set
                                and -1 -> nMax if clipOnMinMax is not set

 * check on uses of YToRow() / XToCol() and replace with
   calls internalYToRow() / internalXToCol() removing any external
   overflow handling where appropriate.

 * Add tests for overflow to prevent sending 'off grid' label events,
   would be indistinguishable from CornerLabel events.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 21:14:07 +00:00
Robin Dunn
02822c8cdf Correction to my new menu code: handle submenus on menubar menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 21:01:52 +00:00
Vadim Zeitlin
6568015373 start of Greek translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 20:54:58 +00:00