Compare commits

...

357 Commits

Author SHA1 Message Date
Bryan Petty
185c47c9ad This commit was manufactured by cvs2svn to create tag 'WX_2_3_3'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/WX_2_3_3@17244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 23:24:39 +00:00
Stefan Csomor
bf4a027ddb added arrow cursor for standard controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 18:32:49 +00:00
Vadim Zeitlin
418b74a078 don't mention GUI-only changes in the base section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 18:17:32 +00:00
Vadim Zeitlin
00fd036c18 updated the build technote and the technote index; removed obsolete and incorrect technote
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 18:17:02 +00:00
Vadim Zeitlin
a23eb2cecb regenerated (doesn't include mdig.cpp any more)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 18:16:21 +00:00
Vadim Zeitlin
50b4dd1c95 don't include headers which were excluded for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 18:15:56 +00:00
Vadim Zeitlin
cb84e27d14 no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 18:15:39 +00:00
Václav Slavík
799cea0031 fixed two-step creation of wxCheckListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 18:07:32 +00:00
Václav Slavík
86118733af updated wxTreeCtrl styles in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 18:06:55 +00:00
David Webster
cfc82bcb2e OS/2 will not support a mini-frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 17:31:29 +00:00
Vadim Zeitlin
0a615ec196 include execcmn.cpp in the distribution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 17:20:58 +00:00
Vadim Zeitlin
db82f09ecb include -pthread in LDFLAGS and not LIBS as the latter doesn't appear in wx-config output unless --static is given
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 17:20:14 +00:00
David Webster
92ac4cdc8c Make OS/2 use the generic MDI.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 17:18:59 +00:00
Vadim Zeitlin
4769a56275 compilation fix for !MSVC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 15:21:52 +00:00
Julian Smart
c057a510d6 Tweaks to the announcements, including adding some
kudos


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 14:41:56 +00:00
Julian Smart
b4d0ec4edc Script tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 10:27:43 +00:00
Julian Smart
64b73f1a2e Added a couple more build starter scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 10:24:09 +00:00
Julian Smart
befe9ee1ca Updated makewx... scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 10:15:06 +00:00
Stefan Csomor
5715cc1bed merged deleted code back
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 07:30:59 +00:00
Stefan Neis
39b80349a1 Applied revised patch 606235 (Cell overflow refresh fixed).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 00:29:49 +00:00
Vadim Zeitlin
e52d9c784e we do want arrows even in a read only text ctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 21:37:28 +00:00
Vadim Zeitlin
2499871095 recreate the toolbar entirely when its text/icons style changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 21:36:18 +00:00
Robert Roebling
7b35aa40a0 Compile fix for the iPaq. No idea why.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 21:35:08 +00:00
Vadim Zeitlin
dd46ee66e5 no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 21:34:59 +00:00
Vadim Zeitlin
d45720c55f set size if it's initially == wxDefaultSize() in MSWCreateControl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 21:07:49 +00:00
Robert Roebling
0dd6e08c53 Updated some comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 20:49:50 +00:00
Vadim Zeitlin
eb1ab6f915 printf() format warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 18:38:31 +00:00
Robert Roebling
c5cf1acc55 Added spec file for wxX11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 18:35:10 +00:00
Robert Roebling
75378e31e9 Added make dist for wxX11 to makefile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 18:34:28 +00:00
Robert Roebling
1c393e484d Added todo file for wxX11. Empty still.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 18:33:46 +00:00
Julian Smart
cc02b6457a Added back the missing wxDash line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 17:28:12 +00:00
Julian Smart
e438abe584 BC++:
Disabled precompiled headers for png library,
since it seemed to mess up compilation
Moved EXTRACPPFLAGS to end of command line so they
override current settings


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 17:23:21 +00:00
Robert Roebling
3be6aea994 Enable execute code for Unicode. This also makes
printing to the printer work in Unicode mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 15:00:49 +00:00
Gilles Depeyrot
29ee95e8bc added missing wxSTD for cout/endl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 09:35:50 +00:00
Julian Smart
b55a176b25 Applied patch [ 608876 ] Improvements to installation docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 08:31:23 +00:00
Gilles Depeyrot
892bf376e9 don't override INSTALL as install path is made absolute in configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 05:56:49 +00:00
David Webster
ac7f882683 new module def file for .dll build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 02:11:14 +00:00
David Webster
e225b106d9 OS/2 update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 02:10:24 +00:00
David Webster
b7282ad267 TRUE not true; FALSE not false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 02:09:52 +00:00
Ron Lee
21e3b8620a define the undefined wxThePrintSetup global.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 00:15:30 +00:00
Václav Slavík
4356ee76a5 another fix for wxSnprintf_
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 23:22:30 +00:00
Robert Roebling
e32f3f4740 Backward comp. fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 22:02:14 +00:00
Robert Roebling
47dc9f7871 Further backward comp. changes for printing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 22:00:45 +00:00
David Webster
774468bd68 Weekly catch-up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 20:57:37 +00:00
Mattia Barbon
79668caec9 Fixed MinGW/configure/Unicode compilation: MinGW/MSVCRT vswprintf does not
behave like other vswprintf; under Win32 you really want _vsnwprintf.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 20:23:36 +00:00
Václav Slavík
df93d8bab7 added some missing styles to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 17:22:34 +00:00
Julian Smart
fe5de1ea10 Applied patch [ 608370 ] fix for static text sizing behaviour
wxStaticText is meant to resize when SetLabel is called
unless the flag wxST_NO_AUTORESIZE is used when
creating it. Motif currently ignores this flag and always
resizes the control.
The attached patch provides a wxStaticText specific
override of SetLabel() which honours the resize policy
requested via the wxST_NO_AUTORESIZE flag.

I have tested on AIX 4.3 which is Motif 2.1


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 13:17:12 +00:00
Julian Smart
8b5be08a09 Applied patch [ 608850 ] wxX11 menu accelerators need toupper
Olly Betts

Letter menu accelerators (with and probably without
modifiers) don't work unless you have capslock on.
Adding a call to toupper() to the appropriate spot fixes
this (wxGtk does toupper in this case already).

Applied patch [ 608530 ] wxX11 doesn't set argv[argc] to NULL

Olly Betts

The code which creates argv under wxX11 doesn't add a
terminating element with value NULL - user code which
expects this (it's true for C/C++ argv) will fail.

Here's a patch to correct this.

I've checked the other versions of app.cpp and they all
get this right.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 13:12:46 +00:00
Julian Smart
6500c0b134 Updated Mingw32 install text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 09:29:46 +00:00
Julian Smart
564098605f Small updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 22:25:56 +00:00
Julian Smart
2c00930d43 Corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 20:55:05 +00:00
Julian Smart
c721300b59 Added unix2dos.c utility
Fixed doc typos


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 20:16:53 +00:00
Vadim Zeitlin
307b0b97ee undid previous commit, the person who reported it retracted his claim
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 20:15:51 +00:00
Julian Smart
d4f6a3a014 Added utility to convert filenames to lower case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 20:11:31 +00:00
Vadim Zeitlin
8a646b6b9f include stddef.h to get ptrdiff_t decl (IRIX compilation problem)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 19:59:04 +00:00
Vadim Zeitlin
4ea2c29f51 make wxFile::Exists() use wxFileExists(): this avoids code duplication and should make wxFile::Exists() work with UNC paths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 19:32:29 +00:00
Vadim Zeitlin
58071ea008 fix for cygwin warning in winsock.h about sys/types.h from Dimitri
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 13:48:55 +00:00
Julian Smart
629724b6b8 Corrected typo that prevented mdig.h being copied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 13:48:23 +00:00
Jouk Jansen
b2da87c316 Committing in .
Silence OpenVMS warnings

 Modified Files:
 	wxWindows/src/motif/spinbutt.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 13:32:49 +00:00
Julian Smart
d9d3622e59 If a window has zero dimension, make it at least 1 pixel big
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 11:11:34 +00:00
Julian Smart
0fd28ea3df Don't compile crit. section code on Mac yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 08:51:01 +00:00
Vadim Zeitlin
66bd58e8a6 gtk2 Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 23:29:22 +00:00
Stefan Neis
e32c4e6082 Integrated fixes from latest UNIX version.
Removed some debug output.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 23:26:49 +00:00
Vadim Zeitlin
5005acfef5 show correct message when running configure for the switches which are on by default (such as --enable-compat22)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 23:21:55 +00:00
Stefan Neis
dc1f566f6a Applied patch 606235 (Cell overflow refresh fixed).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 22:28:20 +00:00
Robert Roebling
009a066588 Readded deprec. constructor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 22:03:29 +00:00
Stefan Neis
d57ad37701 Fixed CoordToRowOrCol according to Patch 607387.
Reverted the "Prevented dragging dividers outside cells" change which just
        worked around the symptoms of the bug in CoordToRowOrCol.
Removed posssibility to resize columns even from below the grid or rows from
        the right of the grid - that kind of "dragging dividers" wasn't even
        prevented by the previous change (according to Patch 607387).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 21:44:16 +00:00
Robert Roebling
81a0614bf2 The old fix for combobox doesn't seem to be needed
anymore and it did make the lnf unattractive.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 21:12:10 +00:00
Robin Dunn
47a06a26bd SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 20:19:33 +00:00
Julian Smart
6886fcfafe Applied [ 585322 ] motif border style fix for statictext
Applied fix to broken wxStaticText


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 19:25:00 +00:00
Julian Smart
a8de819021 Typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 19:20:11 +00:00
Robin Dunn
e7d073c376 Fixed some off-by-one and other issues with drawing the HRULE/VRULE
lines.  Made the VRULEs line up with the column header splitter
lines.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 18:36:55 +00:00
Robin Dunn
d25a60983c Show how to use images in the virtual list control demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 17:25:53 +00:00
Julian Smart
31370adbc1 Another try at committing this
Reverted previous 'fixes' now that the array bug has been cured
Prevented dragging dividers outside cells (this would cause an assert)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 14:19:08 +00:00
Julian Smart
5cc241c6ff Reverted previous 'fixes' now that the array bug has been cured
Prevented dragging dividers outside cells (this would cause an assert)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 14:14:35 +00:00
Julian Smart
dcdce64e66 Reverted previous 'fixes' now that the array bug has been cured
Prevented dragging dividers outside cells (this would cause an assert)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 14:12:48 +00:00
Vadim Zeitlin
70f2e88c6b removed wcslen() implementation, it is now inline in wxchar.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 12:33:52 +00:00
Vadim Zeitlin
f8d791e0a4 src/common/strconv.cpps/wcslen/wxWcslen/g
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 12:33:01 +00:00
Julian Smart
ce68ad2572 Replaced wcslen with wxWcslen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 11:28:51 +00:00
Stefan Neis
a1db4ad4a4 Fixed bug in Grow function (possibly not allocating enough memory if starting
with empty array).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 10:29:28 +00:00
Robin Dunn
b00e9f10c7 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 01:14:18 +00:00
Robin Dunn
2936eaf046 Change needed for when the COMPATIBILITY flags are off.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 01:08:02 +00:00
Robin Dunn
e7163afc45 PyCrust tweak to allow it to work with older Scintilla's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 01:00:43 +00:00
Robin Dunn
f114b8580b Update to Scintilla 1.48
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 01:00:07 +00:00
Vadim Zeitlin
f1389d464a Windows and Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 23:27:24 +00:00
Václav Slavík
5e6f681dd8 added Turkish translation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 22:31:19 +00:00
Julian Smart
c5a7ca8689 Now cleared array elements of arrays before calling Empty(),
after suggestion by John Labenski.
I don't know why this should cure the memory problem,
but it seems to.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 20:31:02 +00:00
Vadim Zeitlin
6ba7c06eee declare wxEntry() as taking char **Argv, not char *argv[]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 17:35:07 +00:00
Julian Smart
7f93875dfe Applied patch [ 606713 ] Removes a warning from cygwin build
When building using Cygwin+gcc3.1.1 I get the following
warning:

"src/msw/app.cpp:122:25: warning: shlwapi.h: No such
file or directory"

(It seems strange to me that it's a warning instead of an
error?)

The attached patch adds a conditional case for
__CYGWIN__ when including shlwapi.h. (I hope I did it
the proper way, the #if's regarding build system setup
get a bit lengthy at times, I didn't see a shortcut for this
however)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 13:54:35 +00:00
Julian Smart
64e15340d0 Applied patch [ 607261 ] Fix: wxGrid: row and cell selection
This is a patch against version 1.222 of
src/generic/grid.cpp.

1. The patch contains a fix for the row selection as
mentioned by me on the wx-dev mailing list. After
selecting one row and deselecting it no new row
could be selected.
2. Another change has been made to the function
CoordToRowOrCol() and addresses an error mailed
to wx-dev by John Labensky. The error was that no
cell could be selected until a horizontal and vertical
resize of at least one cell has been made. The error
was that the function could not handle grids with
default row or columns sizes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 13:50:52 +00:00
Vadim Zeitlin
69c14ebe01 uncomment SetMargins() call which works now (the person who commented it out probably did know about the bug, but chose to change the sample instead of fixing the code...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 13:40:55 +00:00
Vadim Zeitlin
df17b887ee added a possibility to pull in printf() code for testing opurposes even if we don't really need it by defining wxTEST_PRINTF; fixed unknown format handling in wxVsnprintf(); do NUL-terminate the strings in wxVsnprintf()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 13:39:16 +00:00
Vadim Zeitlin
706f30f83c clarification of Set/GetTitle() with respect to popup menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 13:37:08 +00:00
Vadim Zeitlin
7aeebdcd3d added printf() test suite
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 13:36:40 +00:00
Vadim Zeitlin
66ee25523a fixed ATTRIBUTE_PRINTFs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 12:55:25 +00:00
Vadim Zeitlin
69429a166f compilation fix for cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 11:54:47 +00:00
Vadim Zeitlin
9b11cb6e3f fixed stream code breakage caused by the previous check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 11:45:10 +00:00
David Webster
a579926062 Bmpbuttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 03:46:22 +00:00
Václav Slavík
fbd9040196 applied patch #606835, bugfix to wxHtmlHelpFrame::OnActivate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 22:32:19 +00:00
Gilles Depeyrot
ab958adb1e use RemoveAt instead of Remove
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 20:27:54 +00:00
Mattia Barbon
576acdf322 Fixed MinGW/ANSI (and probably any other C++ compiler, excluding, of course,
MSVC 5, with which I tested my changes) breakage.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 17:35:10 +00:00
Julian Smart
9bbfd96101 Added widgets sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 15:37:58 +00:00
Vadim Zeitlin
c8921892b5 removed C++ comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 13:36:57 +00:00
Vadim Zeitlin
e9561b3b2b removed a trailing comma from enum (this is an error for some compilers)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 13:27:07 +00:00
Vadim Zeitlin
1e4709b330 wxDialog doesn't derive from wxPanel nor accepts wxDIALOG_MODAL/MODELESS styles; also mentioned that modal dialogs can be created on the stack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 13:20:38 +00:00
Julian Smart
cfce733e17 File for notes about publicity, incl. newsgroups for announcements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 12:06:20 +00:00
Julian Smart
a9ddd4437d Tweaks to the announcement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 11:49:13 +00:00
Julian Smart
c5f5904385 Script updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 11:25:22 +00:00
Gilles Depeyrot
4f57cf112e -D_INCLUDE_LONGLONG for HPUX long long definitions in system headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 09:33:52 +00:00
Julian Smart
af8fe02387 Added distribution scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 09:28:25 +00:00
David Webster
db16e5c3aa Bitmap button updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 03:08:12 +00:00
Vadim Zeitlin
4147efe9ab fixed bug in parsing formats in which fields don't have any non-numeric delimiters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 23:12:19 +00:00
Vadim Zeitlin
ee3ef2817f variosu fixes to the tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 23:11:18 +00:00
Mattia Barbon
b1a046e821 Fix wxSnvprintf (and hence wxString::Format) for Unicode, when using
the wxSnvprintf in wxchar.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 22:52:59 +00:00
Václav Slavík
197b162641 compilation fixc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 22:12:09 +00:00
Václav Slavík
a4000ca2b7 another false statement corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 22:11:54 +00:00
Vadim Zeitlin
0c61716c79 fixed Printf() format spec warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 18:11:02 +00:00
Vadim Zeitlin
e91d2033ee fixed Printf() format spec warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 18:00:48 +00:00
Julian Smart
6b978929d5 Added a note about bug in Mingw32 headers.
Other Mingw32-related fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 14:46:17 +00:00
Julian Smart
cd6b752b83 Renamed duplicate style variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 14:10:22 +00:00
Vadim Zeitlin
cabf185cd2 define HAVE_EXPLICIT for BC++ >= 0x520
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 12:55:37 +00:00
Stefan Neis
6eb280e956 Added yet another couple of missing includes (leading to linker errors).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 12:50:07 +00:00
Julian Smart
c4077b3424 Added a directory for sharing publicity resources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 12:35:21 +00:00
Stefan Neis
1a75e76f39 Added missing includes for non-precompiled headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 10:51:49 +00:00
Julian Smart
9aacdd48fb Changed syntax of test for -fvtable-thunks so it works.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 10:48:46 +00:00
Julian Smart
eaeeb91eb6 Added LV_ITEMA and used a #define for LV_ITEM to
avoid mysterious compilo under Mingw32 2.95.2
Added #defines for SHGetFileInfo for Mingw32 2.95.2
in volume.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 10:28:15 +00:00
Gilles Depeyrot
59b9a2607a path correction for wxMac using Apple Developer Tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 10:07:02 +00:00
Robin Dunn
22a3a1994c A refinement of my patch from Neil Hodgson
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 01:07:16 +00:00
Vadim Zeitlin
8255d371b6 added shell32.lib to wxBase link options
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:53:07 +00:00
Vadim Zeitlin
57e6713594 char -> wxChar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:49:48 +00:00
Vadim Zeitlin
72d35070d8 fixed (yet another?) crash in wxStrtok
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:49:26 +00:00
Vadim Zeitlin
7e92d86d78 don't #define wxStrtok() which takes 3 arguments as wcstok() which takes only 2, this can't compile in Unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:47:56 +00:00
Vadim Zeitlin
50ded68d38 corrected wxExecute() tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:46:38 +00:00
Vadim Zeitlin
011a524e9e corrected wxShell() ret code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:41:16 +00:00
Vadim Zeitlin
45d5a0c6d8 fixed wxExecute() for console programs (process messagse for the hidden window, don't hang)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:40:57 +00:00
Robin Dunn
b42ea279ce SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:38:34 +00:00
Vadim Zeitlin
a90253f00d correct compilation fix for the previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:29:08 +00:00
Vadim Zeitlin
456ae26d78 the sample now builds in Unicode mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:27:40 +00:00
Robin Dunn
923e5f56fc GetLanguageInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:11:00 +00:00
Robin Dunn
7d55cdc033 Compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 23:34:28 +00:00
Robin Dunn
1e6796a093 Some last minute little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 23:17:14 +00:00
Vadim Zeitlin
14f8fa9d7f added wxLocale::GetLanguageInfo()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 22:53:04 +00:00
Robin Dunn
27813df1f7 Better placement of the AutoComplete listbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 21:56:28 +00:00
Vadim Zeitlin
e9c54ec336 don't give empty message box if Parse(FALSE) was called and there was --help on the cmd line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 20:26:42 +00:00
Vadim Zeitlin
b35191eb54 don't overwrite the app name with argv[0] if it had been already set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 20:26:07 +00:00
Vadim Zeitlin
311da78ab0 show the app name in the title of wxMsgOut message boxes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 20:25:43 +00:00
Stefan Neis
2918e2d254 Added check for Refresh function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 20:16:02 +00:00
Stefan Neis
a66a391e70 Changed second parameter of Refresh to "const wxRect*".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 20:09:55 +00:00
Stefan Neis
bca7bfc878 Fixed Refresh to use a "const wxRect *" parameter.
Optimized Refresh rectangles for subwindows in Refresh.
Replaced DisableCellEditControl by HideCellEditControl in two places,
        where I explicitly didn't intent to store the editor's value.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 20:07:22 +00:00
Robin Dunn
790dbce337 wxHtmlWindow now grabs the focus when clicked on. (Didn't all windows
do this automatically in the past?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 19:25:34 +00:00
Vadim Zeitlin
9cedab372e made SetDirectory() work, minor code cleanup (much is left to do)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 19:24:45 +00:00
Vadim Zeitlin
5b636c67e2 added wxFileDialog::SetDirectory test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 19:24:17 +00:00
Robin Dunn
fb817e4c71 Fix off-by-one in vertical scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 19:01:32 +00:00
Vadim Zeitlin
080c709f70 fix for handling TAB presses in readonly text controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 18:38:25 +00:00
Vadim Zeitlin
9afe6c1750 applied the workaround for XUnionRectWithRegion() returning ampty result if the rect is empty to wxX11 and wxMotif as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 17:21:26 +00:00
Stefan Neis
c6707d16fe Tried to fix bug 603906 by modifying GetModelValues to disable editor.
Also save and disable editor in SetModelValues. However, I don't have
        a test case ...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 16:22:56 +00:00
Vadim Zeitlin
6ce16bdb55 don't send clicked event for wxID_CANCEL button when Esc is pressed unless such button really exists (and then send it to the right window!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 14:25:03 +00:00
Stefan Neis
aa5b885706 Commited John Labenski's patch giving access to the low level selection
representation (Patch 579754).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 13:58:25 +00:00
Stefan Neis
ecd69fb6e9 Applied patch showing off John Labenski's
cell overflowing and multi-cell handling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 13:46:57 +00:00
Gilles Depeyrot
d56c4286e3 display compilation warning under Mac OS X/Darwin for missing poll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 12:48:17 +00:00
Stefan Neis
7fbc642095 Fixed bug in CoordToRowOrCol.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 12:46:39 +00:00
Gilles Depeyrot
ab7ce33c56 disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 12:28:46 +00:00
Stefan Neis
3ed884a0b8 Some refresh optimizations.
Untabified.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 12:28:03 +00:00
Julian Smart
be604faa7b Fixed overlapping buttons in wizard on MacOS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 10:38:23 +00:00
Julian Smart
4e3ad7c095 Removed rundant files, updated readme.txt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 10:16:03 +00:00
Stefan Csomor
4d8ef9ec7d yet another code for wxMac properly resetting the cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 08:26:16 +00:00
Stefan Csomor
da4fe3f3d1 added code for wxMac properly resetting the cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 06:36:59 +00:00
Julian Smart
47610ec22a Added missing rejigged IPC Latex files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 22:38:25 +00:00
Julian Smart
9e04d98299 Adjusted filelist.txt and wxUniv.dsp to use generic
version of wxImageList.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 22:24:37 +00:00
Robin Dunn
0dacfc5ce4 Latest PyCrust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 21:24:51 +00:00
Robin Dunn
e37a28a0de The standalone PyShell and PyCrust apps need to set the focus to the
shell windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 20:03:03 +00:00
Julian Smart
4589ec39c0 Applied patch [ 549256 ] fix minor bug in widgets sample
Arnout Engelen

The EVT_TEXT_ENTER event will not be caught in the 'widgets' sample since the wxTE_PROCESS_ENTER wasn't set for the wxTextCtrls. For some reason this does work correctly in wxMSW without this flag set, which could be considered a bug or documentation bug.

This patch adds the wxTE_PROCESS_ENTER flag and thus fixes this minor bug.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 19:45:26 +00:00
Václav Slavík
3a9a01661a documented need to install ZIP handler
(Julian's claim in previous commit was incorrect, mine is not)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 19:03:36 +00:00
Robin Dunn
e9378bd661 Updated html version of stc.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 19:03:30 +00:00
Vadim Zeitlin
6a1359c0a5 fix for creating radio items in a toolbar with non zero margin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 18:28:58 +00:00
Vadim Zeitlin
8f262dc567 fix for radio items creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 18:23:09 +00:00
Robin Dunn
31988931ca Incremented preview number, reswigged a couple things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 18:01:04 +00:00
Vadim Zeitlin
9042a01738 fixes for reading bitmapswith BI_BITFIELDS (patch 597906)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 18:00:32 +00:00
Robin Dunn
42ba812b70 Updated to Scintilla from 1.45 to 1.47
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 17:11:52 +00:00
Robin Dunn
a834585d74 Updated to Scintilla from 1.45 to 1.47
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 16:59:31 +00:00
Mattia Barbon
b38f3ff378 Fixed bug with SetValue on read-only combobox; don't call ::SetWindowText,
use SetStringSelection instead.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 16:53:02 +00:00
Julian Smart
fc8eba27ef Removed #ifdef __WXMAC__ around dialog initialisation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 16:32:34 +00:00
Julian Smart
8dd8f87530 Applied patch [ 605592 ] Unicode patch for dirctrlg.cpp
Markus Greither

 just compiled the wxWindows CVS trunk using
BCC5.5.1 and UNICODE. I noticed a small bug in
girctrlg.cpp, that prevented compilation. There are more
such glitches in the wxGrid, but as I was running out of
time, I disabled this for now. Otherwise, compilation
worked fine and I was able to run the minimal sample
(using UNICOWS on my WIN98SE).

(I also corrected some wxGrid Unicode string typos -- JACS)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 14:42:47 +00:00
Julian Smart
9832266054 Corrected wxMenu::Append item symbol documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 12:19:25 +00:00
Chris Elliott
2dcd33c258 small bug fix for using multiple borland compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 10:51:49 +00:00
Julian Smart
07ed7e32ee Added another reference to adding the zip handler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 08:18:31 +00:00
Julian Smart
15f43e762c Added note about adding the zip handler when using wxHtmlHelpController.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 08:13:05 +00:00
Jouk Jansen
b2ddee86fe Committing in .
Updates for OpenVMS
 in utilsunx.cpp : OpenVMS does not have fork. So I use vfork there although
 the source warns me that it may be broken on some systems.

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/unix/utilsunx.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 06:10:53 +00:00
Robin Dunn
4ea97290b8 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 01:45:55 +00:00
Vadim Zeitlin
59d04dff03 fixed the width of the (week day as number) field, should be 1, not 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 23:33:42 +00:00
Václav Slavík
40dd6c07aa fix va_arg(.,short int) problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 23:02:56 +00:00
Robin Dunn
248bcf0aa5 Allow wxGTK's wxToolbar to catch the standard window events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 22:58:06 +00:00
Robin Dunn
4eb65923fc SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 21:40:34 +00:00
Robin Dunn
09cca25189 Added IsEditCancelled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 21:39:42 +00:00
Gilles Depeyrot
50bcbd3d0e corrected comments (should not be C++ style!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 21:04:29 +00:00
Mattia Barbon
11a2ce5ad2 XmNframeChildType is not in Lesstif if it was compiled with Motif 1.2
compatibility.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:57:34 +00:00
Mattia Barbon
79f1dd05ad Build without 2.2 compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:56:42 +00:00
Mattia Barbon
159f4b336e Revert apparently accidental commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:55:14 +00:00
Robin Dunn
da906b9742 Added effects.h to filelist.txt so it will get installed, fixed a
syntax problem in makeall.sh, regenerated all makefiles and etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:54:30 +00:00
Guillermo Rodriguez Garcia
aa6ca3dcc9 Solved problems with handling of LOST events on Unix platforms (reported
on wxGTK). Main symptoms were spurious CONNECT events being delivered when
a connection had failed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:49:18 +00:00
Robin Dunn
e26c13cffd Ensure -D_FILE_OFFSET_BITS=64 also gets on the command line when
needed, and also fix wx-config to output the largefile flags


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:12:08 +00:00
Julian Smart
ae31cc57f7 Eliminated unreachable code warning in VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:12:02 +00:00
Julian Smart
e11f2e1645 Applied patch [ 605188 ] Fix to draw 24 bit bitmaps
Derry Bryson

Fix to wxPrinterDC::DrawBitmap() to print 24 bit bitmaps
at 24 bits rather than 8 bits.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:59:34 +00:00
Julian Smart
dd23c25cde Applied patch [ 605189 ] add edit cancel notify to wxTreeEvent
Benjamin I. Williams

Currently there is no way of receiving notification
that a user cancelled an edit operation on a wxTreeCtrl
tree node label.

This patch adds a method "IsEditCancelled" to the
wxTreeEvent class. During an EVT_TREE_END_LABEL_EDIT
event, the programmer can now determine whether or not
the edit operation was cancelled by the user (by
pressing <ESC>).

This patch provides this implementation for both
wxMSW's wxTreeCtrl and the wxGenericTreeCtrl. Both
situations have been tested and work well.

The patch is not very invasive, and is much smaller
than I had expected.

Please see the relevent discussion on the wx-dev list
for more details.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:50:41 +00:00
Robin Dunn
67a92fff32 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:41:45 +00:00
Robin Dunn
fd512ba286 Various wxPython updates to go along with recent changes in CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:39:28 +00:00
Robin Dunn
d8f3f98359 Use the iconIndex in the default case too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:38:13 +00:00
Robin Dunn
db54b04615 Added some accessors for wxEffects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:37:25 +00:00
Robin Dunn
40716a510b some tweaks for LINK_LEXERS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:36:59 +00:00
Julian Smart
e015d1f7da Applied patch [ 603858 ] wxTextCtrl text alignment patch
Benjamin I. Williams

This patch implements three new flags for the
wxTextCtrl control. The flags are wxTE_LEFT,
wxTE_CENTRE, and wxTE_RIGHT. These flags can change
the way text is aligned inside an edit control, which
is useful when the user is editing numbers or dates.

At Vadim's recommendation, the patch implements the
alignment flags so they are equal to the corresponding
wxALIGN_* value. wxTE_LEFT is actually 0x0000, and is
just a place holder. wxTE_CENTRE is equal to
wx_ALIGN_CENTER_HORIZONTAL (0x0100), and wxTE_RIGHT is
equal to wxALIGN_RIGHT (0x0100). I couldn't agree more
with this idea.

As Vadim pointed out, choosing to set the text
alignment flags to the corresponding wxALIGN_* flags
has a slight negative side effect: the values 0x0100
and 0x0200 collide with the existing flags
wxTE_NO_VSCROLL and wxTE_AUTO_SCROLL. A valid point
was raised, however, which stated that the flags would
never really be used at the same time, and also that
wxTE_AUTO_SCROLL is (possibly) going to be deprecated
anyway.

While this collision is not really a problem, I didn't
like the idea of someone specifying wxTE_NO_VSCROLL and
ending up with with a centered text control ! Thus, I
chose to move both wxTE_NO_VSCROLL and wxTE_AUTO_SCROLL
down to the free bits 0x0002 and 0x0008, respectively.
I'll leave the final say up to Vadim and the rest of
you whether you want to move these flags down or keep
them where they are (with collisions). What truly
matters to me is that I can now create text controls
with the proper alignment!

This patch also updates the documentation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 16:15:30 +00:00
Gilles Depeyrot
85d5e282e9 -o flag must be after PIC flag for gcc under HPUX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 16:15:06 +00:00
Julian Smart
2385ec429a Added #include <ctype.h> since it seems to have
gone missing from this file for non-Unicode
cases.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 14:56:34 +00:00
Gilles Depeyrot
06313569d8 added -D_REENTRANT for hpux when threads are enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 13:59:18 +00:00
David Webster
5efff1479e Fix for child window positioning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 13:54:24 +00:00
Stefan Csomor
1b2a04da9a corrected code for doubles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 12:42:16 +00:00
Gilles Depeyrot
ad2622f15d corrected HPUX specific test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 12:28:30 +00:00
Vadim Zeitlin
57351df0a6 fix Union(empty rect) bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 10:54:30 +00:00
Václav Slavík
c601df457c compilation fix for wxUSE_WCHAR_T=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 22:17:09 +00:00
Václav Slavík
2af6b4c37f use own mutex for region iterator locking, not gui one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 22:07:25 +00:00
Václav Slavík
7e2f4683db why the heck was the flag changed to T from Theme?! Broke my makefiles...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 22:07:19 +00:00
Václav Slavík
77ab277914 compilation fix for wxUSE_WCHAR_T=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 22:07:12 +00:00
Václav Slavík
a682b31c35 added watmgl.t to Makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 22:07:00 +00:00
Václav Slavík
28e40b1e06 whoever added mdig.cpp forgot to update the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 22:06:50 +00:00
Mattia Barbon
b8ddac49a3 Missing #include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 16:42:53 +00:00
Vadim Zeitlin
a8ddb18623 should fix Unicode build for BC++ 5.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 15:06:46 +00:00
Vadim Zeitlin
ca8e52b3d2 don't use -mthreads switch if the compiler doesn't support it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 15:04:10 +00:00
Vadim Zeitlin
2bffed64c5 make --static default if configured with --disable-shared
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 14:56:55 +00:00
Vadim Zeitlin
2076893b53 use standard colour for the selected tree item text as well as background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 14:30:25 +00:00
Vadim Zeitlin
8705ab68e2 mention that wxBase builds with BC++ now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 14:21:51 +00:00
Vadim Zeitlin
798265916e fix crash if Delete menu command is used twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 13:50:58 +00:00
Vadim Zeitlin
8161b5b9f0 fix wxCheckListBox which was completely broken by the Unicode changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 13:45:39 +00:00
David Webster
f0b47621e9 For OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 13:39:02 +00:00
Vadim Zeitlin
390015c0ee generic status bar now:
1. works correctly (handles negative widths according to the docs/MSW/Univ)
2. has shorter and simpler GetFieldRect() implementation
3. ... which is also more efficient (pixel widths are cached)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 13:16:46 +00:00
Chris Elliott
333e110dab move code from .h to .cpp to prevent Borland warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 12:24:45 +00:00
Vadim Zeitlin
a42de1303a fix wxBase apps compilation after ProcessIdle() change from the patch 588734
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 11:45:06 +00:00
Chris Elliott
b7b45f6ffc Introducing wxBase for borland based on Michael Fieldings patch 598106
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 11:16:46 +00:00
Gilles Depeyrot
b261fbf3dc SetBackground with a bitmap is only implemented in wxUniversal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 11:14:55 +00:00
Chris Elliott
8c3288a7b6 Introducing wxBase for borland based on Michael Fieldings patch 598106
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 10:56:49 +00:00
Chris Elliott
95f102ab59 Introducing wxBase for borland based on Michael Fieldings patch 598106
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 10:47:11 +00:00
Ron Lee
0e080be64b Added (and documented) GetTraceMasks so userspace can probe the currently
allowed masks.  IMO its omission is a bug and it's non-threatening to
the freeze, so..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 09:35:13 +00:00
David Webster
f5ea767eb8 More OS/2 update to fix some owner drawn things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 22:26:53 +00:00
Julian Smart
a715019788 Avoid using wxTextCtrl::SaveFile with no arg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 20:36:58 +00:00
Gilles Depeyrot
b2fee376fd disable Darwin GCC precompiled headers by default also for wxBase
integrate includes into preprocessor flags instead of both C and C++ flags


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 20:13:19 +00:00
Mattia Barbon
7975104d4a Small clarification in ::wxShowTip docs.
Added a wxPerl note to wxWindow::GetHandle


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 19:34:34 +00:00
Mattia Barbon
93ff73b308 gettext (correctly) uses "1 message" (singular).
Take that into account in make stats.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 19:32:03 +00:00
Gilles Depeyrot
a1f9e3ec5d disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 19:17:56 +00:00
Julian Smart
d38e8d5f34 Changed char* to wxChar*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 11:22:56 +00:00
David Webster
1de4baa31f Notebook, Listbox, and Checklst updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 04:47:39 +00:00
Ron Lee
a85030bd90 sorry, removing /usr/include breaks the macros we use to detect -lGL and co.
They'll need to be fixed first if this really is the right fix.  (and I'm not
sure what the original problem was, so...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 04:43:37 +00:00
Vadim Zeitlin
0c0cee1ed3 removed GetObjectType() ghost
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 23:23:28 +00:00
Julian Smart
8c3289daa4 More casting to make gcc 3.2 behave.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 22:47:22 +00:00
Julian Smart
f9c62cfcdd And some more casting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 22:00:37 +00:00
Julian Smart
a336f999c2 Added size_t cast to disambiguate array usage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 21:54:42 +00:00
Vadim Zeitlin
ce209cf15b removed /usr/include from SEARCH_INCLUDE -- this should fix wxMotif/AIX compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 20:10:21 +00:00
Vadim Zeitlin
d2c7015bf0 old compilation fix for AIX from Ian Brown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 20:08:16 +00:00
Vadim Zeitlin
f02444d0d7 define _FILE_OFFSET_BITS/_LARGE_FILES on the compiler command line instead of wx/setup.h to make sure they're always defined when needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:53:54 +00:00
Gilles Depeyrot
1bfec677b1 avoid warning for duplicate defined wxEntry when compiling with the Apple
Developer Tools (already defined in common include)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:17:52 +00:00
Gilles Depeyrot
57530dba85 use "..." for wx includes instead of <...>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:16:32 +00:00
Gilles Depeyrot
7b108a5e8c disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:15:40 +00:00
Vadim Zeitlin
59571fc076 include the header needed to compile this file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 18:10:39 +00:00
Vadim Zeitlin
68b767bf88 no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 15:19:31 +00:00
Vadim Zeitlin
011ba5ed7e fixed restoring fonts from the native font info data which was completely broken somehow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 15:19:04 +00:00
Vadim Zeitlin
7ccb2521a6 updated the comment about the flags meaning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 15:18:25 +00:00
Chris Elliott
cc77c86d1e Michael Fieldings patch 598106 applied in part
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 12:52:32 +00:00
Vadim Zeitlin
6151e1445b generate key events for Space/Enter in addition to the activate events, as wxMSW does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 12:51:33 +00:00
Vadim Zeitlin
a1d22ad7e9 got rid of COMMON_THREADCPPFLAGS which is not really needed as we can use TOOLCHAIN_DEFS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 12:43:33 +00:00
Vadim Zeitlin
478cababc5 signed/unsigned comparison warning (and probably even error) fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 12:39:16 +00:00
Vadim Zeitlin
c049568782 fixed the button alignment flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 12:29:44 +00:00
Vadim Zeitlin
a696db453c no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 12:29:11 +00:00
Julian Smart
1d7609197e Applied patch [ 602924 ] colours and effects in wxMSW::wxFontDialog
wxFontDialog effects only turned on if a valid colour was
provided in wxFontData


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 08:52:34 +00:00
Julian Smart
b814b81248 Committed a couple of IPC changes I forgot to do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 08:30:52 +00:00
Vadim Zeitlin
a543e3ce7e choose implicit parent for the dialog boxes better, fixes weird focus jumps when using wxLog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 00:44:24 +00:00
Vadim Zeitlin
ae3047441e added a few WXDLLEXPORTS, corrected/expanded comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 00:32:30 +00:00
Ron Lee
e0252fb681 More packaging updates for pending 2.3.3 release.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 22:58:21 +00:00
Gilles Depeyrot
a811affe70 added wxSpinCtrl::SetSelection method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 21:29:40 +00:00
Ron Lee
2ae8a35352 oops, make it build with wxbase too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 20:33:06 +00:00
Vadim Zeitlin
14bc59a252 another part of SetSelection() change I forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 20:24:25 +00:00
Vadim Zeitlin
f7a75af18d no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 20:00:57 +00:00
Vadim Zeitlin
748333bd25 don't call CreatesMessageOutput() explicitly, it will be created on demand as/if/when needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 20:00:46 +00:00
Ron Lee
ec8c565daf added missing #include frame.h for mingw(3.2) build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 19:52:57 +00:00
Julian Smart
9a1725c45a Copy event type too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 19:01:31 +00:00
Stefan Neis
7e48d7d9fb Fixed apparent typo in wxGridCellAttr::MergeWith, hopefully fixing
bug 581558 (wxGrid.SetColAttr vs. SetCellAlignment)
Remove editor in Redimension. This should fix
        bug 593189 (wxGrid:delting rows doesn't hide editor)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 18:14:31 +00:00
Gilles Depeyrot
cd3c2375e6 corrected warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 17:35:03 +00:00
Václav Slavík
74c107ba48 fixes to newly added i18n code in XRC - don't use it if wxXRC_USE_LOCALE isn't used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 17:11:38 +00:00
Julian Smart
bbcd408aa7 Removed warnings from ipcbase.cpp
Removed extra wxYields from progress dialog
Yield on wxX11 yields twice


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 17:02:36 +00:00
Stefan Neis
a679468530 Clear attribute cache in Redimension to fix Bug 508407.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 16:34:17 +00:00
Julian Smart
7948c0c244 Applied patch [ 603104 ] wxX11 wxClientDC, wxPaintDC fix
This patch changes a pre-compile check to a run-time
check. The fix is that for windows that only using 1 X
window (like wxFrame) the client area needs to be
adjusted...

FL is one of the things that needs this patch to work ok
under wxX11.

Hans Van Leemputten


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 15:59:22 +00:00
Julian Smart
5a33bc097f Clean up string table before uninitializing DDEML
to cure crash on exit in memory-debug mode


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 15:48:58 +00:00
Stefan Neis
8403515064 Added some const qualifiers.
"Fixed" bug no 500487 by limiting wxGrid::DoGetBestSize's return value by
        DisplaySize.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 15:27:26 +00:00
Julian Smart
44379ce6fa Accidentally omitted code from previous patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 15:08:04 +00:00
Julian Smart
f010ad4812 Applied patch [ 600051 ] DDE and TCP improvements and fixes
By Michael Fielding

As discussed on wx-dev. some fixes and improvements for Interprocess Communication (IPC), using DDE and TCP.

1. DDE buffers were using a global buffer
2. TCP buffers were allocated each time needed, and Request would have caused memory leaks had it been used.

Fixed these both by using a self-resizing buffer in wxConnectionBase. Changed samples and docs to reflect the improved (but backward compatible) internal buffer management. wxConnectionBase could (in future) use wxMemoryBuffer.

3. IPC sample had trouble closing, causing crash, when closing server using window X button.

Because it was (effectively) trying to delete a window in OnExit, when that window was already destroyed. Fixed by making IPCDialog and MyConnection remember if they'd destroyed each other. It's not elegant, but either the connection or the window could be deleted first.

4. Docs for wxDDE... and wxTCP... duplicated eachother, supposed to have same API. Some parts unclear.

Patch removes dde and tcp-specific files (including from tipc.tex and classes.tex), and explains how ipc.h selects for you which one to use based on platform. Some other misc clarifications.

6. Client sample was suffering apparent memory leak because of not deleting connection object, and had a hack in there to do that.

In fact this was due to the derived OnDisconnect not deleting itself, as it does in base class. Mentioned need to do it in docs, fixed sample so that it does.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 14:48:16 +00:00
Václav Slavík
1affde0a6b fixed a small typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 11:41:01 +00:00
Ron Lee
e2450fa9b4 removed DoInit() straggler from appbase mods.
#include log.h

and so, wxbase builds again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 03:16:52 +00:00
Stefan Neis
a373d23b14 Applied AutoWrap Renderer Bugfix by Roger Gammans (Patch 467479).
Blindly tried to fix crash reported by Roman Vanicek on Mailing list:
        SetCellHighlightColour sometimes segfaults in wxGTK. The
        application crashes in LookupAttr.
        Tentative explanation: Cache handling gets confused if LookupAttr gets
                called on wxGridNoCell.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 00:54:01 +00:00
Vadim Zeitlin
068a7cfeee implemented a dirty hack allowing us to keep activation after wxExecute(wxEXEC_SYNC) call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 23:43:04 +00:00
Vadim Zeitlin
83a16cfa8c don't disable top level windows recursively
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 23:25:04 +00:00
Václav Slavík
c269cf6235 fixed font picker in wxHtmlHelpController, better UI is now used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 23:19:58 +00:00
Vadim Zeitlin
ff095200f7 fix for losing focus under Windows after showing the progress dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 23:08:37 +00:00
Vadim Zeitlin
ad603bf790 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 22:57:16 +00:00
Vadim Zeitlin
739555e321 SetSelection() for generic wxSpinCtrl (forgot to commit before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 22:52:24 +00:00
Stefan Neis
27f35b6674 Make use of new array functions.
Added redraw function (by Roger Gammans).
Added Cell overflow & multiple cells (Patch 518206).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 22:42:29 +00:00
Gilles Depeyrot
fb86524fc3 use include "..." instead of <...>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 22:36:13 +00:00
Gilles Depeyrot
788233da90 disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 22:31:03 +00:00
Ron Lee
6c5672c0d4 symbols.txt is no longer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 20:06:31 +00:00
Julian Smart
a78a4f6033 Forgot to add wxX11 FAQ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 19:00:47 +00:00
Julian Smart
0b0625e922 Some doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 16:27:35 +00:00
Václav Slavík
0653d364dd - applied patch that adds more i18n support to XRC handlers
- added ; to ends of lines in gettext output - needed for older gettext tools?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 15:37:20 +00:00
Václav Slavík
02df379910 applied patch that adds more i18n support to XRC handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 15:37:06 +00:00
Julian Smart
48d2ab90ee Added log.h inclusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 12:49:19 +00:00
Julian Smart
de6ac3397d Applied patch [ 599043 ] fix for wxTreeCtrl/MSW right-click prob
Benjamin I. Williams

There currently is a very significant problem with the
right-click behavior in wxTreeCtrl. The attached patch
file fixes this problem.

To better understand the problem, load up the tree
control, and start right-clicking on items. Note how
the focus rectangle does not behave properly. Next,
enable multiple selection. Now select several items,
and start right-clicking on the selected items. Note
how the selection highlights disappear.

If you try the tree sample with the generic tree
control, you will notice that the problem does not
occur, and that the tree control behaves properly.

This patch brings the MSW tree control implementation
in line with the generic implementation. This is the
same behavior that one can notice in applications such
as windows explorer and Visual Studio.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 12:12:54 +00:00
Julian Smart
70373b5a57 Applied patch [ 600500 ] Tip-of-day: comments, translatable
By Robert O'Connor

This is a patch to wxTip Provider classes used by the "Tip of the day" dialog.

See wx-dev archives August 2002 for discussion of the functionality design.

It does 5 things:
-Support for comments inside the tips file. The pound character (#) is used, as recommended by Vadim.
-Allows optional easy translation support to tips, by marking them as translatable for gettext, by enclosing them in a _(""). Program will translate these tips at runtime from the active catalog.
-Blank lines or lines with just spaces are automatically skipped (I had to put this in, I keep wondering why I get blank tips sometimes and it is because the text file had a empty blank line at the end of the text file).
-There is a pluggable virtual function to preprocess to modify the tip in a derived class, in case something specialized is desired, such as variable expansion, etc, as recommended by Julian and Vadim.
-Now resets the tip counter if the previous tip is past the end of the file (ie you removed some tips, or changed tip files), as discussed on wx-dev.

This patch updates:
-The classes.
-The class documentation and the Tip-of-the-day topic overview documentation.
-The dialogs example, placing some new strings for the tips.txt file which demonstrate how to use the Tip-of-the-day features for in practice.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 12:08:02 +00:00
Julian Smart
b5b62eea2d Applied patch [ 601072 ] wxFileName::GetLongPath error & fix
By Michael Fielding (mfielding)

When using wxFileName::MakeRelativeTo with a new base of "x:\", the result is incorrect. It works fine when there is a subdirectory after x:\. I tracked this to a bug in GetLongPath; here is the fix.

Also, GetLongPath will now try and get as much long path as it can, failing only when part of the path cannot be found. eg

x:\existi~1\file not existing.new becomes
x:\existing directory\filenotexisting.new

instead of just staying the same.

Also, MakeRelative no longer makes filenames lowercase when it normalises them.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:42:12 +00:00
Gilles Depeyrot
af49c4b8a2 disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:29:13 +00:00
Julian Smart
85d8c319d6 Applied patch [ 601957 ] wxGrid: Start editing with numberpad key
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:25:37 +00:00
Julian Smart
5cf69f76a1 Added RTTI macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:14:30 +00:00
David Webster
cfcebdb1bb Weekly updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:54:47 +00:00
Vadim Zeitlin
ef5f8ab626 don't use vfork() in wxExecute()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:38:12 +00:00
Vadim Zeitlin
cf6e951cf2 don't eat Shift-Ctrl-[XCV] keys
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:30:28 +00:00
Vadim Zeitlin
4d7b7fc212 mention that SetSelection(-1, -1) selects everything
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:29:27 +00:00
Vadim Zeitlin
9487bf1700 documented SetSelection()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:28:56 +00:00
David Webster
018d3030cc Weekly update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:20:42 +00:00
Julian Smart
ee7908dbe9 Added another log.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:19:41 +00:00
Vadim Zeitlin
1af48460ac compilation problem for compilers with old for() scoping rules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:13:30 +00:00
Vadim Zeitlin
1fb35ade9b compilation fix (missing wx/log.h include)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:10:28 +00:00
Julian Smart
89cd4125bd Added another log.h; removed redundant trace args
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:06:05 +00:00
Vadim Zeitlin
4d1cbdbe17 added Read64() and Write64() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:05:53 +00:00
Julian Smart
0ace90958b Added log.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 20:54:06 +00:00
Julian Smart
3bce6687f4 Mods for Wine compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 20:34:27 +00:00
David Webster
f13b39c0c3 TRUE, not true; FALSE not false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 17:04:12 +00:00
Vadim Zeitlin
fa3d9b4e30 don't disable top level children in parents Enable()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 15:10:59 +00:00
Chris Elliott
1303a240dd lost log.h fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 13:57:04 +00:00
Chris Elliott
c03690057b lost log.h fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 13:49:49 +00:00
David Webster
edd802c67c OS/2 must have positive control IDs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 13:44:03 +00:00
Stefan Csomor
80c82e0175 fix for 10.2 (persistent tooltips ;-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 13:43:09 +00:00
David Webster
879dcac2f1 Fix to allow proper positioning of child windows under OS/2 when auto layouts are not being done.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 13:39:01 +00:00
David Webster
f289196b3a Lots of updates fixing radiobox processing, checkboxes and add notebook control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 13:37:52 +00:00
Vadim Zeitlin
07901ec945 added wxSpinCtrl::SetSelection()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 01:00:04 +00:00
Vadim Zeitlin
a69be60b0f removed wxApp::DoInit(); added wxApp::CreateMessageOutput(); fixed wxMsgOutput memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 00:58:34 +00:00
Vadim Zeitlin
98020767fd removed extra trailing semicolons which break compilation for some compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 00:39:33 +00:00
Vadim Zeitlin
d7cbabe039 disable children when the parent is disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 00:34:08 +00:00
Vadim Zeitlin
9a76510b8a loop in wxInputStream::Read() while there is data to read
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-29 22:10:02 +00:00
Vadim Zeitlin
0493ba1399 changed wxExecute(char **) version to take wxChar **
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-29 21:54:39 +00:00
Vadim Zeitlin
0ca5105b34 don't crash in wx(Flex)GridSizer with division by 0, assert instead; also factored out a lot of duplicated code in a single function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-29 21:48:32 +00:00
Mattia Barbon
62d3ee70e5 Documented wxListCtrl::GetColumnCount
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-29 16:46:25 +00:00
Julian Smart
a165a5dd04 Script updates
Addition of wxOS2 configure files
required for distribution


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-29 13:52:26 +00:00
Mattia Barbon
18c60872a0 Updated Svedish translation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 20:24:42 +00:00
Mattia Barbon
02fd5400c0 Added exlicit make clean/cleanall in the sample makefile usage.
Added a note that makefiles are not for UNIX, just for Cugwin/MSYS/DOS
prompt.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 20:19:26 +00:00
Mattia Barbon
6969f178bf Forgot to run autoconf before committing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 20:18:06 +00:00
Mattia Barbon
a0b9e27fd4 Applied Fabian Wenzel's patches to add -mthreads for threads to work
in MinGW.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 20:11:12 +00:00
Robin Dunn
09740c31b9 Mode distrib scripts and such
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 20:02:20 +00:00
Robin Dunn
f2c9093fc1 Installer updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 17:49:58 +00:00
Stefan Neis
0bc7468b1f Fixed version number.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 17:29:28 +00:00
Stefan Neis
1281c5c188 Added instructions for compiling with EMX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 16:28:07 +00:00
Julian Smart
80020b62f9 Using wxImageListType instead of wxGenericImageList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 09:31:29 +00:00
Julian Smart
f9ceab7ce6 Ditribution script mods;
Use wxImageList instead of wxGenericImageList where possible
in wxListCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 08:54:00 +00:00
Stefan Neis
d8f591c4d9 Some OS/2 specific additions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 08:50:55 +00:00
Julian Smart
3477409312 XmNframeChildType is not in Motif 1.2. #ifdef appropriately.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 08:28:00 +00:00
1159 changed files with 43881 additions and 41366 deletions

View File

@@ -543,13 +543,16 @@ ALL_DIST: distclean
cp $(WXDIR)/wxBase.spec $(DISTDIR)
cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt
cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
mkdir $(DISTDIR)/lib
cp $(WXDIR)/lib/vms.opt $(DISTDIR)/lib
cp $(WXDIR)/lib/vms_gtk.opt $(DISTDIR)/lib
mkdir $(DISTDIR)/src
cp $(SRCDIR)/files.lst $(DISTDIR)/src/
# temp hack for common/execcmn.cpp: it's not supported by tmake
# yet (it's a header-like file but in src/common directory and it
# shouldn't be distributed...)
mkdir $(DISTDIR)/src/common
cp $(SRCDIR)/common/execcmn.cpp $(DISTDIR)/src/common
mkdir $(DISTDIR)/src/zlib
cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
@@ -598,7 +601,6 @@ ALL_GUI_DIST: ALL_DIST
cp $(WXDIR)/art/*.xpm $(DISTDIR)/art
cp $(WXDIR)/art/gtk/*.xpm $(DISTDIR)/art/gtk
cp $(WXDIR)/art/motif/*.xpm $(DISTDIR)/art/motif
mkdir $(DISTDIR)/src/common
mkdir $(DISTDIR)/src/generic
mkdir $(DISTDIR)/src/html
mkdir $(DISTDIR)/src/$(TOOLKITDIR)
@@ -650,7 +652,6 @@ BASE_DIST: ALL_DIST
mkdir $(DISTDIR)/include/wx/protocol
mkdir $(DISTDIR)/include/wx/unix
mkdir $(DISTDIR)/include/wx/msw
mkdir $(DISTDIR)/src/common
mkdir $(DISTDIR)/src/unix
mkdir $(DISTDIR)/src/msw
cp @PORT_FILES@ $(DISTDIR)
@@ -659,6 +660,7 @@ BASE_DIST: ALL_DIST
cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
cp $(DOCDIR)/base/readme.txt $(DISTDIR)/README.txt
cp $(SRCDIR)/*.in $(DISTDIR)/src
cp $(SRCDIR)/files.lst $(DISTDIR)/src
cp $(WXDIR)/src/common/*.inc $(DISTDIR)/src/common
cp $(WXDIR)/src/common/base.rc $(DISTDIR)/src/common
cp $(WXDIR)/src/common/unzip.h $(DISTDIR)/src/common
@@ -692,6 +694,16 @@ GTK_DIST: ALL_GUI_DIST
mkdir $(DISTDIR)/contrib
cp -R $(WXDIR)/contrib $(DISTDIR)
X11_DIST: ALL_GUI_DIST UNIV_DIST
cp $(WXDIR)/wxX11.spec $(DISTDIR)
cp $(INCDIR)/wx/x11/*.h $(DISTDIR)/include/wx/x11
cp $(X11DIR)/files.lst $(DISTDIR)/src/x11
cp $(X11DIR)/*.cpp $(DISTDIR)/src/x11
cp $(X11DIR)/*.c $(DISTDIR)/src/x11
cp $(X11DIR)/*.xbm $(DISTDIR)/src/x11
mkdir $(DISTDIR)/contrib
cp -R $(WXDIR)/contrib $(DISTDIR)
MOTIF_DIST: ALL_GUI_DIST
cp $(WXDIR)/wxMotif.spec $(DISTDIR)
cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif

View File

@@ -336,10 +336,15 @@ AC_DEFUN([WX_ARG_WITH],
])
dnl like WX_ARG_WITH but uses AC_ARG_ENABLE instead of AC_ARG_WITH
dnl usage: WX_ARG_ENABLE(option, helpmessage, variable-name)
dnl usage: WX_ARG_ENABLE(option, helpmessage, variable-name, enablestring)
dnl
dnl enablestring is a hack and allows to show "checking for --disable-foo"
dnl message when running configure instead of the default "checking for
dnl --enable-foo" one whih is useful for the options enabled by default
AC_DEFUN([WX_ARG_ENABLE],
[
AC_MSG_CHECKING([for --enable-$1])
enablestring=$4
AC_MSG_CHECKING([for --${enablestring:-enable}-$1])
no_cache=0
AC_ARG_ENABLE($1, [$2],
[

5
aclocal.m4 vendored
View File

@@ -348,10 +348,11 @@ AC_DEFUN([WX_ARG_WITH],
])
dnl like WX_ARG_WITH but uses AC_ARG_ENABLE instead of AC_ARG_WITH
dnl usage: WX_ARG_ENABLE(option, helpmessage, variable-name)
dnl usage: WX_ARG_ENABLE(option, helpmessage, variable-name, enablestring)
AC_DEFUN([WX_ARG_ENABLE],
[
AC_MSG_CHECKING([for --enable-$1])
enablestring=$4
AC_MSG_CHECKING([for --${enablestring:-enable}-$1])
no_cache=0
AC_ARG_ENABLE($1, [$2],
[

28124
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -257,7 +257,6 @@ case "${host}" in
AC_DEFINE(__EMX__)
PROGRAM_EXT=".exe"
DEFAULT_DEFAULT_wxUSE_PM=1
LIBS="$LIBS -lstdcpp"
;;
powerpc-*-darwin* )
@@ -354,6 +353,8 @@ if test $DEBUG_CONFIGURE = 1; then
DEFAULT_wxUSE_FONTMAP=no
DEFAULT_wxUSE_STREAMS=no
DEFAULT_wxUSE_SOCKETS=no
DEFAULT_wxUSE_OLE=no
DEFAULT_wxUSE_DATAOBJ=no
DEFAULT_wxUSE_DIALUP_MANAGER=no
DEFAULT_wxUSE_JOYSTICK=no
DEFAULT_wxUSE_DYNLIB_CLASS=no
@@ -527,6 +528,8 @@ else
DEFAULT_wxUSE_FONTMAP=yes
DEFAULT_wxUSE_STREAMS=yes
DEFAULT_wxUSE_SOCKETS=yes
DEFAULT_wxUSE_OLE=yes
DEFAULT_wxUSE_DATAOBJ=yes
DEFAULT_wxUSE_DIALUP_MANAGER=yes
DEFAULT_wxUSE_JOYSTICK=yes
DEFAULT_wxUSE_DYNLIB_CLASS=yes
@@ -712,8 +715,8 @@ WX_ARG_ENABLE(soname, [ --enable-soname set the DT_SONAME field in
WX_ARG_ENABLE(optimise, [ --enable-optimise create optimised code], wxUSE_OPTIMISE)
WX_ARG_ENABLE(debug, [ --enable-debug same as debug_flag and debug_info], wxUSE_DEBUG)
dnl allow the precompiled header option to be disabled under Mac OS X
WX_ARG_ENABLE(precomp, [ --enable-precomp enable use of precompiled headers (Mac OS X)], wxUSE_PRECOMP)
dnl allow the precompiled header option to be disabled under Mac OS X/Darwin
WX_ARG_ENABLE(precomp, [ --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)], wxUSE_PRECOMP)
if test "$wxUSE_DEBUG" = "yes"; then
DEFAULT_wxUSE_DEBUG_FLAG=yes
@@ -735,7 +738,7 @@ WX_ARG_ENABLE(permissive, [ --enable-permissive compile code disregardin
WX_ARG_ENABLE(no_deps, [ --enable-no_deps create code without dependency information], wxUSE_NO_DEPS)
WX_ARG_ENABLE(compat20, [ --enable-compat20 enable wxWindows 2.0 compatibility], WXWIN_COMPATIBILITY_2)
WX_ARG_ENABLE(compat22, [ --disable-compat22 disable wxWindows 2.2 compatibility], WXWIN_COMPATIBILITY_2_2)
WX_ARG_ENABLE(compat22, [ --disable-compat22 disable wxWindows 2.2 compatibility], WXWIN_COMPATIBILITY_2_2, disable)
AC_ARG_ENABLE(rpath, [ --enable-rpath=DIR output the rpath flag from wx-config], [wxRPATH_DIR="$enableval"])
@@ -756,6 +759,8 @@ WX_ARG_ENABLE(ftp, [ --enable-ftp use wxFTP (requires wxPr
WX_ARG_ENABLE(http, [ --enable-http use wxHTTP (requires wxProtocol], wxUSE_PROTOCOL_HTTP)
WX_ARG_ENABLE(fileproto, [ --enable-fileproto use wxFileProto class (requires wxProtocol], wxUSE_PROTOCOL_FILE)
WX_ARG_ENABLE(sockets, [ --enable-sockets use socket/network classes], wxUSE_SOCKETS)
WX_ARG_ENABLE(ole, [ --enable-ole use OLE classes], wxUSE_OLE)
WX_ARG_ENABLE(dataobj, [ --enable-dataobj use data object classes], wxUSE_DATAOBJ)
WX_ARG_ENABLE(ipc, [ --enable-ipc use interprocess communication (wxSocket etc.)], wxUSE_IPC)
@@ -1035,7 +1040,9 @@ dnl Path separator; ':' for unix, ';' for OS/2
dnl Stem for flex output; lexyy for OS/2, lex.yy otherwise
case "${host}" in
*-pc-os2_emx | *-pc-os2-emx )
dnl PATH_IFS is autodetected by OS/2's configure (usually ';')
PATH_IFS=';'
dnl Really ought to text for this as meanwhile there are flex versions using
dnl lex.yy as well due to FAT support being more and more dropped...
LEX_STEM="lexyy"
;;
*)
@@ -1120,11 +1127,31 @@ else
AC_MSG_RESULT(base ($host_alias hosted) only)
fi
dnl ---------------------------------------------------------------------------
dnl When we are using gcc on OS/2, we want to be either using resources (PM)
dnl or a more complete POSIX emulation for Motif/GTK+/X11
dnl ---------------------------------------------------------------------------
dnl (OS/2-only piece)
case "${host}" in
*-pc-os2_emx | *-pc-os2-emx )
dnl Explicitly link -lstdcpp, since we are using "gcc" not "g++"/"c++".
LIBS="$LIBS -lstdcpp"
if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
dnl More complete Unix emulation for unix-like ports
dnl by linking in POSIX/2's cExt (if available).
AC_CHECK_LIB(cExt, drand48, LIBS="$LIBS -lcExt")
else
dnl Include resources for the "native" port (wxPM).
RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
fi
;;
esac
dnl (end of OS/2-only piece)
dnl ---------------------------------------------------------------------------
dnl When we are using Cygwin with Motif/GTK+, we want it to appear like
dnl 'just' a POSIX platform, so the Win32 API must not be available
dnl ---------------------------------------------------------------------------
dnl (Windows-only piece)
wants_win32=0
doesnt_want_win32=0
@@ -1396,6 +1423,13 @@ case "${host}" in
arm-*-linux* )
AC_CHECK_SIZEOF(long long, 8)
;;
*-hp-hpux* )
AC_CHECK_SIZEOF(long long, 0)
if test "$ac_cv_sizeof_long_long" != "0"; then
dnl HPUX 10.20 headers need this define in order to use long long definitions
CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
fi
;;
* )
AC_CHECK_SIZEOF(long long, 0)
esac
@@ -1436,6 +1470,20 @@ AC_DEFINE_UNQUOTED(SIZEOF_WCHAR_T, $wx_cv_sizeof_wchar_t)
dnl check for large file support
AC_SYS_LARGEFILE
dnl we need to define _FILE_OFFSET_BITS or _LARGE_FILES on the compiler command
dnl line because otherwise the system headers risk being included before
dnl wx/defs.h which defines these constants leading to inconsistent
dnl sizeof(off_t) in different source files of the same program and linking
dnl problems
if test "x$wx_largefile" = "xyes"; then
if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
else
WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
fi
CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
fi
dnl check for bytesex stuff (don't use AC_C_BIGENDIAN to allow cross-compiling)
WX_C_BIGENDIAN
@@ -1455,8 +1503,11 @@ dnl ---------------------------------------------------------------------------
dnl notice that /usr/include should not be in this list, otherwise it breaks
dnl compilation on Solaris/gcc because standard headers are included instead
dnl of the gcc ones (correction: it *is* needed for broken AIX compiler - but
dnl do put it last!)
dnl of the gcc ones. (recorrection.. sadly much depends on this since it was
dnl first created and then 'corrected'.. removing /usr/include means system
dnl GL and Xpm libs will dnl not be found on linux and probably other platforms
dnl now. We need to correct that first before removing /usr/include again.
dnl see the various (ab)uses of WX_PATH_FIND_LIBRARIES below )
dnl
dnl Also try to put all directories which may contain X11R6 before those which
dnl may contain X11R5/4 - we want to use R6 on machines which have both!
@@ -1524,7 +1575,6 @@ SEARCH_INCLUDE="\
/usr/lpp/Xamples/include \
\
/usr/openwin/share/include \
\
/usr/include"
SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
@@ -1865,6 +1915,16 @@ if test "$USE_WIN32" = 1 ; then
RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
fi
if test "$USE_DARWIN" = 1; then
dnl Mac OS X/Darwin GCC uses precompiled headers by default
dnl this can cause problems both when compiling wxMac and wxBase
if test "$wxUSE_PRECOMP" = "yes"; then
CPPFLAGS="$CPPFLAGS -cpp-precomp"
else
CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
fi
fi
if test "$wxUSE_GUI" = "yes"; then
USE_GUI=1
@@ -2153,7 +2213,9 @@ equivalent variable and GTK+ is version 1.2.3 or above.
mesa_link=" -lMesaGL"
AC_MSG_RESULT(found at $ac_find_libraries)
else
AC_MSG_ERROR(no)
mesa_link=""
AC_MSG_RESULT(no)
AC_MSG_WARN(library will be compiled without Mesa support)
fi
GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
@@ -2283,7 +2345,7 @@ equivalent variable and GTK+ is version 1.2.3 or above.
for libp in "" " -lXp"; do
if test "$libs_found" = "0"; then
for libsm_ice in " -lSM -lICE"; do
if test "$libs_found" = "0"; then
if test "$libs_found" = "0"; then
save_LIBS="$LIBS"
LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
save_CFLAGS=$CFLAGS
@@ -2328,14 +2390,7 @@ equivalent variable and GTK+ is version 1.2.3 or above.
fi
if test "$wxUSE_MAC" = 1; then
if test "$wxUSE_PRECOMP" = "yes"; then
CPPFLAGS="$CPPFLAGS -cpp-precomp"
else
CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
fi
CPPFLAGS="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
CFLAGS="$CFLAGS -fpascal-strings"
CXXFLAGS="$CXXFLAGS -fpascal-strings"
CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefile -I/Developer/Headers/FlatCarbon"
TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
TOOLKIT=MAC
@@ -2625,8 +2680,9 @@ if test "$wxUSE_SHARED" = "yes"; then
case "${host}" in
*-hp-hpux* )
dnl default settings are good for gcc but not for the native HP-UX
if test "$GCC" == "yes"; then
SHARED_LD="${SHARED_LD} ${PIC_FLAG}"
if test "$GCC" = "yes"; then
dnl -o flag must be after PIC flag
SHARED_LD="${CXX} -shared ${PIC_FLAG} -o"
else
dnl no idea why it wants it, but it does
LDFLAGS="$LDFLAGS -L/usr/lib"
@@ -2687,8 +2743,9 @@ if test "$wxUSE_SHARED" = "yes"; then
*-*-darwin* )
dnl For Unix to MacOS X porting instructions, see:
dnl http://fink.sourceforge.net/doc/porting/porting.html
CFLAGS="$CFLAGS -fno-common -DWXMAKINGDLL"
CXXFLAGS="$CXXFLAGS -fno-common -DWXMAKINGDLL"
TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
CFLAGS="$CFLAGS -fno-common"
CXXFLAGS="$CXXFLAGS -fno-common"
dnl wxWindows must be fully binded (lazy binding breaks RTTI classinfo)
dnl this can be done either with the exe linker flag -Wl,-bind_at_load
dnl or with a double stage link in order to create a single module
@@ -2781,6 +2838,12 @@ if test "$wxUSE_SHARED" = "no"; then
WX_TARGET_LIBRARY_TYPE="a"
INSTALL_LIBRARY='$(INSTALL_DATA)'
dnl wx-config should assume the --static flag by default if we don't have
dnl any shared libs anyhow
STATIC_FLAG="yes"
else
STATIC_FLAG="no"
fi
if test "$wxUSE_MAC" = 1; then
@@ -2945,6 +3008,15 @@ AC_CHECK_FUNCS(vsnprintf)
if test "$wxUSE_UNICODE" = yes; then
dnl also look if we have wide char IO functions
AC_CHECK_FUNCS(fputwc wprintf vswprintf)
dnl MinGW has a vswprintf with a different prototype, and
dnl a _vsnwprintf with the correct prototype, but AC_CHECK_FUNCS
dnl finds it even if it is not declared in some versions...
AC_MSG_CHECKING([for _vsnwprintf])
AC_TRY_COMPILE([#include <wchar.h>],
[&_vsnwprintf;],
[AC_MSG_RESULT([yes])
AC_DEFINE(HAVE__VSNWPRINTF)],
[AC_MSG_RESULT([no])]);
fi
AC_LANG_RESTORE
@@ -2996,9 +3068,6 @@ if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
fi
fi
dnl check for vfork() (even if it's the same as fork() in modern Unices)
AC_CHECK_FUNCS(vfork)
dnl check for the function for temp files creation
AC_CHECK_FUNCS(mkstemp mktemp, break)
@@ -3089,7 +3158,7 @@ if test "$USE_BEOS" = 1; then
fi
if test "$USE_DARWIN" = 1; then
dnl Mac OS X has both nanosleep and usleep
dnl Mac OS X/Darwin has both nanosleep and usleep
dnl but only usleep is defined in unistd.h
AC_DEFINE(HAVE_USLEEP)
HAVE_SOME_SLEEP_FUNC=1
@@ -3170,10 +3239,10 @@ dnl flush the cache
AC_CACHE_SAVE
dnl ---------------------------------------------------------------------------
dnl thread support for Unix (always available under Win32)
dnl thread support for Unix (for Win32 see past the next matching "else")
dnl ---------------------------------------------------------------------------
dnl under MSW we always have thread support
dnl under MSW (except mingw32) we always have thread support
CPP_MT_FLAG=
if test "$TOOLKIT" != "MSW"; then
@@ -3289,7 +3358,8 @@ if test "$TOOLKIT" != "MSW"; then
else
dnl yes, these special compiler flags should be used with the
dnl linker as well
LIBS="$THREADS_LINK $THREADS_CFLAGS $LIBS"
LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
LIBS="$THREADS_LINK $LIBS"
AC_MSG_CHECKING([if more special flags are required for pthreads])
flag=no
@@ -3297,6 +3367,9 @@ if test "$TOOLKIT" != "MSW"; then
*-aix* | *-freebsd*)
flag="-D_THREAD_SAFE"
;;
*-hp-hpux* )
flag="-D_REENTRANT"
;;
*solaris* | alpha*-osf*)
flag="-D_REENTRANT"
;;
@@ -3430,6 +3503,35 @@ if test "$TOOLKIT" != "MSW"; then
fi
dnl from if !MSW
else
if test "$wxUSE_THREADS" = "yes" ; then
case "${host}" in
*-*-mingw32* )
dnl check if the compiler accepts -mthreads
AC_CACHE_CHECK([if compiler supports -mthreads],
wx_cv_cflags_mthread,
[
CFLAGS_OLD="$CFLAGS"
CFLAGS="$CFLAGS -mthreads"
AC_TRY_COMPILE([], [],
wx_cv_cflags_mthread=yes,
wx_cv_cflags_mthread=no
)
]
)
if test "$wx_cv_cflags_mthread" = "yes"; then
dnl it does, use it
CXXFLAGS="$CXXFLAGS -mthreads"
TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
LDFLAGS="$LDFLAGS -mthreads"
else
dnl it doesn't
CFLAGS="$CFLAGS_OLD"
fi
;;
esac
fi
fi
if test "$wxUSE_THREADS" = "yes"; then
@@ -3870,7 +3972,7 @@ dnl ------------------------------------------------------------------------
dnl wxSocket
dnl ------------------------------------------------------------------------
dnl VZ: the GUI hooks wxSocket needs are not implemented yet in wxX11
dnl VZ: the GUI hooks wxSocket needs are not implemented yet in wxMGL
if test "$wxUSE_SOCKETS" = "yes"; then
if test "$wxUSE_MGL" = "1"; then
AC_MSG_WARN([wxSocket not yet supported under MGL... disabled])
@@ -4137,7 +4239,7 @@ fi
if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
dnl There is now experimental generic MDI support
dnl There is now experimental generic MDI support
dnl if test "$wxUSE_UNIVERSAL" = "yes"; then
dnl AC_MSG_WARN(MDI not yet supported for wxUniversal... disabled)
dnl wxUSE_MDI_ARCHITECTURE=no
@@ -4211,6 +4313,7 @@ dnl check for ole headers and disable a few features requiring it if not
dnl present (earlier versions of mingw32 don't have ole2.h)
if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
-o "$wxUSE_CLIPBOARD" = "yes" \
-o "$wxUSE_OLE" = "yes" \
-o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
AC_CHECK_HEADERS(ole2.h)
@@ -4241,6 +4344,51 @@ if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
wxUSE_CLIPBOARD=no
wxUSE_DRAG_AND_DROP=no
wxUSE_DATAOBJ=no
wxUSE_OLE=no
fi
if test "$wxUSE_METAFILE" = "yes"; then
AC_DEFINE(wxUSE_METAFILE)
dnl this one should probably be made separately configurable
AC_DEFINE(wxUSE_ENH_METAFILE)
fi
fi
if test "$wxUSE_WINE" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
-o "$wxUSE_CLIPBOARD" = "yes" \
-o "$wxUSE_OLE" = "yes" \
-o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
AC_CHECK_HEADERS(ole2.h)
if test "$ac_cv_header_ole2_h" = "yes" ; then
if test "$GCC" = yes ; then
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_MSG_CHECKING([if g++ requires -fvtable-thunks])
AC_TRY_COMPILE([#include <windows.h>
#include <ole2.h>],
[],
[AC_MSG_RESULT(no)],
[AC_MSG_RESULT(yes)
CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"])
AC_LANG_RESTORE
ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
LIBS=" -lwine_uuid$LIBS"
AC_DEFINE(wxUSE_OLE)
fi
dnl for OLE clipboard and dnd
AC_DEFINE(wxUSE_DATAOBJ)
else
AC_MSG_WARN([Some features disabled because OLE headers not found])
wxUSE_CLIPBOARD=no
wxUSE_DRAG_AND_DROP=no
wxUSE_DATAOBJ=no
wxUSE_OLE=no
fi
if test "$wxUSE_METAFILE" = "yes"; then
@@ -4878,9 +5026,10 @@ if test "$GXX" = yes ; then
fi
fi
EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
dnl remove the extra white space from the cc/c++/ld options
CPPFLAGS=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
CFLAGS=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
CXXFLAGS=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
LIBS=`echo $LIBS | sed 's/ \+/ /g'`
@@ -4934,6 +5083,8 @@ AC_SUBST(SONAME_FLAGS_GL)
AC_SUBST(WX_TARGET_LIBRARY_SONAME)
AC_SUBST(WX_TARGET_LIBRARY_TYPE)
AC_SUBST(STATIC_FLAG)
dnl debugging options
AC_SUBST(WXDEBUG_DEFINE)
@@ -4956,6 +5107,7 @@ AC_SUBST(WXCONFIG_LIBS_STATIC)
AC_SUBST(WXCONFIG_LIBS_STATIC_GL)
AC_SUBST(WXCONFIG_INCLUDE)
AC_SUBST(WXCONFIG_RPATH)
AC_SUBST(WX_LARGEFILE_FLAGS)
dnl the list of files to compile/install
AC_SUBST(ALL_OBJECTS)

View File

@@ -12,7 +12,7 @@
#ifndef _WX_ANIMATEH__
#define _WX_ANIMATEH__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "animate.h"
#endif

View File

@@ -1,7 +1,7 @@
#ifndef __WXBOUNDINGBOX_H__
#define __WXBOUNDINGBOX_H__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "bbox.cpp"
#endif

View File

@@ -9,7 +9,7 @@
#ifndef __WXCANVAS_H__
#define __WXCANVAS_H__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "canvas.cpp"
#endif

View File

@@ -8,7 +8,7 @@
#ifndef __WXLINER_H
#define __WXLINER_H
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "liner.cpp"
#endif

View File

@@ -9,7 +9,7 @@
#ifndef __WXPOLYGON_H__
#define __WXPOLYGON_H__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "polygon.cpp"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef __ANTIFLICKPL_G__
#define __ANTIFLICKPL_G__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "antiflickpl.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef __BARDRAGPL_G__
#define __BARDRAGPL_G__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "bardragpl.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef __DRAGHINTSPL_G__
#define __DRAGHINTSPL_G__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "barhintspl.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef __CBCUSTOM_G__
#define __CBCUSTOM_G__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "cbcustom.h"
#endif

View File

@@ -13,7 +13,7 @@
#ifndef __CONTROLBAR_G__
#define __CONTROLBAR_G__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "controlbar.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef __DYNBARHND_G__
#define __DYNBARHND_G__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "dynbarhnd.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef __DYNTBAR_G__
#define __DYNTBAR_G__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "dyntbar.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef __DYNTBARHND_G__
#define __DYNTBARHND_G__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "dyntbarhnd.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef __FRMVIEW_G__
#define __FRMVIEW_G__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "frmview.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef __GARBAGEC_G__
#define __GARBAGEC_G__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "garbagec.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef __GCUPDATESMGR_G__
#define __GCUPDATESMGR_G__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "gcupdatesmgr.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef __HINTANIMPL_G__
#define __HINTANIMPL_G__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "hintanimpl.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef __NEWBMPBTN_G__
#define __NEWBMPBTN_G__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "newbmpbtn.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef __PANEDRAWPL_G__
#define __PANEDRAWPL_G__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "panedrawpl.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef __ROWDRAGPL_G__
#define __ROWDRAGPL_G__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "rowdragpl.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef __ROWLAYOUTPL_G__
#define __ROWLAYOUTPL_G__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "rowlayoutpl.h"
#endif

View File

@@ -13,7 +13,7 @@
#ifndef __TOOLWND_G__
#define __TOOLWND_G__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "toolwnd.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef __UPDATESMGR_G__
#define __UPDATESMGR_G__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "updatesmgr.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef __WX_EDITLBOX_H__
#define __WX_EDITLBOX_H__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "editlbox.h"
#endif

View File

@@ -1,7 +1,7 @@
#ifndef _WX_LEDNUMBERCTRL_H_
#define _WX_LEDNUMBERCTRL_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "wxLEDNumberCtrl.h"
#endif

View File

@@ -15,7 +15,7 @@
#ifndef __WX_MULTICELL_H__
#define __WX_MULTICELL_H__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "multicell.h"
#endif

View File

@@ -14,7 +14,7 @@
#ifndef _WX_SPLITTREE_H_
#define _WX_SPLITTREE_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "splittree.h"
#endif

View File

@@ -10,7 +10,7 @@
#ifndef __CDA_base_H__
#define __CDA_base_H__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "cdbase.h"
#endif

View File

@@ -10,7 +10,7 @@
#ifndef __CDUNIXH__
#define __CDUNIXH__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "cdunix.h"
#endif

View File

@@ -9,7 +9,7 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "email.h"
#endif

View File

@@ -9,7 +9,7 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "msg.h"
#endif

View File

@@ -9,7 +9,7 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "smapi.h"
#endif
@@ -53,4 +53,4 @@ protected:
};
#endif //_WX_SMAPI_H_
#endif //_WX_SMAPI_H_

View File

@@ -9,7 +9,7 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "web.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef _OGL_BASIC_H_
#define _OGL_BASIC_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "basic.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef _OGL_BASICP_H_
#define _OGL_BASICP_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "basicp.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef _OGL_BITMAP_H_
#define _OGL_BITMAP_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "bmpshape.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef _OGL_CANVAS_H_
#define _OGL_CANVAS_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "canvas.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef _OGL_COMPOSIT_H_
#define _OGL_COMPOSIT_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "composit.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef _OGL_CONSTRNT_H_
#define _OGL_CONSTRNT_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "constrnt.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef _OGL_DIVIDED_H_
#define _OGL_DIVIDED_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "basic.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef _OGL_DRAWN_H_
#define _OGL_DRAWN_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "drawn.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef _OGL_DRAWNP_H_
#define _OGL_DRAWNP_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "drawnp.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef _OGL_LINES_H_
#define _OGL_LINES_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "lines.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef _OGL_LINESP_H_
#define _OGL_LINESP_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "linesp.h"
#endif

View File

@@ -13,7 +13,7 @@
#ifndef _MFUTILS_H_
#define _MFUTILS_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "mfutils.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef _OGL_MISC_H_
#define _OGL_MISC_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "misc.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef _OGL_OGLDIAG_H_
#define _OGL_OGLDIAG_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "ogldiag.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef _WX_PLOT_H_
#define _WX_PLOT_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "plot.h"
#endif

View File

@@ -44,7 +44,7 @@
#define wxSTC_OPTIONAL_START 3000
#define wxSTC_LEXER_START 4000
// Redoes the next action on the undo history
// Redoes the next action on the undo history.
#define wxSTC_CMD_REDO 2011
// Select all the text in the document.
@@ -70,7 +70,7 @@
#define wxSTC_MARK_MINUS 7
#define wxSTC_MARK_PLUS 8
// Shapes used for outlining column
// Shapes used for outlining column.
#define wxSTC_MARK_VLINE 9
#define wxSTC_MARK_LCORNER 10
#define wxSTC_MARK_TCORNER 11
@@ -85,11 +85,13 @@
#define wxSTC_MARK_CIRCLEMINUS 20
#define wxSTC_MARK_CIRCLEMINUSCONNECTED 21
// Invisible mark that only sets the line background color
// Invisible mark that only sets the line background color.
#define wxSTC_MARK_BACKGROUND 22
#define wxSTC_MARK_DOTDOTDOT 23
#define wxSTC_MARK_ARROWS 24
#define wxSTC_MARK_CHARACTER 10000
// Markers used for outlining column
// Markers used for outlining column.
#define wxSTC_MARKNUM_FOLDEREND 25
#define wxSTC_MARKNUM_FOLDEROPENMID 26
#define wxSTC_MARKNUM_FOLDERMIDTAIL 27
@@ -270,8 +272,7 @@
// Delete the selection or if no selection, the character before the caret.
#define wxSTC_CMD_DELETEBACK 2326
// If selection is empty or all on one line replace the selection with a tab
// character.
// If selection is empty or all on one line replace the selection with a tab character.
// If more than one line selected, indent the lines.
#define wxSTC_CMD_TAB 2327
@@ -325,40 +326,60 @@
#define wxSTC_CMD_LINESCROLLUP 2343
// Delete the selection or if no selection, the character before the caret.
// Will not delete the chraacter before at the start of a line.
// Will not delete the character before at the start of a line.
#define wxSTC_CMD_DELETEBACKNOTLINE 2344
// Move caret to first position on display line.
#define wxSTC_CMD_HOMEDISPLAY 2345
// Move caret to first position on display line extending selection to
// new caret position.
#define wxSTC_CMD_HOMEDISPLAYEXTEND 2346
// Move caret to last position on display line.
#define wxSTC_CMD_LINEENDDISPLAY 2347
// Move caret to last position on display line extending selection to new
// caret position.
#define wxSTC_CMD_LINEENDDISPLAYEXTEND 2348
#define wxSTC_EDGE_NONE 0
#define wxSTC_EDGE_LINE 1
#define wxSTC_EDGE_BACKGROUND 2
// Show caret within N lines of edge when it's scrolled to view
// If CARET_SLOP not set then centre caret on screen when it's
// scrolled to view
#define wxSTC_CARET_SLOP 0x01
// Value not used
#define wxSTC_CARET_CENTER 0x02
// If CARET_SLOP also set then reposition whenever outside slop border
// If CARET_SLOP not set then recentre even when visible
#define wxSTC_CARET_STRICT 0x04
// If CARET_XEVEN set then both left and right margins are given equal weight
// rather than favouring left following behaviour.
#define wxSTC_CARET_XEVEN 0x08
// If CARET_XJUMPS set then when caret reaches the margin the display jumps
// enough to leave the caret solidly within the display.
#define wxSTC_CARET_XJUMPS 0x10
#define wxSTC_CURSORNORMAL -1
#define wxSTC_CURSORWAIT 3
// Constants for use with SetVisiblePolicy, similar to SetCaretPolicy
// Constants for use with SetVisiblePolicy, similar to SetCaretPolicy.
#define wxSTC_VISIBLE_SLOP 0x01
#define wxSTC_VISIBLE_STRICT 0x04
// Caret policy, used by SetXCaretPolicy and SetYCaretPolicy.
// If CARET_SLOP is set, we can define a slop value: caretSlop.
// This value defines an unwanted zone (UZ) where the caret is... unwanted.
// This zone is defined as a number of pixels near the vertical margins,
// and as a number of lines near the horizontal margins.
// By keeping the caret away from the edges, it is seen within its context,
// so it is likely that the identifier that the caret is on can be completely seen,
// and that the current line is seen with some of the lines following it which are
// often dependent on that line.
#define wxSTC_CARET_SLOP 0x01
// If CARET_STRICT is set, the policy is enforced... strictly.
// The caret is centred on the display if slop is not set,
// and cannot go in the UZ if slop is set.
#define wxSTC_CARET_STRICT 0x04
// If CARET_JUMPS is set, the display is moved more energetically
// so the caret can move in the same direction longer before the policy is applied again.
#define wxSTC_CARET_JUMPS 0x10
// If CARET_EVEN is not set, instead of having symmetrical UZs,
// the left and bottom UZs are extended up to right and top UZs respectively.
// This way, we favour the displaying of useful information: the begining of lines,
// where most code reside, and the lines after the caret, eg. the body of a function.
#define wxSTC_CARET_EVEN 0x08
// Notifications
// Type of modification and the action which caused the modification
// Type of modification and the action which caused the modification.
// These are defined as a bit mask to make it easy to specify which notifications are wanted.
// One bit is set from each of SC_MOD_* and SC_PERFORMED_*.
#define wxSTC_MOD_INSERTTEXT 0x1
@@ -374,9 +395,9 @@
#define wxSTC_MOD_BEFOREDELETE 0x800
#define wxSTC_MODEVENTMASKALL 0xF77
// Symbolic key codes and modifier flags
// ASCII and other printable characters below 256
// Extended keys above 300
// Symbolic key codes and modifier flags.
// ASCII and other printable characters below 256.
// Extended keys above 300.
#define wxSTC_KEY_DOWN 300
#define wxSTC_KEY_UP 301
#define wxSTC_KEY_LEFT 302
@@ -432,6 +453,7 @@
#define wxSTC_LEX_PHP 30
#define wxSTC_LEX_BAAN 31
#define wxSTC_LEX_MATLAB 32
#define wxSTC_LEX_SCRIPTOL 33
// When a lexer specifies its language as SCLEX_AUTOMATIC it receives a
// value assigned in sequence from SCLEX_AUTOMATIC+1.
@@ -474,17 +496,6 @@
#define wxSTC_C_COMMENTDOCKEYWORD 17
#define wxSTC_C_COMMENTDOCKEYWORDERROR 18
// Lexical states for SCLEX_VB, SCLEX_VBSCRIPT
#define wxSTC_B_DEFAULT 0
#define wxSTC_B_COMMENT 1
#define wxSTC_B_NUMBER 2
#define wxSTC_B_KEYWORD 3
#define wxSTC_B_STRING 4
#define wxSTC_B_PREPROCESSOR 5
#define wxSTC_B_OPERATOR 6
#define wxSTC_B_IDENTIFIER 7
#define wxSTC_B_DATE 8
// Lexical states for SCLEX_HTML, SCLEX_XML
#define wxSTC_H_DEFAULT 0
#define wxSTC_H_TAG 1
@@ -651,6 +662,24 @@
#define wxSTC_PL_STRING_QR 29
#define wxSTC_PL_STRING_QW 30
// Lexical states for SCLEX_VB, SCLEX_VBSCRIPT
#define wxSTC_B_DEFAULT 0
#define wxSTC_B_COMMENT 1
#define wxSTC_B_NUMBER 2
#define wxSTC_B_KEYWORD 3
#define wxSTC_B_STRING 4
#define wxSTC_B_PREPROCESSOR 5
#define wxSTC_B_OPERATOR 6
#define wxSTC_B_IDENTIFIER 7
#define wxSTC_B_DATE 8
// Lexical states for SCLEX_PROPERTIES
#define wxSTC_PROPS_DEFAULT 0
#define wxSTC_PROPS_COMMENT 1
#define wxSTC_PROPS_SECTION 2
#define wxSTC_PROPS_ASSIGNMENT 3
#define wxSTC_PROPS_DEFVAL 4
// Lexical states for SCLEX_LATEX
#define wxSTC_L_DEFAULT 0
#define wxSTC_L_COMMAND 1
@@ -688,6 +717,7 @@
#define wxSTC_ERR_PERL 6
#define wxSTC_ERR_NET 7
#define wxSTC_ERR_LUA 8
#define wxSTC_ERR_CTAG 9
#define wxSTC_ERR_DIFF_CHANGED 10
#define wxSTC_ERR_DIFF_ADDITION 11
#define wxSTC_ERR_DIFF_DELETION 12
@@ -712,7 +742,16 @@
#define wxSTC_MAKE_TARGET 5
#define wxSTC_MAKE_IDEOL 9
// Lexical states for the SCLEX_CONF (Apache Configuration Files Lexer)
// Lexical states for SCLEX_DIFF
#define wxSTC_DIFF_DEFAULT 0
#define wxSTC_DIFF_COMMENT 1
#define wxSTC_DIFF_COMMAND 2
#define wxSTC_DIFF_HEADER 3
#define wxSTC_DIFF_POSITION 4
#define wxSTC_DIFF_DELETED 5
#define wxSTC_DIFF_ADDED 6
// Lexical states for SCLEX_CONF (Apache Configuration Files Lexer)
#define wxSTC_CONF_DEFAULT 0
#define wxSTC_CONF_COMMENT 1
#define wxSTC_CONF_NUMBER 2
@@ -724,7 +763,7 @@
#define wxSTC_CONF_IP 8
#define wxSTC_CONF_DIRECTIVE 9
// Avenue
// Lexical states for SCLEX_AVE, Avenue
#define wxSTC_AVE_DEFAULT 0
#define wxSTC_AVE_COMMENT 1
#define wxSTC_AVE_NUMBER 2
@@ -782,7 +821,7 @@
#define wxSTC_EIFFEL_IDENTIFIER 7
#define wxSTC_EIFFEL_STRINGEOL 8
// Lexical states for the SCLEX_NNCRONTAB (nnCron crontab Lexer)
// Lexical states for SCLEX_NNCRONTAB (nnCron crontab Lexer)
#define wxSTC_NNCRONTAB_DEFAULT 0
#define wxSTC_NNCRONTAB_COMMENT 1
#define wxSTC_NNCRONTAB_TASK 2
@@ -805,6 +844,28 @@
#define wxSTC_MATLAB_OPERATOR 6
#define wxSTC_MATLAB_IDENTIFIER 7
// Lexical states for SCLEX_SCRIPTOL
#define wxSTC_SCRIPTOL_DEFAULT 0
#define wxSTC_SCRIPTOL_COMMENT 1
#define wxSTC_SCRIPTOL_COMMENTLINE 2
#define wxSTC_SCRIPTOL_COMMENTDOC 3
#define wxSTC_SCRIPTOL_NUMBER 4
#define wxSTC_SCRIPTOL_WORD 5
#define wxSTC_SCRIPTOL_STRING 6
#define wxSTC_SCRIPTOL_CHARACTER 7
#define wxSTC_SCRIPTOL_UUID 8
#define wxSTC_SCRIPTOL_PREPROCESSOR 9
#define wxSTC_SCRIPTOL_OPERATOR 10
#define wxSTC_SCRIPTOL_IDENTIFIER 11
#define wxSTC_SCRIPTOL_STRINGEOL 12
#define wxSTC_SCRIPTOL_VERBATIM 13
#define wxSTC_SCRIPTOL_REGEX 14
#define wxSTC_SCRIPTOL_COMMENTLINEDOC 15
#define wxSTC_SCRIPTOL_WORD2 16
#define wxSTC_SCRIPTOL_COMMENTDOCKEYWORD 17
#define wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR 18
#define wxSTC_SCRIPTOL_COMMENTBASIC 19
// END of generated section
//----------------------------------------------------------------------
@@ -845,37 +906,37 @@ public:
// and regenerate
// Add text to the document
// Add text to the document.
void AddText(const wxString& text);
// Add array of cells to document
// Add array of cells to document.
void AddStyledText(const wxMemoryBuffer& data);
// Insert string at a position
// Insert string at a position.
void InsertText(int pos, const wxString& text);
// Delete all text in the document
// Delete all text in the document.
void ClearAll();
// Set all style bytes to 0, remove all folding information
// Set all style bytes to 0, remove all folding information.
void ClearDocumentStyle();
// The number of characters in the document
// The number of characters in the document.
int GetLength();
// Returns the character byte at the position
// Returns the character byte at the position.
int GetCharAt(int pos);
// Returns the position of the caret
// Returns the position of the caret.
int GetCurrentPos();
// Returns the position of the opposite end of the selection to the caret
// Returns the position of the opposite end of the selection to the caret.
int GetAnchor();
// Returns the style byte at the position
// Returns the style byte at the position.
int GetStyleAt(int pos);
// Redoes the next action on the undo history
// Redoes the next action on the undo history.
void Redo();
// Choose between collecting actions into the undo
@@ -892,10 +953,10 @@ public:
// Retrieve a buffer of cells.
wxMemoryBuffer GetStyledText(int startPos, int endPos);
// Are there any redoable actions in the undo history.
// Are there any redoable actions in the undo history?
bool CanRedo();
// Retrieve the line number at which a particular marker is located
// Retrieve the line number at which a particular marker is located.
int MarkerLineFromHandle(int handle);
// Delete a marker.
@@ -949,23 +1010,21 @@ public:
void SetEOLMode(int eolMode);
// Set the current styling position to pos and the styling mask to mask.
// The styling mask can be used to protect some bits in each styling byte from
// modification.
// The styling mask can be used to protect some bits in each styling byte from modification.
void StartStyling(int pos, int mask);
// Change style from current styling position for length characters to a style
// and move the current styling position to after this newly styled segment.
void SetStyling(int length, int style);
// Is drawing done first into a buffer or direct to the screen.
// Is drawing done first into a buffer or direct to the screen?
bool GetBufferedDraw();
// If drawing is buffered then each line of text is drawn into a bitmap buffer
// before drawing it to the screen to avoid flicker.
void SetBufferedDraw(bool buffered);
// Change the visible size of a tab to be a multiple of the width of a space
// character.
// Change the visible size of a tab to be a multiple of the width of a space character.
void SetTabWidth(int tabWidth);
// Retrieve the visible size of a tab.
@@ -989,10 +1048,10 @@ public:
// Add a marker to a line, returning an ID which can be used to find or delete the marker.
int MarkerAdd(int line, int markerNumber);
// Delete a marker from a line
// Delete a marker from a line.
void MarkerDelete(int line, int markerNumber);
// Delete all markers with a particular number from all lines
// Delete all markers with a particular number from all lines.
void MarkerDeleteAll(int markerNumber);
// Get a bit mask of all the markers set on a line.
@@ -1094,8 +1153,7 @@ public:
// Get the time in milliseconds that the caret is on and off. 0 = steady on.
void SetCaretPeriod(int periodMilliseconds);
// Set the set of characters making up words for when moving or selecting
// by word.
// Set the set of characters making up words for when moving or selecting by word.
void SetWordChars(const wxString& characters);
// Start a sequence of actions that is undone and redone as a unit.
@@ -1117,8 +1175,14 @@ public:
// Retrieve the foreground colour of an indicator.
wxColour IndicatorGetForeground(int indic);
// Divide each styling byte into lexical class bits (default:5) and indicator
// bits (default:3). If a lexer requires more than 32 lexical states, then this
// Set the foreground colour of all whitespace and whether to use this setting.
void SetWhitespaceForeground(bool useSetting, const wxColour& fore);
// Set the background colour of all whitespace and whether to use this setting.
void SetWhitespaceBackground(bool useSetting, const wxColour& back);
// Divide each styling byte into lexical class bits (default: 5) and indicator
// bits (default: 3). If a lexer requires more than 32 lexical states, then this
// is used to expand the possible states.
void SetStyleBits(int bits);
@@ -1137,7 +1201,7 @@ public:
// Is the background of the line containing the caret in a different colour?
bool GetCaretLineVisible();
// Dsplay the background of the line containing the caret in a different colour.
// Display the background of the line containing the caret in a different colour.
void SetCaretLineVisible(bool show);
// Get the colour of the background of the line containing the caret.
@@ -1161,8 +1225,7 @@ public:
// Is there an auto-completion list visible?
bool AutoCompActive();
// Retrieve the position of the caret when the auto-completion list was
// displayed.
// Retrieve the position of the caret when the auto-completion list was displayed.
int AutoCompPosStart();
// User has selected an item so remove the list and insert the selection.
@@ -1171,8 +1234,8 @@ public:
// Define a set of character that when typed cancel the auto-completion list.
void AutoCompStops(const wxString& characterSet);
// Change the separator character in the string setting up an auto-completion
// list. Default is space but can be changed if items contain space.
// Change the separator character in the string setting up an auto-completion list.
// Default is space but can be changed if items contain space.
void AutoCompSetSeparator(int separatorCharacter);
// Retrieve the auto-completion list separator character.
@@ -1207,16 +1270,18 @@ public:
// Display a list of strings and send notification when user chooses one.
void UserListShow(int listType, const wxString& itemList);
// Set whether or not autocompletion is hidden automatically when nothing matches
// Set whether or not autocompletion is hidden automatically when nothing matches.
void AutoCompSetAutoHide(bool autoHide);
// Retrieve whether or not autocompletion is hidden automatically when nothing matches
// Retrieve whether or not autocompletion is hidden automatically when nothing matches.
bool AutoCompGetAutoHide();
// Set whether or not autocompletion deletes any word characters after the inserted text upon completion
// Set whether or not autocompletion deletes any word characters
// after the inserted text upon completion.
void AutoCompSetDropRestOfWord(bool dropRestOfWord);
// Retrieve whether or not autocompletion deletes any word characters after the inserted text upon completion
// Retrieve whether or not autocompletion deletes any word characters
// after the inserted text upon completion.
bool AutoCompGetDropRestOfWord();
// Set the number of spaces used for one level of indentation.
@@ -1305,7 +1370,7 @@ public:
// Find some text in the document.
int FindText(int minPos, int maxPos, const wxString& text, int flags=0);
// On Windows will draw the document into a display context such as a printer.
// On Windows, will draw the document into a display context such as a printer.
int FormatRange(bool doDraw,
int startPos,
int endPos,
@@ -1371,7 +1436,7 @@ public:
// Will a paste succeed?
bool CanPaste();
// Are there any undoable actions in the undo history.
// Are there any undoable actions in the undo history?
bool CanUndo();
// Delete the undo history.
@@ -1401,16 +1466,16 @@ public:
// Retrieve the number of characters in the document.
int GetTextLength();
// Set to overtype (true) or insert mode
// Set to overtype (true) or insert mode.
void SetOvertype(bool overtype);
// Returns true if overtype mode is active otherwise false is returned.
bool GetOvertype();
// Set the width of the insert mode caret
// Set the width of the insert mode caret.
void SetCaretWidth(int pixelWidth);
// Returns the width of the insert mode caret
// Returns the width of the insert mode caret.
int GetCaretWidth();
// Sets the position that starts the target which is used for updating the
@@ -1445,10 +1510,10 @@ public:
// Returns length of range or -1 for failure in which case target is not moved.
int SearchInTarget(const wxString& text);
// Set the search flags used by SearchInTarget
// Set the search flags used by SearchInTarget.
void SetSearchFlags(int flags);
// Get the search flags used by SearchInTarget
// Get the search flags used by SearchInTarget.
int GetSearchFlags();
// Show a call tip containing a definition near position pos.
@@ -1510,53 +1575,90 @@ public:
// Ensure a particular line is visible by expanding any header line hiding it.
void EnsureVisible(int line);
// Set some debugging options for folding
// Set some debugging options for folding.
void SetFoldFlags(int flags);
// Ensure a particular line is visible by expanding any header line hiding it.
// Use the currently set visibility policy to determine which range to display.
void EnsureVisibleEnforcePolicy(int line);
// Sets whether a tab pressed when caret is within indentation indents
// Sets whether a tab pressed when caret is within indentation indents.
void SetTabIndents(bool tabIndents);
// Does a tab pressed when caret is within indentation indent?
bool GetTabIndents();
// Sets whether a backspace pressed when caret is within indentation unindents
// Sets whether a backspace pressed when caret is within indentation unindents.
void SetBackSpaceUnIndents(bool bsUnIndents);
// Does a backspace pressed when caret is within indentation unindent?
bool GetBackSpaceUnIndents();
// Sets the time the mouse must sit still to generate a mouse dwell event
// Sets the time the mouse must sit still to generate a mouse dwell event.
void SetMouseDwellTime(int periodMilliseconds);
// Retrieve the time the mouse must sit still to generate a mouse dwell event
// Retrieve the time the mouse must sit still to generate a mouse dwell event.
int GetMouseDwellTime();
// Get position of start of word
// Get position of start of word.
int WordStartPosition(int pos, bool onlyWordCharacters);
// Get position of end of word
// Get position of end of word.
int WordEndPosition(int pos, bool onlyWordCharacters);
// Sets whether text is word wrapped
// Sets whether text is word wrapped.
void SetWrapMode(int mode);
// Retrieve whether text is word wrapped
// Retrieve whether text is word wrapped.
int GetWrapMode();
// Sets the degree of caching of layout information
// Sets the degree of caching of layout information.
void SetLayoutCache(int mode);
// Retrieve the degree of caching of layout information
// Retrieve the degree of caching of layout information.
int GetLayoutCache();
// Move the caret inside current view if it's not there already
// Sets the document width assumed for scrolling.
void SetScrollWidth(int pixelWidth);
// Retrieve the document width assumed for scrolling.
int GetScrollWidth();
// Measure the pixel width of some text in a particular style.
// Nul terminated text argument.
// Does not handle tab or control characters.
int TextWidth(int style, const wxString& text);
// Sets the scroll range so that maximum scroll position has
// the last line at the bottom of the view (default).
// Setting this to false allows scrolling one page below the last line.
void SetEndAtLastLine(bool endAtLastLine);
// Retrieve whether the maximum scroll position has the last
// line at the bottom of the view.
int GetEndAtLastLine();
// Retrieve the height of a particular line of text in pixels.
int TextHeight(int line);
// Move caret to first position on display line.
void HomeDisplay();
// Move caret to first position on display line extending selection to
// new caret position.
void HomeDisplayExtend();
// Move caret to last position on display line.
void LineEndDisplay();
// Move caret to last position on display line extending selection to new
// caret position.
void LineEndDisplayExtend();
// Move the caret inside current view if it's not there already.
void MoveCaretInsideView();
// How many characters are on a line, not including end of line characters.
// How many characters are on a line, not including end of line characters?
int LineLength(int line);
// Highlight the characters at two positions.
@@ -1568,10 +1670,10 @@ public:
// Find the position of a matching brace or INVALID_POSITION if no match.
int BraceMatch(int pos);
// Are the end of line characters visible.
// Are the end of line characters visible?
bool GetViewEOL();
// Make the end of line characters visible or invisible
// Make the end of line characters visible or invisible.
void SetViewEOL(bool visible);
// Retrieve a pointer to the document object.
@@ -1614,9 +1716,6 @@ public:
// Does not ensure the selection is visible.
int SearchPrev(int flags, const wxString& text);
// Set the way the line the caret is on is kept visible.
void SetCaretPolicy(int caretPolicy, int caretSlop);
// Retrieves the number of lines completely visible.
int LinesOnScreen();
@@ -1624,7 +1723,7 @@ public:
// the wrong mouse button.
void UsePopUp(bool allowPopUp);
// Is the selection a rectangular. The alternative is the more common stream selection.
// Is the selection rectangular? The alternative is the more common stream selection.
bool SelectionIsRectangle();
// Set the zoom level. This number of points is added to the size of all fonts.
@@ -1647,62 +1746,73 @@ public:
// Get which document modification events are sent to the container.
int GetModEventMask();
// Change internal focus flag
// Change internal focus flag.
void SetSTCFocus(bool focus);
// Get internal focus flag
// Get internal focus flag.
bool GetSTCFocus();
// Change error status - 0 = OK
// Change error status - 0 = OK.
void SetStatus(int statusCode);
// Get error status
// Get error status.
int GetStatus();
// Set whether the mouse is captured when its button is pressed
// Set whether the mouse is captured when its button is pressed.
void SetMouseDownCaptures(bool captures);
// Get whether mouse gets captured
// Get whether mouse gets captured.
bool GetMouseDownCaptures();
// Sets the cursor to one of the SC_CURSOR* values
// Sets the cursor to one of the SC_CURSOR* values.
void SetCursor(int cursorType);
// Get cursor type
// Get cursor type.
int GetCursor();
// Change the way control characters are displayed:
// If symbol is < 32, keep the drawn way, else, use the given character
// If symbol is < 32, keep the drawn way, else, use the given character.
void SetControlCharSymbol(int symbol);
// Get the way control characters are displayed
// Get the way control characters are displayed.
int GetControlCharSymbol();
// Move to the previous change in capitalistion
// Move to the previous change in capitalisation.
void WordPartLeft();
// Move to the previous change in capitalistion extending selection to new caret position.
// Move to the previous change in capitalisation extending selection
// to new caret position.
void WordPartLeftExtend();
// Move to the change next in capitalistion
// Move to the change next in capitalisation.
void WordPartRight();
// Move to the next change in capitalistion extending selection to new caret position.
// Move to the next change in capitalisation extending selection
// to new caret position.
void WordPartRightExtend();
// Set the way the display area is determined when a particular line is to be moved to.
// Set the way the display area is determined when a particular line
// is to be moved to by Find, FindNext, GotoLine, etc.
void SetVisiblePolicy(int visiblePolicy, int visibleSlop);
// Delete back from the current position to the start of the line
// Delete back from the current position to the start of the line.
void DelLineLeft();
// Delete forwards from the current position to the end of the line
// Delete forwards from the current position to the end of the line.
void DelLineRight();
// Get and Set the xOffset (ie, horizonal scroll position)
// Get and Set the xOffset (ie, horizonal scroll position).
void SetXOffset(int newOffset);
int GetXOffset();
// Set the way the caret is kept visible when going sideway.
// The exclusion zone is given in pixels.
void SetXCaretPolicy(int caretPolicy, int caretSlop);
// Set the way the line the caret is on is kept visible.
// The exclusion zone is given in lines.
void SetYCaretPolicy(int caretPolicy, int caretSlop);
// Start notifying the container of all key presses and commands.
void StartRecord();
@@ -1986,6 +2096,7 @@ BEGIN_DECLARE_EVENT_TYPES()
DECLARE_LOCAL_EVENT_TYPE(wxEVT_STC_START_DRAG, 1669)
DECLARE_LOCAL_EVENT_TYPE(wxEVT_STC_DRAG_OVER, 1670)
DECLARE_LOCAL_EVENT_TYPE(wxEVT_STC_DO_DROP, 1671)
DECLARE_LOCAL_EVENT_TYPE(wxEVT_STC_ZOOM, 1672)
END_DECLARE_EVENT_TYPES()
#else
enum {
@@ -2011,6 +2122,7 @@ END_DECLARE_EVENT_TYPES()
wxEVT_STC_START_DRAG,
wxEVT_STC_DRAG_OVER,
wxEVT_STC_DO_DROP,
wxEVT_STC_ZOOM,
};
#endif
@@ -2041,6 +2153,7 @@ typedef void (wxEvtHandler::*wxStyledTextEventFunction)(wxStyledTextEvent&);
#define EVT_STC_START_DRAG(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_START_DRAG, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxStyledTextEventFunction) & fn, (wxObject *) NULL ),
#define EVT_STC_DRAG_OVER(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_DRAG_OVER, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxStyledTextEventFunction) & fn, (wxObject *) NULL ),
#define EVT_STC_DO_DROP(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_DO_DROP, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxStyledTextEventFunction) & fn, (wxObject *) NULL ),
#define EVT_STC_ZOOM(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_ZOOM, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxStyledTextEventFunction) & fn, (wxObject *) NULL ),
#endif
//----------------------------------------------------------------------

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_BMP_H_
#define _WX_XH_BMP_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_bmp.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_BMPBT_H_
#define _WX_XH_BMPBT_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_bmpbt.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_BTTN_H_
#define _WX_XH_BTTN_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_bttn.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_CALD_H_
#define _WX_XH_CALD_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_cald.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_CHCKB_H_
#define _WX_XH_CHCKB_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_chckb.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_CHCKL_H_
#define _WX_XH_CHCKL_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_chckl.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_CHOIC_H_
#define _WX_XH_CHOIC_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_choic.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_COMBO_H_
#define _WX_XH_COMBO_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_combo.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_DLG_H_
#define _WX_XH_DLG_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_dlg.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_FRAME_H_
#define _WX_XH_FRAME_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_frame.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_GAUGE_H_
#define _WX_XH_GAUGE_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_gauge.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_GDCTL_H_
#define _WX_XH_GDCTL_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_gdctl.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_HTML_H_
#define _WX_XH_HTML_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_html.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_LISTB_H_
#define _WX_XH_LISTB_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_listb.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_LISTC_H_
#define _WX_XH_LISTC_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_listc.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_MENU_H_
#define _WX_XH_MENU_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_menu.h"
#endif

View File

@@ -10,7 +10,7 @@
#ifndef _WX_XH_NOTBK_H_
#define _WX_XH_NOTBK_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_notbk.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_PANEL_H_
#define _WX_XH_PANEL_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_panel.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_RADBT_H_
#define _WX_XH_RADBT_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_radbt.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_RADBX_H_
#define _WX_XH_RADBX_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_radbx.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_SCROL_H_
#define _WX_XH_SCROL_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_scrol.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_SIZER_H_
#define _WX_XH_SIZER_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_sizer.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_SLIDR_H_
#define _WX_XH_SLIDR_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_slidr.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_SPIN_H_
#define _WX_XH_SPIN_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_spin.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_STBMP_H_
#define _WX_XH_STBMP_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_stbmp.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_STBOX_H_
#define _WX_XH_STBOX_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_stbox.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_STLIN_H_
#define _WX_XH_STLIN_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_stlin.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_STTXT_H_
#define _WX_XH_STTXT_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_sttxt.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_TEXT_H_
#define _WX_XH_TEXT_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_text.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_TOOLB_H_
#define _WX_XH_TOOLB_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_toolb.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_TREE_H_
#define _WX_XH_TREE_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_tree.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XH_UNKWN_H_
#define _WX_XH_UNKWN_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_unkwn.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XML_H_
#define _WX_XML_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xml.h"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef _WX_XMLRES_H_
#define _WX_XMLRES_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xmlres.h"
#endif
@@ -215,6 +215,9 @@ public:
// Sets the global resources object and returns a pointer to the previous one (may be NULL).
static wxXmlResource *Set(wxXmlResource *res);
// Returns flags, which may be a bitlist of wxXRC_USE_LOCALE and wxXRC_NO_SUBCLASSING.
int GetFlags() { return m_flags; }
protected:
// Scans the resources list for unloaded files and loads them. Also reloads
// files that have been modified since last loading.
@@ -229,9 +232,6 @@ protected:
// Creates a resource from information in the given node.
wxObject *CreateResFromNode(wxXmlNode *node, wxObject *parent, wxObject *instance = NULL);
// Returns flags, which may be a bitlist of wxXRC_USE_LOCALE and wxXRC_NO_SUBCLASSING.
int GetFlags() { return m_flags; }
private:
long m_version;

View File

@@ -6,7 +6,7 @@
#ifndef __WDR_dialogs_H__
#define __WDR_dialogs_H__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "dialogs_wdr.cpp"
#endif

View File

@@ -8,7 +8,7 @@
#ifndef __simple_H__
#define __simple_H__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "simple.cpp"
#endif

View File

@@ -11,7 +11,7 @@
#ifndef __test_H__
#define __test_H__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "test.cpp"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef __NEW_TEST_G__
#define __NEW_TEST_G__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "fl_demo1.h"
#endif

View File

@@ -9,7 +9,7 @@
static const char sccsid[] = "%W% %G%";
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation
#pragma interface
#endif

View File

@@ -12,7 +12,7 @@
#ifndef _MMBMAN_APP_H_
#define _MMBMAN_APP_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "mmbman.cpp"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef _MMBOARD_APP_H_
#define _MMBOARD_APP_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "mmboard.cpp"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef _OGLSAMPLE_DOC_H_
#define _OGLSAMPLE_DOC_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
// #pragma interface
#endif

View File

@@ -9,7 +9,7 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
// #pragma interface
#endif

View File

@@ -12,7 +12,7 @@
#ifndef _OGLSAMPLE_PALETTE_H_
#define _OGLSAMPLE_PALETTE_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
// #pragma interface
#endif

View File

@@ -12,7 +12,7 @@
#ifndef _OGLSAMPLE_VIEW_H_
#define _OGLSAMPLE_VIEW_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
// #pragma interface "view.h"
#endif

View File

@@ -12,7 +12,7 @@
#ifndef _STUDIO_CSPALETTE_H_
#define _STUDIO_CSPALETTE_H_
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
// #pragma interface
#endif

Some files were not shown because too many files have changed in this diff Show More