Commit Graph

25201 Commits

Author SHA1 Message Date
Julian Smart
3134f9338b Typo corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 16:11:04 +00:00
Ryan Norton
190c958182 native wxFontDialog for carbon, second shot
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 15:36:28 +00:00
Dimitri Schoolwerth
a8d628fcc5 added missing include for non-PCH compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 15:23:43 +00:00
Włodzimierz Skiba
f510b7b2f3 Missed labels to replace number of 'topicNNN' in anchors. Consistent use of -dtor/-ctor addition in anchors. Content and links to TCP/DDE/Base Server/Client/Connection in correct places.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 15:13:52 +00:00
Vadim Zeitlin
90fc4a0ccb don't use non blocking sockets if wxApp::IsMainLoopRunnning() returns false (closes 994293)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 10:52:32 +00:00
Vadim Zeitlin
5f4f5b58f6 added wxApp::IsMainLoopRunnning() (see bug 994293)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 10:51:11 +00:00
Vadim Zeitlin
9413911860 added tests for deleting and renaming entries and groups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 10:38:08 +00:00
Vadim Zeitlin
6dda7a7521 assert that name, not full path, is used in RenameEntry(); fixed RenameGroup() which was completely broken for groups with subgroups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 10:37:45 +00:00
Vadim Zeitlin
701fb11eb5 fixed deletion of last group in the config file (bugs 849088 and 902147)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 10:18:11 +00:00
Vadim Zeitlin
c8adf5ef39 don't try to delete our config file in DeleteAll() if we don't have any; don't assert when trying to delete an entry which doesn't exist (for consistency with DeleteGroup() and wxRegConfig)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 08:53:23 +00:00
Vadim Zeitlin
45d51f194a don't add dummy empty line at the end when reading from stream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 08:42:58 +00:00
Vadim Zeitlin
4c420a80e0 small optimization in wxConfigPathChanger: don't change the path if it is already the same as requested
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 08:29:15 +00:00
Vadim Zeitlin
384198de1b forward declare wxOutputStream (compilation fix for !USE_PCH)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 08:28:14 +00:00
Vadim Zeitlin
835fab506e blind warning fix in wxUmaskChanger
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 08:26:55 +00:00
Vadim Zeitlin
9db6158ab8 added SetPath(), entries and groups enumerations tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 08:24:28 +00:00
Ron Lee
fdefae196a Clean up the soversion/flavour labelling of binary runtime packages.
Split out a common wxPython package so the runtime support for it
doesn't need to conflict any more either.

Makefile.in was apparently committed from out of date bakefiles
so it is included here again too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 05:14:55 +00:00
Dimitri Schoolwerth
8f7fa6f8f9 removed tab character
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 23:46:42 +00:00
Vadim Zeitlin
17c24d37c6 started wxFileConfig unit test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 23:17:19 +00:00
Vadim Zeitlin
a121d72052 added wxFileConfig::Save(stream); documented it in new, separate from wxConfig, wxFileConfig doc file (replaces patches 902372 and 900889)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 22:55:08 +00:00
Vadim Zeitlin
e1cc687422 don't keep a dirty flag in each entry/group, this is totally wasteful as a single flag in wxFileConfig itself is enough; do reset the dirty flag after Flush()ing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 22:34:09 +00:00
Vadim Zeitlin
608299859d use wxFileName::MacSetTypeAndCreator() in Flush() instead of duplicating its code here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 22:18:27 +00:00
Vadim Zeitlin
8482e4bdb9 added wxUmaskChanger class and wxCHANGE_UMASK macro and use them instead of duplicating the same umask-setting code in several places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 22:12:58 +00:00
Václav Slavík
a761df69a3 fixed menu destruction if it was removed from menubar with Remove
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 21:00:45 +00:00
Václav Slavík
e25c7537ff fixed transiency when the parent is MDI child frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 19:38:32 +00:00
Julian Smart
bdacb147ee Workaround for special menu items not always being enabled. Use
with UI update events.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 18:06:15 +00:00
Václav Slavík
7fbe5489ad fixed crash on invalid data (patch 1039453)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 16:31:58 +00:00
Vadim Zeitlin
7d9bf1f11c don't include headers not needed when wxUSE_GUI == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 16:10:46 +00:00
Robert Roebling
06fda9e808 Reworked TLW and app activation event code, also
moved it to toplevel.cpp where it belongs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 14:13:48 +00:00
Vadim Zeitlin
e5d4ef7410 store bitmap data in premultiplied by alpha format in wxBitmap/wxDIB (patch 991172)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 14:03:52 +00:00
Vadim Zeitlin
57c26f8210 use AlphaBlt() when blitting to a bitmap with alpha channel too (patch 991166)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 13:53:33 +00:00
Vadim Zeitlin
a6fd0fde4c update the disabled buttons appearance when system colours change (followup to patch 1027243)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 13:46:11 +00:00
Vadim Zeitlin
8093538cc5 oops, AdjustFontSize() had no effect; fixed (patch 1037952)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 13:38:22 +00:00
Vadim Zeitlin
6d067eb66a Metrowerks fixes after huge file patch (patch 1037951)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 13:36:46 +00:00
Ron Lee
6a9046db1e Use the same paranoia we already apply to lib lists we get from configure
to those we get from the user on the command line.  Bubble all duplicates
to occur at their last mention so static linking order is satified.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 12:13:02 +00:00
Vadim Zeitlin
0746037046 destroy any TLWs still alive when the app terminates (avoids problems with classes unregistering under MSW and memory leaks everywhere)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 12:11:19 +00:00
Julian Smart
2a3476f24d Updated version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 09:57:15 +00:00
Vadim Zeitlin
74c719ed96 fixes for Metrowerks command line compiler (avoid redefining stuff already defined by configure)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 23:19:07 +00:00
Vadim Zeitlin
413a490f94 Metrowerks doesn't have isascii()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 23:17:23 +00:00
Vadim Zeitlin
b5172775cf $#include "expat_config.h" instead of <expat_config.h> as the file is in current directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 23:16:18 +00:00
Václav Slavík
559f532de1 don't cd into utils/xrc if USE_XRC=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 22:10:44 +00:00
Václav Slavík
c62d80605f don't cd into utils/xrc if USE_XRC=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 21:55:11 +00:00
Vadim Zeitlin
bc525d0038 removed non-const wxDC accessors for pens, brushes, ... (bug 1039169)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 21:30:00 +00:00
Vadim Zeitlin
b17f6a307a only use __attribute__(regparm) for x86, this results in warnings under other platforms (e.g. PPC)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 20:52:53 +00:00
Vadim Zeitlin
ba3d13e1c8 use AC_LINK to check for va_copy, not AC_COMPILE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 20:31:34 +00:00
Ryan Norton
6a8b0d4586 warning for 2.5.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 19:19:55 +00:00
Vadim Zeitlin
8fa53e0eee added tests for va_copy and va_list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 18:33:34 +00:00
Vadim Zeitlin
d85cfb3784 added wxVaCopy() and use it to fix wxVsnprintf() crash (see bug 1017651)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 18:32:31 +00:00
Vadim Zeitlin
ebb97a41da fixed dll import specification of wxGetHInstance()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 16:21:38 +00:00
Vadim Zeitlin
57e075e99a removed trailing comma from enum (gcc 3.4 compilation fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 16:12:15 +00:00
Václav Slavík
3747d6c0d5 generated resources code doesn't have to include <wx/wx.h>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 15:30:32 +00:00