Commit Graph

5163 Commits

Author SHA1 Message Date
Ove Kaaven
e9fa75816c Split "?:" into "if" statement for assignment of converted buffers,
so Borland C++ 5 accepts compiling it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 02:23:42 +00:00
Ove Kaaven
5b73520279 Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 02:20:03 +00:00
Ove Kaaven
f37736559d Make this compile in Unicode mode under Borland C++ 5.02
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 02:19:07 +00:00
Ove Kaaven
f5166ed458 Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 02:14:45 +00:00
Václav Slavík
15b83243e8 refreshed makefiles to be in sync with filelist.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 23:32:08 +00:00
Vadim Zeitlin
74a533f7e9 moved wxCalendarCtrl code from control sample to a new one - calendar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 23:21:51 +00:00
Vadim Zeitlin
4f6aed9c6a 1. wxDateTimeHolidayAuthority class for calculating the holidays added
2. wxCalendarCtrl adjustments and some new features


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 23:17:55 +00:00
Robert Roebling
c88275cb7d Documented wxMutexGuiEnter etc and thread sample.
Also found out that you cannot create top-level windows
    in a GUI thread other than the main one. No idea why.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 21:52:18 +00:00
Václav Slavík
548cadfd42 added encconv.h -- I forgot to do so, sorry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 19:51:38 +00:00
Václav Slavík
afc94fa6b4 wxLocale now uses wxEncodingConverter (must be explicitly enabled)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 19:51:30 +00:00
Václav Slavík
82545b58f4 wxFontMapper now cooperates with wxEncodingConverter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 19:51:15 +00:00
Václav Slavík
47e55c2f11 added wxEncodingConverter::Convert(char*,wxChar*) and variants ; filled equivalence tables ; GetAllEquivalents now returns semi-sorted array (platfrom equivs, then rest of world)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 19:51:09 +00:00
Václav Slavík
5b5d025c1d added wxEncodingConverter::Convert(char*,wxChar*) and variants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 19:51:04 +00:00
Karsten Ballüder
24e1f1ca21 linux fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 18:45:14 +00:00
Robert Roebling
cddfbd9f55 Some more samples documented etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 18:13:45 +00:00
Robert Roebling
07f5b19a15 wxSpinCtrl no longer emits event when changed programmatically.
Some GUI thread things and tests,
  Change for borders around cmposite controls.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 16:25:28 +00:00
Václav Slavík
169267e61f fixed typo wxUSE_ENCODING shuold be wxUSE_UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 14:11:49 +00:00
Robin Dunn
f0b0b7d4b8 Fixes to avoid an endless event looping for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 05:26:21 +00:00
Robin Dunn
f4abae9cd7 SWIG code updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 05:24:06 +00:00
Robert Roebling
0279e84482 Some Resize/GetBestSize() changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 23:21:04 +00:00
Václav Slavík
f22e0c3c3f wxFileSystem now compiles if wxUSE_HTML (required by wxHTML)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 16:43:54 +00:00
Julian Smart
b40b0f5b20 Updated wxvc_dll.dsp and memory.h to make VC++ compile in DLL mode again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 12:24:35 +00:00
Václav Slavík
17e799185b documented wxMB_DOCKABLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 11:50:33 +00:00
Václav Slavík
357d660c90 added 'document wxSpinCtrl & wxFontMapper' to TODO list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 11:50:27 +00:00
Václav Slavík
ff83a7701c fixed #pragma implementation/interface numdlgg.h to numdlgg.cpp ; fixed bug: spincontrol ignored min and max values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 11:50:21 +00:00
Václav Slavík
70be2567de replaced occurences of \_ by _ in verbatim environment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 11:50:11 +00:00
Robin Dunn
d59efe01ea Fix for differences of when the ECT_WINDOW_CREATE happens between
wxMSW and wxGTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 09:34:52 +00:00
Robin Dunn
1b55cabf50 Added wxEditor from Dirc Holtwic
Some tweaks and fixes
Some distrib updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 08:29:02 +00:00
Václav Slavík
a5e3f3e9fa added wxEncodingConverter; added imagpnm.cpp and imagpcx.cpp to wxvc_dll.dsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 00:35:19 +00:00
Václav Slavík
c958260b38 added wxEncodingConverter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 00:35:13 +00:00
Václav Slavík
a66fa4a84b added wxFONTENCODING_UNICODE -- for use with wxEncodingConverter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 00:34:32 +00:00
Václav Slavík
a50a288b95 added wxEncodingConverter - original tables from ftp.unicode.org - ISO, windows and KOI8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 00:34:02 +00:00
Václav Slavík
045c4fab85 added wxEncodingConverter - scripts for creating convertion tables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 00:33:41 +00:00
Guilhem Lavaux
2de89127de Moved fix to sndg72x.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 18:43:12 +00:00
Guilhem Lavaux
d6f941fdda Fix for MINGW32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 18:38:22 +00:00
Vadim Zeitlin
0185cd0978 added support for several new events in wxCalendarCtrl: clicking on week
days in the header, double clicking


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 18:21:42 +00:00
Vadim Zeitlin
13111b2ac8 1. many, many, many warnings fixed (from HP-UX build log; 50% are still left)
2. attempt (failed) at compiling wxGTK with GTK+ 1.3.0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 17:51:26 +00:00
Robert Roebling
ce6d2511f8 Removed two more GUI lock-ups. This time when
using on-GUI threads and sending event.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 12:02:57 +00:00
Vadim Zeitlin
1a8557b143 added wxCAL_MONDAY/SUNDAY_FIRST flags and Ctrl-Home/Right/Left and Home/End keys
handling


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 00:31:36 +00:00
Vadim Zeitlin
882a8f40e2 wxCalendarCtrl works under MSW too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 23:34:18 +00:00
Robert Roebling
5d5b3a40f3 Corrected miniframe.
Changed wxTB_HORIZONTAL to be wxHORIZONTAL, not wxVERTICAL..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 22:12:42 +00:00
Robin Dunn
54b9688254 Enabling the use of masks for wxGTK in some of the demos
wxWindow.GetHandle returns the X-Window instead of the GtkWidget
pointer so the X-Window can be given to other Python modules such as
VTK.

wxPython.lib.vtk updated to get the window handle at widget creation
instead of in the constructor.

other updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 22:10:32 +00:00
Robin Dunn
cfe17b7435 Fixed wxWindowCreateEvent and wxWindowDestroyEvent to set m_eventType
so the events can actually be caught by a handler.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 22:07:53 +00:00
Robert Roebling
15807266c6 IsExposed() corrections in calendar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 21:03:36 +00:00
Robin Dunn
3af4e610b1 Added some missing EVT_ functions
Fixes to wxPython.lib.wxCalendar for new toolbar and region code
other fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 20:07:27 +00:00
Vadim Zeitlin
0148fe1e2a wxMotif::wxControl() ctor added, now wxCalendarCtrl compiles ok
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 19:34:38 +00:00
Vadim Zeitlin
9d9b77552e 1. wxCalendarCtrl
2. several wxDateTime bugs corrected, a couple of missing functions added
3. GetBestSize() corrections for several wxGTK controls
4. wxStaticLine doesn't get focus any more under MSW
5. added DoMoveWindow() to wxMotif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 19:18:01 +00:00
Robert Roebling
924ef85080 GUI thread update and event corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 17:16:55 +00:00
Julian Smart
e12be2f7fb Tidied some doc references; added Stefan's Blit optimisation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 14:21:38 +00:00
Robert Roebling
29b5bcd515 Doc correction for wxScrollWinEvent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 12:52:22 +00:00