Commit Graph

253 Commits

Author SHA1 Message Date
Vadim Zeitlin
a580f0b994 Remove unnecessary wxUSE_MFC option.
This didn't do (almost) anything, so just remove it, using MFC and wxWidgets
together works just fine without it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-12-16 20:16:16 +00:00
Jouk Jansen
7d63c9560f Update setup.h for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-05 09:33:05 +00:00
Jouk Jansen
22d4c8b2c7 Synchronizing setup.h_vms with setup.h.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-18 14:52:33 +00:00
Jouk Jansen
fb05281b81 Update of OpenVMS build support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-26 08:29:52 +00:00
Vadim Zeitlin
49b8d79c87 Remove (Open)Watcom support.
This compiler is not being developed since several years and almost certainly
can't be used to build the current wxWidgets sources anyhow, so remove all
support for it, including a lot of extremely ugly workarounds for its bugs
with template functions.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-05-16 13:01:06 +00:00
Vadim Zeitlin
0d4ad161d5 Remove support for Win9x from wxMSW.
Most importantly, this allows us to remove all MSLU-related stuff.

Some functions which were previously loaded dynamically can now be just used
directly, too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-05-16 02:33:40 +00:00
Vadim Zeitlin
f51dc81c85 Add wxDynamicLibrary::GetModuleFromAddress().
Use dladdr() under Unix, if available, to provide the same functionality as we
get from GetModuleHandleEx() under MSW and export it in a new public function.

Closes #15248.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-11 16:04:06 +00:00
Paul Cornett
967a94c91a remove WXWIN_COMPATIBILITY_2_6, add WXWIN_COMPATIBILITY_3_0
closes #15792

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-04 20:07:33 +00:00
Vadim Zeitlin
50805a002a Work around wrong vsscanf() declaration under HP-UX.
Under this system vsscanf() is declared as taking a non-const char* as first
argument which prevented our code using it from compiling. Wrap it in
wxCRT_VsscanfA() adding the necessary const_cast<> to fix this.

Closes #15638.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-12-03 13:38:35 +00:00
Vadim Zeitlin
9ed99f82da Remove support for Gnome printing from wxGTK.
It was replaced by GTK+ printing several years ago and is almost never used
any longer anyhow, so any problems in this code (and there are some) would
never be found and fixed.

Also update the message catalogs to avoid having the strings not used any
more, as they were only used in Gnome printing code.

Closes #15517.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-10-01 17:09:02 +00:00
Vadim Zeitlin
4c8acbdfd5 Just forward Stricmp() in wx/string.h to wxCRT_StricmpA().
Don't redo the tests already done in wx/wxcrtbase.h in wx/string.h too,
especially as they were not done correctly there (they didn't take into
account the case of MinGW in strict ANSI mode). Just call wxCRT_StricmpA().

This also allows us to get rid of HAVE_STRCASECMP_IN_STRING[S]_H tests in
configure.

Closes #15349.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-17 17:27:20 +00:00
Vadim Zeitlin
a94529575a Add wxUSE_PREFERENCES_EDITOR and the corresponding configure option.
This was somehow forgotten when wxPreferencesEditor was added.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-15 15:14:59 +00:00
Vadim Zeitlin
4e2756feef Remove remaining occurrences of wxUSE_XPM_IN_MSW.
This symbol is not used since a very long time as XPM support is now always
available in wxMSW and most of its occurrences were removed almost 10 years
ago, just remove the remaining ones too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-31 01:11:50 +00:00
Jouk Jansen
c18621dd43 OpenVMS configuration update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-21 11:11:55 +00:00
Jouk Jansen
8f4e96c0e3 Update setup.h for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-11 11:15:21 +00:00
Jouk Jansen
1dae0c3b6f Update setup.h for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-09-19 11:28:12 +00:00
Jouk Jansen
de3d7096fe Update of OpenVMS compile support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-28 06:27:50 +00:00
Jouk Jansen
bc9d3d911c updated setup.h for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-23 14:44:29 +00:00
Jouk Jansen
c4921f7b3b updated setup.h for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-23 13:43:18 +00:00
Vadim Zeitlin
afbf46a317 Implement wxNotificationMessage using libnotify in wxGTK.
Use libnotify -- if detected by configure -- to provide native notifications
in wxGTK. Our API maps to libnotify one in rather straightforward way, we
might consider extending it to cover more of libnotify functionality
(categories, user-defined icons and, especially, actions) later.

Also update the dialogs sample to show another kind of notification and the
documentation to clarify the behaviour of various methods.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-27 15:36:54 +00:00
Jouk Jansen
2026fd77f5 Add wxUSE_COMPILER_TLS to OpenVMS setup file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-29 06:44:00 +00:00
Jouk Jansen
d1485d8177 update setup for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-23 09:30:14 +00:00
Jouk Jansen
01edb63741 Updates for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-19 13:41:28 +00:00
Jouk Jansen
67a99b7c79 Update setup for OpenVMS to make wxX11 work again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-07 10:33:31 +00:00
Vadim Zeitlin
be1c88bf3e Remove wxHAVE_GLIBC2 from configure, always predefine _GNU_SOURCE.
We used to test for glibc version first and predefined _GNU_SOURCE only if it
was greater than 2.1 but there doesn't seem to be any harm to just always
predefine _GNU_SOURCE under Linux (not that there are any systems with glibc <
2.1 left anyhow). Also do it much earlier to ensure that all tests are
affected by it.

And as we don't use wxHAVE_GLIBC2 anywhere else just remove it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-07 00:59:40 +00:00
Jouk Jansen
5ced53e599 Updates to compile WX on OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-07 09:42:06 +00:00
Jouk Jansen
823093e4a4 Upadte setup for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-03 09:38:44 +00:00
Jouk Jansen
e2d313d19d Update setup fort OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-29 14:19:09 +00:00
Jouk Jansen
e38e588581 Disable webview on OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-26 14:28:32 +00:00
Jouk Jansen
b175dd2c5b Update setup for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-12 11:13:05 +00:00
Jouk Jansen
179dbf40de Update makefiles for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-08-30 09:51:21 +00:00
Jouk Jansen
7f1b6179cd Update setup for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-08-26 13:01:40 +00:00
Jouk Jansen
de6db7c103 Add wxUSE_DC_TRANSFORM_MATRIX to setup for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-04-27 10:26:08 +00:00
Jouk Jansen
4ac8367504 Update configuration for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-03-31 10:52:30 +00:00
Vadim Zeitlin
02f170d7be Remove REMOVE_UNUSED_ARG option from setup.h files.
This identifier wasn't used anywhere as WXUNUSED() is always defined as
nothing for all compilers since quite some time.

Also moved wxUSE_IOSTREAMH together with the other wxUSE_STD_XXX options and
removed the "compiler (mis)features" section which became empty after doing
this.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-03-30 14:16:25 +00:00
Jouk Jansen
6935871895 Update configuration for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-03-18 07:16:00 +00:00
Jouk Jansen
07549c391e update configuration for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-01-03 13:46:00 +00:00
Vadim Zeitlin
3931f3ecc1 Test for wcsftime() in configure as it's not available everywhere.
Contrary to the comment in wx/wxcrtbase.h, wcsftime() doesn't seem to be
available under quite all the systems, notably it doesn't seem to be present
in OpenBSD at all, even in the very latest version.

Add a configure test for this function and fall back to our own implementation
if the system doesn't have it.

Closes #12766.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-25 14:18:58 +00:00
Jouk Jansen
38e5440573 Include compilation of tests for OpenVMS (part1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-15 09:51:48 +00:00
Jouk Jansen
76d23441fc Update SETUP for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-12 07:15:46 +00:00
Jouk Jansen
f0dd5fd97d update compile configuration for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-08-19 07:13:01 +00:00
Jouk Jansen
0d3d9817c0 allow USE_UNICODE=1 for wxMOTIF on OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-01 12:03:36 +00:00
Jouk Jansen
d920252a21 synchronize setup.h_vms with setup.h.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-06-25 08:47:42 +00:00
Jouk Jansen
dfe77b113f Update configuration for wxX11 on OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-28 13:31:41 +00:00
Jouk Jansen
740ebe19a4 Updating setup for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-07 13:38:53 +00:00
Jouk Jansen
07dc8f049e synchronizing setup.h_vms with setup_h.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-16 09:15:32 +00:00
Jouk Jansen
b8cfc639ce Update OpenVMS compile support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-06 09:47:19 +00:00
Jouk Jansen
e1cf09d918 Updates to make wxWidgets compaile on OpenVMS again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-25 11:16:32 +00:00
Jouk Jansen
1111fe434b undefine not working FSWATCHER from OpenVMS compile setup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-04 07:26:55 +00:00
Jouk Jansen
06b4070d7c Fixes for compilation on OpenVMS platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-26 14:24:06 +00:00