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
Robin Dunn
a01fe3d6d2
Fixed menu event propogation to be consistent across platforms, and
...
with the docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 18:39:20 +00:00
Julian Smart
91ce04cf9e
Fixed OnSetCursor for Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 18:17:05 +00:00
Julian Smart
e5c4c38b5d
Applied patch [ 709618 ] fixes drawing position in wxPrinterDC::DoBlit()
...
wxPrinterDC::DoBlit() in current CVS is drawing to the
source coords rather than the dest coords. This patch
corrects that.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 13:19:15 +00:00
Julian Smart
23254b138a
Applied patch [ 708582 ] wxGenericFileDialog & expose generic wxFileCtrl
...
By John Labenski (jrl1)
The wxFileCtrl is a nice little widget that when
married with a wxDirCtrl makes for a simple, easy to
use explorer type widget.
include/wx/generic/filedlgg.h, src/generic/filedlg.cpp
Expose wxFileData and wxFileCtrl, rename wxFileDialog
to wxGenericFileDialog, it can be used in MSW now.
wxFileCtrl - added sorting for clicking in the col headers.
let wxGenericFileDialog manage it's own static text.
allow for viewing of root (for showing drives) in MSW
wxFileData - moved enum for wxFileCtrl col's into it.
added IsDrive and use bitmask instead of a slew of
bools for IsDir...
A couple bug fixes for wxFileCtrl for MSW, c:\.. is not
a file and can't be stated, show drives.
Basicly its the same as before, with no change besides
sorting for GTK. For MSW, the wxFileCtrl works in a few
more cases, hopefully all the MGL etc code was
untouched and should still work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 13:10:08 +00:00
Julian Smart
72c30d6572
Applied patch [ 706329 ] [wxMac] Fixes wxGetLocalTimeMillis
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 13:01:59 +00:00
Julian Smart
715d7d25b3
Applied patch [ 708016 ] Setup0.h updated according wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 12:58:46 +00:00
Julian Smart
5a618a14c6
Applied patch [ 708377 ] Make NET (smapi.cpp) UNICODE compatible
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 10:42:56 +00:00
Julian Smart
333a6456b9
Fixed the wxX11 crash bug on opening a dialog that has a parent,
...
by only refreshing subwindows that are not top level windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 10:20:46 +00:00
Julian Smart
695c21b118
Unicode-enabled the STC sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 09:09:06 +00:00
Vadim Zeitlin
736f28f8d8
corrected description of auto-created wxConfig ownership (patch from bug 706868)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 23:20:21 +00:00
Vadim Zeitlin
49fca29840
backport wxFileConfig fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 22:16:59 +00:00
Vadim Zeitlin
128e0251fe
fixed problem of deleting an entry added to an initially empty root group
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 22:16:23 +00:00
Vadim Zeitlin
3908fe9b00
corrected a slightly confusing wxTE_LEFT/CENTRE/RIGHT styles description
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 21:21:25 +00:00
Mattia Barbon
d03bb63c48
Remove dulicated call to wxBitmap::Init/CleanupStandardHandlers,
...
which is already called from a module in bmpbase.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 20:59:59 +00:00
Mattia Barbon
be05eab690
wxMotif does not have wxBitmapDataObject.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 20:57:48 +00:00