Commit Graph

16635 Commits

Author SHA1 Message Date
Julian Smart
61bfe4b0ca Use wxDateTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 09:15:01 +00:00
Václav Slavík
5175dbbd9f fixed DrawTextFormatted to work in O(n) instead of O(n^2) if the text doesn't fit into the column
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 23:21:47 +00:00
Stefan Csomor
427ff66291 wxMac Unicode support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 20:33:32 +00:00
Stefan Csomor
44c44c82a3 wxMac Unicode support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 20:21:51 +00:00
Mattia Barbon
3dd709d8c3 FIxed wxRadioBox::Get/SetLabel.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 20:17:27 +00:00
Stefan Csomor
c4e41ce37a wxMac Unicode support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 20:14:39 +00:00
Václav Slavík
76806f5906 fixed loading of resource from ZIP files on MacOS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 20:06:20 +00:00
Mattia Barbon
aae91497f6 Removed some old cruft from wxBitmap, moved wxMotif- and
wxControl-specific functionality (GetXXXPixmap) into a separate
class, and fixed the implementation. Adapted wxStaticBitmap,
wxBitmapButton and wxToolBar to the new situation.
  Various fixes to wxToolBar: Realize does not create buttons
multiple times anymore, use the disabled bitmap as the disabled
bitmap, not as the toggled bitmap for toggle buttons (!),
reposition buttons/controls when a tool is removed/deleted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 19:40:32 +00:00
Mattia Barbon
fc7ca9b347 Made wxMotif Move/SetSize/DoMoveWindow/DoSetSize
behaviour more consistent with other ports. As a side effect
now wxCalendarControl works correctly under wxMotif, too.
  Fixed wxWindow::ScrollWindow drawing artifacts when child
controls are involved.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 19:34:10 +00:00
Vadim Zeitlin
9ec1ed2a7e corrected the test for number of processors under Linux
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 13:00:04 +00:00
Robin Dunn
2b9e4799b9 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 22:46:58 +00:00
Robin Dunn
3856ee0ba4 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 22:46:07 +00:00
Robin Dunn
3100de9921 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 22:45:47 +00:00
Mattia Barbon
2187eef5bb Calling a virtual function from a destructor is not good:
rearranged code to avoid it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 22:22:55 +00:00
Mattia Barbon
d8d1818419 SetSelection must not send an event. Fixed an off
by one index, and a crash (probably a Motif bug).
  Improved wxSpinButton appearance.
  Fixed some build warnings here and there in the samples,
removed use of deprecated wxList methods in prntdlgg.cpp, fixed
aot-of-range ID in tipdlg.cpp, fixed some errors detected by
valgrind.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 22:20:59 +00:00
Robin Dunn
6789bce964 Typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 21:58:31 +00:00
Robin Dunn
e0fb15a1c3 wxMac uses wxCursors now too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 21:57:43 +00:00
Robin Dunn
2d13837901 GetValue is pure virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 20:49:14 +00:00
Robin Dunn
bf78c81c04 wxImageHistogram needs WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 20:43:09 +00:00
David Elliott
8b611f0eb2 Wrap file with #if wxUSE_SLIDER ... #endif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 19:59:07 +00:00
David Elliott
8dfc2d9896 Use #if wxUSE_GAUGE instead of #if 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 19:56:29 +00:00
Mattia Barbon
ba2fcb0711 Fix wxSocket under wxMotif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 18:32:58 +00:00
Mattia Barbon
51d5ec5408 Compilation fix for non-PCH compilers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 18:31:33 +00:00
David Elliott
c176a11a0e Changed #if wxUSE_NEW_GRID to #if wxUSE_GRID (there is no more new grid)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 18:09:28 +00:00
David Elliott
27397d6682 Implement wxExecute with proper callback on Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 17:53:12 +00:00
David Elliott
c8023fed76 - Added wxAddProcessCallbackForPid function
- Don't create pipeEndProcDetect on Darwin
- Initialize the wxEndProcessData before installing the callback
- Implement wxAddProcessCallbackForPid for Darwin, the code started life
  as an example from ADC and certainly has its fair share of race
  conditions, but with a few hacks it seems to be working okay.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 17:46:14 +00:00
Julian Smart
9c712743cb Correction to splittree; removed newgrid sample reference from index.htm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 14:13:07 +00:00
Vadim Zeitlin
e08a9b55e6 finally this translation uses traditional Chinese, not simplified (renamed old zh_CN)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 11:13:04 +00:00
Robin Dunn
a95e8d8b8c wxMac does need radiocmn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 04:10:06 +00:00
Robin Dunn
9cbf6f6ea3 Tweaks for various diffs from 2.4.0 to current HEAD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 01:41:21 +00:00
Robin Dunn
fc0821b650 Fix broken binaries...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 01:26:38 +00:00
Robin Dunn
7e50db3f1d SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 21:53:30 +00:00
Robin Dunn
7108497a54 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 20:37:50 +00:00
Julian Smart
1adff2f56f Use virtual functions to help splittree work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 18:49:34 +00:00
Robin Dunn
26b8693ba5 fixed compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 17:10:57 +00:00
Vadim Zeitlin
446a798ddc renamed Catalan and Chinese translations to the correct names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 11:47:45 +00:00
Julian Smart
bcd44ac1b0 Removed odbc.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 11:46:29 +00:00
Robin Dunn
230e09add6 Added file for xrc splitter support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 07:06:20 +00:00
Robin Dunn
b67a932778 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 07:04:05 +00:00
Robin Dunn
b9ac87bc5c Removed deprecation warnings in OGL and Gizmos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 06:58:05 +00:00
Robin Dunn
1e4a197e4c Merged wxPython 2.4.x to the 2.5 branch (Finally!!!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 06:35:27 +00:00
Vadim Zeitlin
9b4e3f352b call wxApp::OnExit() when wxExit() is called and don't do wxLogError from it (replaces patch 709142)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 01:51:11 +00:00
Vadim Zeitlin
f0fe27a041 added Catalan translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 23:12:45 +00:00
Vadim Zeitlin
d80f416f62 use StretchDIBits() if we're drawing a DIB and not a DDB in Blit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 23:10:41 +00:00
Vadim Zeitlin
2f52b4e15c use wxDIB class instead of duplicating DDB -> DIB conversion code once again (aaaargh, just how many copies of the same code with slightly different bugs in each case can we have??)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 23:07:53 +00:00
Vadim Zeitlin
cdd732de07 added test for Remove() and Replace() (patch 705051 from Nerijus)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 23:04:38 +00:00
Vadim Zeitlin
581ee8a9c5 implemented Remove() and Replace() for GTK2 (patch 705051 from Nerijus)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 23:03:19 +00:00
Vadim Zeitlin
82ac3b0a42 wxDIB::Create(wxBitmap) shouldn't do any conversions if the bitmap is already a DIB section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 22:58:50 +00:00
Vadim Zeitlin
9cf743aa7f oops, forgot default value for MemoryHDC ctor parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 22:48:54 +00:00
Vadim Zeitlin
697b08a89a MemoryHDC can now be used to create DCs compatible with arbitrary DCs and not just the screen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 22:32:56 +00:00