Commit Graph

5245 Commits

Author SHA1 Message Date
Ove Kaaven
ef8b2d9165 Better make it a const reference then.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 20:00:44 +00:00
Ove Kaaven
571f8dae5e Make wxColour parameter be passed by reference to inline method,
so it can be inlined by BC++.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 19:57:59 +00:00
Ove Kaaven
380d9d6297 Cast both operands of ?: to (wxControl*) so BC++ compiles it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 19:31:02 +00:00
Robin Dunn
f2a497dcf9 Made wxEditor constructor args consistent with other window classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 19:30:51 +00:00
Ove Kaaven
46f9bb9475 Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 19:15:43 +00:00
Ove Kaaven
0413cec527 Unicode compilation fixes for BC++ 5
(BC++ 5 mostly doesn't cope with the wxString == char* operation)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:58:57 +00:00
Ove Kaaven
08298395b2 Those wxTRACE_* string constants appears to need wxT()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:53:10 +00:00
David Webster
eda22ec3a2 Need LINKAGEMODE for Visualage C++ compiles on the static global procs at the top
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:52:29 +00:00
Ove Kaaven
5d368213ca Halved DEFAULT_ITEM_WIDTH so default sizes resembles wxGTK better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:51:22 +00:00
Ove Kaaven
a8ee71c702 BC++ 5 does not have Unicode version of GetProcAddress.
Giving it a plain ASCII string in an #if


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:48:02 +00:00
Ove Kaaven
0e89bb17e8 Another Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:44:32 +00:00
Robert Roebling
4a0c68a70b Distrib things.
Readded resource support.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:41:14 +00:00
David Webster
5747aa84c1 Updated config files for VisualAge C++ V4.0 to include new sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:26:07 +00:00
David Webster
aa2097dda2 Fixes to get library to compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:25:26 +00:00
David Webster
d8cde57b83 Two new font implementations for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:24:58 +00:00
David Webster
55cca86849 small updates for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:24:10 +00:00
David Webster
b8f72dedd3 no enums with commas past last element, please
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:22:51 +00:00
Vadim Zeitlin
bc385ba9eb 1. corrections for compilation of the wxBase apps with wxApp
2. wxCAL_NO_MONTH/YEAR_CHANGE styles implemented, cosmetic corrections
3. attempt at BC++ compilation fix


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 17:51:24 +00:00
Robert Roebling
44762a6a87 Forgot these.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 17:13:01 +00:00
Robert Roebling
1e8d2f694e Distrib things,
Fixed typo in wxCheckListBox.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 17:11:48 +00:00
Václav Slavík
7e949b437c now grabs encoding info not from but from '' (empty string) -- default po header (mo catalog must be, of course, contain the header)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 14:27:24 +00:00
Václav Slavík
94fc5183e9 Borland #include hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 14:27:17 +00:00
Guillermo Rodriguez Garcia
6e7cdb7696 Add default size for slider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 14:10:36 +00:00
Robert Roebling
b919f007af Corrected some things in, and some thing revealed by
the Life! sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 13:45:20 +00:00
Vadim Zeitlin
6809ee4b8e makegen program for makefile generation for the samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 13:45:00 +00:00
Vadim Zeitlin
273b7ed9d0 makefile for the calendar sample as generated by makegen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 13:36:21 +00:00
Robert Roebling
33720b2de5 Corrected spin control, which ignored hand typed text.
Corrceted GetBestSize() etc of static text (displayed
    in tip dialog and elsewhere).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 11:42:49 +00:00
Vadim Zeitlin
312cd9e93d O_BINARY added to wxFile::Create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 10:32:19 +00:00
Guillermo Rodriguez Garcia
1bdda41cff bmps and ico added as binaries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 09:05:38 +00:00
Guillermo Rodriguez Garcia
faad32e5ab ups; must add as binary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 09:04:53 +00:00
Guillermo Rodriguez Garcia
5a1dca125f Life!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 08:56:57 +00:00
Ove Kaaven
cbf97a6cd6 Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 02:24:26 +00:00
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